Fawkes API
Fawkes Development Version
|
YUV color space demo. More...
Public Member Functions | |
YUVSpaceDemo (unsigned char *yuv_buffer) | |
Constructor. More... | |
void | fill () |
Fill buffer. More... | |
void | brightness_up (unsigned int val=1) |
Increase brightness. More... | |
void | brightness_down (unsigned int val=1) |
Decrease brightness. More... | |
int | get_brightness () const |
Get Brightness. More... | |
YUV color space demo.
This class fills the given buffer of the size 512x512.
Definition at line 39 of file show_yuv.cpp.
|
inline |
Constructor.
yuv_buffer | YUV422_PLANAR encoded buffer. |
Definition at line 45 of file show_yuv.cpp.
|
inline |
Decrease brightness.
val | value to decrease brightness by |
Definition at line 95 of file show_yuv.cpp.
Referenced by get_brightness().
|
inline |
Increase brightness.
val | value to increase brightness by |
Definition at line 79 of file show_yuv.cpp.
Referenced by get_brightness().
|
inline |
|
inline |
Get Brightness.
Definition at line 110 of file show_yuv.cpp.
References brightness_down(), brightness_up(), fill(), get_brightness(), and firevision::ImageDisplay::show().
Referenced by get_brightness().