xoreos  0.0.5
Classes | Namespaces | Macros
yuv_to_rgb.cpp File Reference

Efficient YUV to RGB conversion. More...

#include "src/common/error.h"
#include "src/common/singleton.h"
#include "src/common/util.h"
#include "src/graphics/yuv_to_rgb.h"
Include dependency graph for yuv_to_rgb.cpp:

Go to the source code of this file.

Classes

class  Graphics::YUVToRGBLookup
 

Namespaces

 Graphics
 

Macros

#define PUT_PIXEL(s, a, d)
 

Detailed Description

Efficient YUV to RGB conversion.

Definition in file yuv_to_rgb.cpp.

Macro Definition Documentation

◆ PUT_PIXEL

#define PUT_PIXEL (   s,
  a,
 
)
Value:
L = &rgbToPix[(s)]; \
*((d)) = L[cb_b]; \
*((d) + 1) = L[crb_g]; \
*((d) + 2) = L[cr_r]; \
*((d) + 3) = (a)

Definition at line 192 of file yuv_to_rgb.cpp.

Referenced by Graphics::YUVToRGBManager::convert420().