Arm-2D  
2D Image Processing Library for Cortex-M Processors
arm_2d_color_rgba8888_t Union Reference

In most cases four equal-sized pieces of adjacent memory are used, ! one for each channel, and a 0 in a channel indicates black color or ! transparent alpha, while all-1 bits indicates white or fully opaque ! alpha. By far the most common format is to store 8 bits (one byte) ! for each channel, which is 32 bits for each pixel. ! ! (source: https://en.wikipedia.org/wiki/RGBA_color_model#ARGB32) More...

#include <arm_2d_types.h>

Data Fields

uint32_t tValue
 
struct {
uint32_t u8R: 8
 
uint32_t u8G: 8
 
uint32_t u8B: 8
 
uint32_t u8A: 8
 
}; 
 

Description

In most cases four equal-sized pieces of adjacent memory are used, ! one for each channel, and a 0 in a channel indicates black color or ! transparent alpha, while all-1 bits indicates white or fully opaque ! alpha. By far the most common format is to store 8 bits (one byte) ! for each channel, which is 32 bits for each pixel. ! ! (source: https://en.wikipedia.org/wiki/RGBA_color_model#ARGB32)

Field Documentation

◆ tValue

uint32_t arm_2d_color_rgba8888_t::tValue

◆ 

struct { ... } arm_2d_color_rgba8888_t::@6