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 (Macroblock *currMB, ColorPlane pl)
static int intra16x16_vert_pred (Macroblock *currMB, ColorPlane pl)
static int intra16x16_hor_pred (Macroblock *currMB, ColorPlane pl)
static int intra16x16_plane_pred (Macroblock *currMB, ColorPlane pl)
int intrapred16x16 (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 ( 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)

Definition at line 32 of file intra16x16_pred.c.

References macroblock::p_Img, and macroblock::p_Slice.

Referenced by intrapred16x16().

static int intra16x16_hor_pred ( 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)

Definition at line 155 of file intra16x16_pred.c.

References error(), macroblock::p_Img, and macroblock::p_Slice.

Referenced by intrapred16x16().

Here is the call graph for this function:

static int intra16x16_plane_pred ( 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)

Definition at line 210 of file intra16x16_pred.c.

References error(), macroblock::p_Img, and macroblock::p_Slice.

Referenced by intrapred16x16().

Here is the call graph for this function:

static int intra16x16_vert_pred ( 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)

Definition at line 110 of file intra16x16_pred.c.

References error(), macroblock::p_Img, and macroblock::p_Slice.

Referenced by intrapred16x16().

Here is the call graph for this function:

int intrapred16x16 ( 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:
currMB Current Macroblock
pl Current colorplane (for 4:4:4)
predmode prediction mode

Definition at line 289 of file intra16x16_pred.c.

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

Referenced by decode_one_component_b_slice(), decode_one_component_i_slice(), and decode_one_component_p_slice().

Here is the call graph for this function:


Documentation generated with DoxyGen