#include "global.h"
#include "intra16x16_pred.h"
#include "mb_access.h"
#include "image.h"
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) |
Definition in file intra16x16_pred.c.
static int intra16x16_dc_pred | ( | Macroblock * | currMB, | |
ColorPlane | pl | |||
) | [inline, static] |
makes and returns 16x16 DC prediction mode
< 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
< 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().
static int intra16x16_plane_pred | ( | Macroblock * | currMB, | |
ColorPlane | pl | |||
) | [inline, static] |
makes and returns 16x16 horizontal prediction mode
< 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().
static int intra16x16_vert_pred | ( | Macroblock * | currMB, | |
ColorPlane | pl | |||
) | [inline, static] |
makes and returns 16x16 vertical prediction mode
< 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().
int intrapred16x16 | ( | Macroblock * | currMB, | |
ColorPlane | pl, | |||
int | predmode | |||
) |
makes and returns 16x16 intra prediction blocks
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().