Component color encoding. More...
#include <vidl_color.h>
Public Types | |
typedef vidl_pixel_traits_of < FMT >::type | cmp_type |
Static Public Member Functions | |
static cmp_type | get (const cmp_type *ptr, unsigned int i) |
static void | get_all (const cmp_type *ptr, cmp_type *data) |
static void | set (cmp_type *ptr, unsigned int i, cmp_type val) |
static void | set_all (cmp_type *ptr, const cmp_type *data) |
Component color encoding.
These functions indicate how to extract a byte for each color channel given a pointer to the pixel memory This is only meant for non-planar non-packed formats
Definition at line 566 of file vidl_color.h.
typedef vidl_pixel_traits_of<FMT>::type vidl_color_component< FMT >::cmp_type |
Definition at line 568 of file vidl_color.h.
static cmp_type vidl_color_component< FMT >::get | ( | const cmp_type * | ptr, |
unsigned int | i | ||
) | [inline, static] |
Definition at line 570 of file vidl_color.h.
static void vidl_color_component< FMT >::get_all | ( | const cmp_type * | ptr, |
cmp_type * | data | ||
) | [inline, static] |
Definition at line 577 of file vidl_color.h.
static void vidl_color_component< FMT >::set | ( | cmp_type * | ptr, |
unsigned int | i, | ||
cmp_type | val | ||
) | [inline, static] |
Definition at line 583 of file vidl_color.h.
static void vidl_color_component< FMT >::set_all | ( | cmp_type * | ptr, |
const cmp_type * | data | ||
) | [inline, static] |
Definition at line 590 of file vidl_color.h.