58 return p->r.size + p->b.size + p->g.size + p->a.size;
L4 compiler related defines.
#define L4_CV
Define calling convention.
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
#define L4_INLINE
L4 Inline function attribute.
#define EXTERN_C_BEGIN
Start section with C types and functions.
#define EXTERN_C_END
End section with C types and functions.
Color component structure.
unsigned char size
Size in bits.
unsigned char shift
offset in pixel
l4re_video_color_component_t a
Colors.
unsigned char bytes_per_pixel
Bytes per pixel.