#include "contributors.h"
#include "global.h"
#include "memalloc.h"
#include "img_distortion.h"
Go to the source code of this file.
Defines | |
#define | YUV2RGB_YOFFSET |
#define | OFFSET_Y 16 |
Functions | |
int | create_RGB_memory (ImageParameters *p_Img) |
void | delete_RGB_memory (ImageParameters *p_Img) |
void | init_YUVtoRGB (ImageParameters *p_Img, InputParameters *p_Inp) |
void | YUVtoRGB (ImageParameters *p_Img, ImageStructure *YUV, ImageStructure *RGB) |
Variables | |
static const float | K0 = 1.164f |
static const float | K1 = 1.596f |
static const float | K2 = 0.391f |
static const float | K3 = 0.813f |
static const float | K4 = 2.018f |
Definition in file cconv_yuv2rgb.c.
void YUVtoRGB | ( | ImageParameters * | p_Img, | |
ImageStructure * | YUV, | |||
ImageStructure * | RGB | |||
) |
YUV to RGB conversion ITU 601 with and without offset consideration Upsampling by repetition of chroma samples in case of 4:2:0 and 4:2:2 Method not support for 4:0:0 content.
Definition at line 91 of file cconv_yuv2rgb.c.
References YUV444.