Public Types | Static Public Member Functions
vidl_color_component< FMT > Struct Template Reference

Component color encoding. More...

#include <vidl_color.h>

List of all members.

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)

Detailed Description

template<vidl_pixel_format FMT>
struct vidl_color_component< FMT >

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.


Member Typedef Documentation

template<vidl_pixel_format FMT>
typedef vidl_pixel_traits_of<FMT>::type vidl_color_component< FMT >::cmp_type

Definition at line 568 of file vidl_color.h.


Member Function Documentation

template<vidl_pixel_format FMT>
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.

template<vidl_pixel_format FMT>
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.

template<vidl_pixel_format FMT>
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.

template<vidl_pixel_format FMT>
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.


The documentation for this struct was generated from the following file: