RV30/40 bitstream parsing

Decode macroblock header and return CBP in case of success, -1 otherwise. More...


Functions

int ff_rv34_get_start_offset (GetBitContext *gb, int mb_size)
 Decode starting slice position.
static RV34VLCchoose_vlc_set (int quant, int mod, int type)
 Select VLC set for decoding from current quantizer, modifier and frame type.
static int rv34_decode_dquant (GetBitContext *gb, int quant)
 Decode quantizer difference and return modified quantizer.


Detailed Description

Decode macroblock header and return CBP in case of success, -1 otherwise.

Function Documentation

static RV34VLC* choose_vlc_set ( int  quant,
int  mod,
int  type 
) [inline, static]

Select VLC set for decoding from current quantizer, modifier and frame type.

Definition at line 380 of file rv34.c.

Referenced by rv34_decode_macroblock(), and rv34_decode_mb_header().

int ff_rv34_get_start_offset ( GetBitContext gb,
int  mb_size 
)

Decode starting slice position.

common decoding functions

Todo:
Maybe replace with ff_h263_decode_mba() ?

Definition at line 368 of file rv34.c.

Referenced by rv30_parse_slice_header(), and rv40_parse_slice_header().

static int rv34_decode_dquant ( GetBitContext gb,
int  quant 
) [inline, static]

Decode quantizer difference and return modified quantizer.

Definition at line 391 of file rv34.c.


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