YUV color space demo.
More...
YUV color space demo.
This class fills the given buffer of the size 512x512.
- Author
- Tim Niemueller
Definition at line 38 of file show_yuv.cpp.
◆ YUVSpaceDemo()
YUVSpaceDemo::YUVSpaceDemo |
( |
unsigned char * |
yuv_buffer | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
yuv_buffer | YUV422_PLANAR encoded buffer. |
Definition at line 44 of file show_yuv.cpp.
◆ brightness_down()
void YUVSpaceDemo::brightness_down |
( |
unsigned int |
val = 1 | ) |
|
|
inline |
Decrease brightness.
- Parameters
-
val | value to decrease brightness by |
Definition at line 96 of file show_yuv.cpp.
◆ brightness_up()
void YUVSpaceDemo::brightness_up |
( |
unsigned int |
val = 1 | ) |
|
|
inline |
Increase brightness.
- Parameters
-
val | value to increase brightness by |
Definition at line 79 of file show_yuv.cpp.
◆ fill()
void YUVSpaceDemo::fill |
( |
| ) |
|
|
inline |
◆ get_brightness()
int YUVSpaceDemo::get_brightness |
( |
| ) |
const |
|
inline |
Get Brightness.
- Returns
- current brightness
Definition at line 113 of file show_yuv.cpp.
The documentation for this class was generated from the following file: