Fawkes API  Fawkes Development Version
YUVSpaceDemo Class Reference

YUV color space demo. More...

List of all members.

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.

Author:
Tim Niemueller

Constructor & Destructor Documentation

YUVSpaceDemo::YUVSpaceDemo ( unsigned char *  yuv_buffer) [inline]

Constructor.

Parameters:
yuv_bufferYUV422_PLANAR encoded buffer.

Definition at line 45 of file show_yuv.cpp.


Member Function Documentation

void YUVSpaceDemo::brightness_down ( unsigned int  val = 1) [inline]

Decrease brightness.

Parameters:
valvalue to decrease brightness by

Definition at line 95 of file show_yuv.cpp.

void YUVSpaceDemo::brightness_up ( unsigned int  val = 1) [inline]

Increase brightness.

Parameters:
valvalue 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.


The documentation for this class was generated from the following file: