the colour type for rgb888 (compliant with ccca888 and bgra8888) More...
#include <arm_2d_types.h>
Data Fields | |
uint32_t | tValue |
struct { | |
uint32_t | u8B: 8 |
uint32_t | u8G: 8 |
uint32_t | u8R: 8 |
}; | |
the colour type for rgb888 (compliant with ccca888 and bgra8888)
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)
uint32_t arm_2d_color_rgb888_t::tValue |
struct { ... } arm_2d_color_rgb888_t::@8 |