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