YUV color space demo. More...
Public Member Functions | |
| YUVSpaceDemo (unsigned char *yuv_buffer) | |
| Constructor. | |
| void | fill () |
| Fill buffer. | |
| void | brightness_up (unsigned int val=1) |
| Increase brightness. | |
| void | brightness_down (unsigned int val=1) |
| Decrease brightness. | |
YUV color space demo.
This class fills the given buffer of the size 512x512.
Definition at line 39 of file show_yuv.cpp.
| YUVSpaceDemo::YUVSpaceDemo | ( | unsigned char * | yuv_buffer | ) | [inline] |
Constructor.
| yuv_buffer | YUV422_PLANAR encoded buffer. |
Definition at line 45 of file show_yuv.cpp.
| void YUVSpaceDemo::brightness_down | ( | unsigned int | val = 1 |
) | [inline] |
Decrease brightness.
| val | value to decrease brightness by |
Definition at line 95 of file show_yuv.cpp.
| void YUVSpaceDemo::brightness_up | ( | unsigned int | val = 1 |
) | [inline] |
Increase brightness.
| val | value to increase brightness by |
Definition at line 79 of file show_yuv.cpp.
| void YUVSpaceDemo::fill | ( | ) | [inline] |
Fill buffer.
Definition at line 53 of file show_yuv.cpp.
1.7.1