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.

Variables

unsigned SBRData::bs_frame_class
unsigned SBRData::bs_add_harmonic_flag
unsigned SBRData::bs_num_env
uint8_t SBRData::bs_freq_res [7]
unsigned SBRData::bs_num_noise
uint8_t SBRData::bs_df_env [5]
uint8_t SBRData::bs_df_noise [2]
uint8_t SBRData::bs_invf_mode [2][5]
uint8_t SBRData::bs_add_harmonic [48]
unsigned SBRData::bs_amp_res


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 416 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 404 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 427 of file rv34.c.


Variable Documentation

uint8_t SBRData::bs_add_harmonic[48] [inherited]

unsigned SBRData::bs_add_harmonic_flag [inherited]

unsigned SBRData::bs_amp_res [inherited]

Definition at line 73 of file sbr.h.

Referenced by copy_sbr_grid(), read_sbr_envelope(), read_sbr_grid(), and sbr_dequant().

uint8_t SBRData::bs_df_env[5] [inherited]

Definition at line 69 of file sbr.h.

Referenced by read_sbr_dtdf(), and read_sbr_envelope().

uint8_t SBRData::bs_df_noise[2] [inherited]

Definition at line 70 of file sbr.h.

Referenced by read_sbr_dtdf(), and read_sbr_noise().

unsigned SBRData::bs_frame_class [inherited]

Definition at line 64 of file sbr.h.

Referenced by copy_sbr_grid(), and read_sbr_grid().

uint8_t SBRData::bs_freq_res[7] [inherited]

uint8_t SBRData::bs_invf_mode[2][5] [inherited]

Definition at line 71 of file sbr.h.

Referenced by read_sbr_channel_pair_element(), read_sbr_invf(), and sbr_chirp().

unsigned SBRData::bs_num_env [inherited]

unsigned SBRData::bs_num_noise [inherited]


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