RV30/40 4x4 block decoding functions


Functions

static int rv34_decode_cbp (GetBitContext *gb, RV34VLC *vlc, int table)
 Decode coded block pattern.
static void decode_coeff (DCTELEM *dst, int coef, int esc, GetBitContext *gb, VLC *vlc)
 Get one coefficient value from the bistream and store it.
static void decode_subblock (DCTELEM *dst, int code, const int is_block2, GetBitContext *gb, VLC *vlc)
 Decode 2x2 subblock of coefficients.
static void rv34_decode_block (DCTELEM *dst, GetBitContext *gb, RV34VLC *rvlc, int fc, int sc)
 Decode coefficients for 4x4 block.
static void rv34_dequant4x4 (DCTELEM *block, int Qdc, int Q)
 Dequantize ordinary 4x4 block.
static void rv34_dequant4x4_16x16 (DCTELEM *block, int Qdc, int Q)
 Dequantize 4x4 block of DC values for 16x16 macroblock.

Function Documentation

static void decode_coeff ( DCTELEM dst,
int  coef,
int  esc,
GetBitContext gb,
VLC vlc 
) [inline, static]

Get one coefficient value from the bistream and store it.

Definition at line 253 of file rv34.c.

Referenced by decode_subblock().

static void decode_subblock ( DCTELEM dst,
int  code,
const int  is_block2,
GetBitContext gb,
VLC vlc 
) [inline, static]

Decode 2x2 subblock of coefficients.

Definition at line 273 of file rv34.c.

Referenced by rv34_decode_block().

static void rv34_decode_block ( DCTELEM dst,
GetBitContext gb,
RV34VLC rvlc,
int  fc,
int  sc 
) [inline, static]

Decode coefficients for 4x4 block.

This is done by filling 2x2 subblocks with decoded coefficients in this order (the same for subblocks and subblock coefficients): o--o / / o--o

Definition at line 303 of file rv34.c.

Referenced by rv34_decode_macroblock().

static int rv34_decode_cbp ( GetBitContext gb,
RV34VLC vlc,
int  table 
) [static]

Decode coded block pattern.

Definition at line 220 of file rv34.c.

Referenced by rv34_decode_mb_header().

static void rv34_dequant4x4 ( DCTELEM block,
int  Qdc,
int  Q 
) [inline, static]

Dequantize ordinary 4x4 block.

Todo:
optimize

Definition at line 333 of file rv34.c.

Referenced by rv34_decode_macroblock().

static void rv34_dequant4x4_16x16 ( DCTELEM block,
int  Qdc,
int  Q 
) [inline, static]

Dequantize 4x4 block of DC values for 16x16 macroblock.

Todo:
optimize

Definition at line 347 of file rv34.c.

Referenced by rv34_decode_macroblock().


Generated on Fri Oct 26 02:35:46 2012 for FFmpeg by  doxygen 1.5.8