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 38 of file show_yuv.cpp.
|
inlineexplicit |
Constructor.
yuv_buffer | YUV422_PLANAR encoded buffer. |
Definition at line 44 of file show_yuv.cpp.
|
inline |
Decrease brightness.
val | value to decrease brightness by |
Definition at line 96 of file show_yuv.cpp.
References fill().
|
inline |
Increase brightness.
val | value to increase brightness by |
Definition at line 79 of file show_yuv.cpp.
References fill().
|
inline |
Fill buffer.
Definition at line 52 of file show_yuv.cpp.
Referenced by brightness_down(), and brightness_up().
|
inline |