cconv_yuv2rgb.c File Reference

YUV to RGB color conversion. More...

#include "contributors.h"
#include "global.h"
#include "memalloc.h"
#include "img_distortion.h"

Include dependency graph for cconv_yuv2rgb.c:

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


Detailed Description

YUV to RGB color conversion.

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file cconv_yuv2rgb.c.


Function Documentation

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.


Documentation generated with DoxyGen