Fawkes API  Fawkes Development Version
firevision::YUV_t_struct Struct Reference

YUV pixel. More...

#include <yuv.h>

Public Member Functions

 YUV_t_struct (unsigned char y=127, unsigned char u=127, unsigned char v=127)
 Standard constructor. More...
 

Static Public Member Functions

static YUV_t_struct white ()
 
static YUV_t_struct black ()
 
static YUV_t_struct green ()
 
static YUV_t_struct cyan ()
 
static YUV_t_struct magenta ()
 
static YUV_t_struct gray ()
 
static YUV_t_struct orange ()
 
static YUV_t_struct yellow ()
 
static YUV_t_struct blue ()
 
static YUV_t_struct red ()
 

Public Attributes

unsigned char Y
 Y component. More...
 
unsigned char U
 U component. More...
 
unsigned char V
 V component. More...
 

Detailed Description

YUV pixel.

Definition at line 56 of file yuv.h.

Constructor & Destructor Documentation

firevision::YUV_t_struct::YUV_t_struct ( unsigned char  y = 127,
unsigned char  u = 127,
unsigned char  v = 127 
)
inline

Standard constructor.

Parameters
yY component
uU component
vV component

Definition at line 66 of file yuv.h.

Member Function Documentation

static YUV_t_struct firevision::YUV_t_struct::black ( )
inlinestatic
Returns
black color

Definition at line 74 of file yuv.h.

Referenced by firevision::FieldDrawer::FieldDrawer().

static YUV_t_struct firevision::YUV_t_struct::blue ( )
inlinestatic
Returns
blue color

Definition at line 81 of file yuv.h.

static YUV_t_struct firevision::YUV_t_struct::cyan ( )
inlinestatic
Returns
cyan color

Definition at line 76 of file yuv.h.

Referenced by firevision::FieldDrawer::FieldDrawer().

static YUV_t_struct firevision::YUV_t_struct::gray ( )
inlinestatic
Returns
gray color

Definition at line 78 of file yuv.h.

static YUV_t_struct firevision::YUV_t_struct::green ( )
inlinestatic
Returns
green color

Definition at line 75 of file yuv.h.

Referenced by firevision::FieldDrawer::FieldDrawer().

static YUV_t_struct firevision::YUV_t_struct::magenta ( )
inlinestatic
Returns
magenta color

Definition at line 77 of file yuv.h.

static YUV_t_struct firevision::YUV_t_struct::orange ( )
inlinestatic
Returns
orange color

Definition at line 79 of file yuv.h.

static YUV_t_struct firevision::YUV_t_struct::red ( )
inlinestatic
Returns
red color

Definition at line 82 of file yuv.h.

static YUV_t_struct firevision::YUV_t_struct::white ( )
inlinestatic
Returns
white color

Definition at line 73 of file yuv.h.

Referenced by firevision::FieldDrawer::FieldDrawer().

static YUV_t_struct firevision::YUV_t_struct::yellow ( )
inlinestatic
Returns
yellow color

Definition at line 80 of file yuv.h.

Referenced by firevision::FieldDrawer::FieldDrawer().

Member Data Documentation


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