#include <yuva_to_rgba.h>
List of all members.
Public Types |
enum | LuminanceScale { kScaleFull,
kScaleITU
} |
| The scale of the luminance values.
More...
|
Public Member Functions |
void | convert420 (Graphics::Surface *dst, LuminanceScale scale, const byte *ySrc, const byte *uSrc, const byte *vSrc, const byte *aSrc, int yWidth, int yHeight, int yPitch, int uvPitch) |
| Convert a YUV420 image to an RGB surface.
|
Private Member Functions |
| YUVAToRGBAManager () |
| ~YUVAToRGBAManager () |
const YUVAToRGBALookup * | getLookup (Graphics::PixelFormat format, LuminanceScale scale) |
Private Attributes |
YUVAToRGBALookup * | _lookup |
int16 | _colorTab [4 *256] |
Friends |
class | Common::Singleton< SingletonBaseType > |
Detailed Description
Definition at line 42 of file yuva_to_rgba.h.
Member Enumeration Documentation
The scale of the luminance values.
- Enumerator:
kScaleFull |
|
kScaleITU |
Luminance values range from [0, 255].
Luminance values range from [16, 235], the range from ITU-R BT.601
|
Definition at line 45 of file yuva_to_rgba.h.
Constructor & Destructor Documentation
Graphics::YUVAToRGBAManager::YUVAToRGBAManager |
( |
|
) |
[private] |
Graphics::YUVAToRGBAManager::~YUVAToRGBAManager |
( |
|
) |
[private] |
Member Function Documentation
Convert a YUV420 image to an RGB surface.
- Parameters:
-
| dst | the destination surface |
| scale | the scale of the luminance values |
| ySrc | the source of the y component |
| uSrc | the source of the u component |
| vSrc | the source of the v component |
| aSrc | the source of the a component |
| yWidth | the width of the y surface (must be divisible by 2) |
| yHeight | the height of the y surface (must be divisible by 2) |
| yPitch | the pitch of the y surface |
| uvPitch | the pitch of the u and v surfaces |
Definition at line 249 of file yuva_to_rgba.cpp.
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following files: