Macroblock reconstruction functions


Defines

#define LUMA_CBP_BLOCK_MASK   0x33
 mask for retrieving all bits in coded block pattern corresponding to one 8x8 block
#define U_CBP_MASK   0x0F0000
#define V_CBP_MASK   0xF00000

Functions

static void rv34_pred_4x4_block (RV34DecContext *r, uint8_t *dst, int stride, int itype, int up, int left, int down, int right)
 Perform 4x4 intra prediction.
static void rv34_add_4x4_block (uint8_t *dst, int stride, DCTELEM block[64], int off)
 add_pixels_clamped for 4x4 block
static int adjust_pred16 (int itype, int up, int left)
static void rv34_output_macroblock (RV34DecContext *r, int8_t *intra_types, int cbp, int is16)
static void rv34_apply_differences (RV34DecContext *r, int cbp)
static int is_mv_diff_gt_3 (int16_t(*motion_val)[2], int step)
static int rv34_set_deblock_coef (RV34DecContext *r)
static int rv34_decode_macroblock (RV34DecContext *r, int8_t *intra_types)
static int check_slice_end (RV34DecContext *r, MpegEncContext *s)
static int slice_compare (SliceInfo *si1, SliceInfo *si2)
static int rv34_decode_slice (RV34DecContext *r, int end, const uint8_t *buf, int buf_size)

Variables

static const int ittrans [9]
 mapping of RV30/40 intra prediction types to standard H.264 types
static const int ittrans16 [4]
 mapping of RV30/40 intra 16x16 prediction types to standard H.264 types

Define Documentation

#define LUMA_CBP_BLOCK_MASK   0x33

mask for retrieving all bits in coded block pattern corresponding to one 8x8 block

Definition at line 1107 of file rv34.c.

Referenced by rv34_apply_differences().

#define U_CBP_MASK   0x0F0000

Definition at line 1109 of file rv34.c.

Referenced by rv34_apply_differences().

#define V_CBP_MASK   0xF00000

Definition at line 1110 of file rv34.c.

Referenced by rv34_apply_differences().


Function Documentation

static int adjust_pred16 ( int  itype,
int  up,
int  left 
) [inline, static]

Definition at line 941 of file rv34.c.

Referenced by rv34_output_macroblock().

static int check_slice_end ( RV34DecContext r,
MpegEncContext s 
) [static]

Definition at line 1246 of file rv34.c.

Referenced by rv34_decode_slice().

static int is_mv_diff_gt_3 ( int16_t(*)  motion_val[2],
int  step 
) [static]

Definition at line 1128 of file rv34.c.

Referenced by rv34_set_deblock_coef().

static void rv34_add_4x4_block ( uint8_t *  dst,
int  stride,
DCTELEM  block[64],
int  off 
) [static]

add_pixels_clamped for 4x4 block

Definition at line 933 of file rv34.c.

Referenced by rv34_output_macroblock().

static void rv34_apply_differences ( RV34DecContext r,
int  cbp 
) [static]

Definition at line 1113 of file rv34.c.

Referenced by rv34_decode_macroblock().

static int rv34_decode_macroblock ( RV34DecContext r,
int8_t *  intra_types 
) [static]

Definition at line 1170 of file rv34.c.

Referenced by rv34_decode_slice().

static int rv34_decode_slice ( RV34DecContext r,
int  end,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 1270 of file rv34.c.

Referenced by ff_rv34_decode_frame().

static void rv34_output_macroblock ( RV34DecContext r,
int8_t *  intra_types,
int  cbp,
int  is16 
) [static]

Definition at line 957 of file rv34.c.

Referenced by rv34_decode_macroblock().

static void rv34_pred_4x4_block ( RV34DecContext r,
uint8_t *  dst,
int  stride,
int  itype,
int  up,
int  left,
int  down,
int  right 
) [static]

Perform 4x4 intra prediction.

Definition at line 905 of file rv34.c.

Referenced by rv34_output_macroblock().

static int rv34_set_deblock_coef ( RV34DecContext r  )  [static]

Definition at line 1140 of file rv34.c.

Referenced by rv34_decode_macroblock().

static int slice_compare ( SliceInfo si1,
SliceInfo si2 
) [inline, static]

Definition at line 1261 of file rv34.c.


Variable Documentation

const int ittrans[9] [static]

Initial value:

mapping of RV30/40 intra prediction types to standard H.264 types

Definition at line 892 of file rv34.c.

const int ittrans16[4] [static]

Initial value:

mapping of RV30/40 intra 16x16 prediction types to standard H.264 types

Definition at line 898 of file rv34.c.


Generated on Fri Oct 26 02:36:56 2012 for FFmpeg by  doxygen 1.5.8