intra16x16_pred.c File Reference

Functions for intra 8x8 prediction. More...

#include "global.h"
#include "intra16x16_pred.h"
#include "mb_access.h"
#include "image.h"

Include dependency graph for intra16x16_pred.c:

Go to the source code of this file.

Functions

static int intra16x16_dc_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl)
static int intra16x16_vert_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl)
static int intra16x16_hor_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl)
static int intra16x16_plane_pred (ImageParameters *img, Macroblock *currMB, ColorPlane pl)
int intrapred16x16 (ImageParameters *img, Macroblock *currMB, ColorPlane pl, int predmode)


Detailed Description

Functions for intra 8x8 prediction.

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

Definition in file intra16x16_pred.c.


Function Documentation

static int intra16x16_dc_pred ( ImageParameters *  img,
Macroblock *  currMB,
ColorPlane  pl 
) [inline, static]

makes and returns 16x16 DC prediction mode

Returns:
DECODING_OK decoding of intraprediction mode was sucessfull

< pixel position p(0,-1)

< pixel positions p(-1, -1..15)

Parameters:
img  image parameters

Definition at line 32 of file intra16x16_pred.c.

References storable_picture::imgUV, and storable_picture::imgY.

Referenced by intrapred16x16().

static int intra16x16_hor_pred ( ImageParameters *  img,
Macroblock *  currMB,
ColorPlane  pl 
) [inline, static]

makes and returns 16x16 horizontal prediction mode

Returns:
DECODING_OK decoding of intraprediction mode was sucessfull

< pixel positions p(-1, -1..15)

Parameters:
img  image parameters

Definition at line 151 of file intra16x16_pred.c.

References error(), storable_picture::imgUV, and storable_picture::imgY.

Referenced by intrapred16x16().

Here is the call graph for this function:

static int intra16x16_plane_pred ( ImageParameters *  img,
Macroblock *  currMB,
ColorPlane  pl 
) [inline, static]

makes and returns 16x16 horizontal prediction mode

Returns:
DECODING_OK decoding of intraprediction mode was sucessfull

< pixel position p(0,-1)

< pixel positions p(-1, -1..15)

Parameters:
img  image parameters

Definition at line 205 of file intra16x16_pred.c.

References error(), storable_picture::imgUV, and storable_picture::imgY.

Referenced by intrapred16x16().

Here is the call graph for this function:

static int intra16x16_vert_pred ( ImageParameters *  img,
Macroblock *  currMB,
ColorPlane  pl 
) [inline, static]

makes and returns 16x16 vertical prediction mode

Returns:
DECODING_OK decoding of intraprediction mode was sucessfull

< pixel position p(0,-1)

Parameters:
img  image parameters

Definition at line 108 of file intra16x16_pred.c.

References error(), storable_picture::imgUV, and storable_picture::imgY.

Referenced by intrapred16x16().

Here is the call graph for this function:

int intrapred16x16 ( ImageParameters *  img,
Macroblock *  currMB,
ColorPlane  pl,
int  predmode 
)

makes and returns 16x16 intra prediction blocks

Returns:
DECODING_OK decoding of intraprediction mode was sucessfull
SEARCH_SYNC search next sync element as errors while decoding occured
Parameters:
img  image parameters
currMB  Current Macroblock
pl  Current colorplane (for 4:4:4)
predmode  prediction mode

Definition at line 282 of file intra16x16_pred.c.

References intra16x16_dc_pred(), intra16x16_hor_pred(), intra16x16_plane_pred(), and intra16x16_vert_pred().

Referenced by decode_one_component().

Here is the call graph for this function:


Documentation generated with DoxyGen