YUVSpaceDemo Class Reference
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. | |
Detailed Description
YUV color space demo.This class fills the given buffer of the size 512x512.
Definition at line 38 of file show_yuv.cpp.
Constructor & Destructor Documentation
| YUVSpaceDemo::YUVSpaceDemo | ( | unsigned char * | yuv_buffer | ) | [inline] |
Constructor.
- Parameters:
-
yuv_buffer YUV422_PLANAR encoded buffer.
Definition at line 44 of file show_yuv.cpp.
Member Function Documentation
| void YUVSpaceDemo::brightness_down | ( | unsigned int | val = 1 |
) | [inline] |
Decrease brightness.
- Parameters:
-
val value to decrease brightness by
Definition at line 94 of file show_yuv.cpp.
References fill().
| void YUVSpaceDemo::brightness_up | ( | unsigned int | val = 1 |
) | [inline] |
Increase brightness.
- Parameters:
-
val value to increase brightness by
Definition at line 78 of file show_yuv.cpp.
References fill().
| void YUVSpaceDemo::fill | ( | ) | [inline] |
Fill buffer.
Definition at line 52 of file show_yuv.cpp.
Referenced by brightness_down(), and brightness_up().
The documentation for this class was generated from the following file:
- src/firevision/tools/show_yuv.cpp

