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 (int size_x_minus1, int size_y_minus1, imgpel **wImgDst, imgpel **imgUV)
static void generateChroma01 (int size_x_minus1, int size_y_minus1, int weight00, int weight01, imgpel **wImgDst, imgpel **imgUV)
static void generateChroma10 (int size_x_minus1, int size_y_minus1, int weight00, int weight10, imgpel **wImgDst, imgpel **imgUV)
static void generateChromaXX (int size_x_minus1, int size_y_minus1, int weight00, int weight01, int weight10, int weight11, imgpel **wImgDst, imgpel **imgUV)
void getSubImagesChroma (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 ( 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 ( 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 110 of file img_chroma.c.

Referenced by getSubImagesChroma().

static void generateChroma10 ( 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 198 of file img_chroma.c.

Referenced by getSubImagesChroma().

static void generateChromaXX ( 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 283 of file img_chroma.c.

Referenced by getSubImagesChroma().

void getSubImagesChroma ( 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.

Parameters:
s pointer to StorablePicture structure s************************************************************************

Definition at line 384 of file img_chroma.c.

References generateChroma00(), generateChroma01(), generateChroma10(), generateChromaXX(), storable_picture::imgUV, storable_picture::imgUV_sub, storable_picture::size_x_cr, storable_picture::size_y_cr, YUV420, YUV422, and ImageParameters::yuv_format.

Referenced by UnifiedOneForthPix().

Here is the call graph for this function:


Documentation generated with DoxyGen