img_chroma.c File Reference

Chroma interpolation functions. More...

#include "contributors.h"
#include <limits.h>
#include "global.h"
#include "image.h"
#include "img_chroma.h"

Include dependency graph for img_chroma.c:

Go to the source code of this file.

Functions

static void generateChroma00 (ImageParameters *p_Img, int size_x_minus1, int size_y_minus1, imgpel **wImgDst, imgpel **imgUV)
static void generateChroma01 (ImageParameters *p_Img, int size_x_minus1, int size_y_minus1, int weight00, int weight01, imgpel **wImgDst, imgpel **imgUV)
static void generateChroma10 (ImageParameters *p_Img, int size_x_minus1, int size_y_minus1, int weight00, int weight10, imgpel **wImgDst, imgpel **imgUV)
static void generateChromaXX (ImageParameters *p_Img, int size_x_minus1, int size_y_minus1, int weight00, int weight01, int weight10, int weight11, imgpel **wImgDst, imgpel **imgUV)
void getSubImagesChroma (ImageParameters *p_Img, InputParameters *p_Inp, StorablePicture *s)


Detailed Description

Chroma interpolation functions.

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

Definition in file img_chroma.c.


Function Documentation

static void generateChroma00 ( ImageParameters p_Img,
int  size_x_minus1,
int  size_y_minus1,
imgpel **  wImgDst,
imgpel **  imgUV 
) [static]

Integer sample position image generation routine.

Definition at line 32 of file img_chroma.c.

Referenced by getSubImagesChroma().

static void generateChroma01 ( ImageParameters p_Img,
int  size_x_minus1,
int  size_y_minus1,
int  weight00,
int  weight01,
imgpel **  wImgDst,
imgpel **  imgUV 
) [static]

Horizontal chroma interpolation image generation routine.

Definition at line 116 of file img_chroma.c.

Referenced by getSubImagesChroma().

static void generateChroma10 ( ImageParameters p_Img,
int  size_x_minus1,
int  size_y_minus1,
int  weight00,
int  weight10,
imgpel **  wImgDst,
imgpel **  imgUV 
) [static]

Vertical chroma interpolation image generation routine.

Definition at line 204 of file img_chroma.c.

Referenced by getSubImagesChroma().

static void generateChromaXX ( ImageParameters p_Img,
int  size_x_minus1,
int  size_y_minus1,
int  weight00,
int  weight01,
int  weight10,
int  weight11,
imgpel **  wImgDst,
imgpel **  imgUV 
) [static]

Generic/Diagonal chroma interpolation image generation routine.

Definition at line 289 of file img_chroma.c.

Referenced by getSubImagesChroma().

void getSubImagesChroma ( ImageParameters p_Img,
InputParameters p_Inp,
StorablePicture s 
)

Creates the 16 (YUV444), 32 (YUV422), or 64 (YUV420) sub-images that contain quarter-pel samples sub-sampled at different spatial orientationss; enables more efficient implementation.

Definition at line 387 of file img_chroma.c.

References generateChroma00(), generateChroma01(), generateChroma10(), generateChromaXX(), storable_picture::imgUV, storable_picture::p_img_sub, YUV420, and YUV422.

Referenced by UnifiedOneForthPix().

Here is the call graph for this function:


Documentation generated with DoxyGen