All VC9 profiles frame header

Part of the frame header decoding from all profiles. More...

Functions

static int decode_b_picture_primary_header (VC9Context *v)
static int decode_b_picture_secondary_header (VC9Context *v)
static int decode_i_picture_primary_header (VC9Context *v)
static int decode_i_picture_secondary_header (VC9Context *v)
static int decode_p_picture_primary_header (VC9Context *v)
static int decode_p_picture_secondary_header (VC9Context *v)

Detailed Description

Part of the frame header decoding from all profiles.

Warning:
Only pro/epilog differs between Simple/Main and Advanced => check caller

Function Documentation

static int decode_b_picture_primary_header ( VC9Context v  )  [static]

static int decode_b_picture_secondary_header ( VC9Context v  )  [static]

B and BI frame header decoding, secondary part

See also:
Tables 11+12, p62-65
Parameters:
v VC9 context
Returns:
Status
Warning:
Also handles BI frames

To call once all MB arrays are allocated

Todo:
Support Advanced Profile headers

Definition at line 1263 of file vc9.c.

References av_log(), AV_LOG_DEBUG, AV_LOG_INFO, MpegEncContext::avctx, bitplane_decoding(), VC9Context::cbpcy_vlc, VC9Context::direct_mb_plane, VC9Context::dquant, MpegEncContext::gb, get_bits(), VC9Context::mv_mode, MV_PMODE_MIXED_MV, MpegEncContext::mv_table_index, VC9Context::mv_type_mb_plane, VC9Context::s, VC9Context::skip_mb_plane, VC9Context::ttfrm, VC9Context::ttmbf, vop_dquant_decoding(), and VC9Context::vstransform.

Referenced by standard_decode_picture_secondary_header().

Here is the call graph for this function:

static int decode_i_picture_primary_header ( VC9Context v  )  [static]

I frame header decoding, primary part

See also:
Tables 5+7, p53-54 and 55-57
Parameters:
v VC9 context
Returns:
Status
Todo:
Support Advanced Profile headers

Definition at line 1323 of file vc9.c.

References av_log(), AV_LOG_DEBUG, MpegEncContext::avctx, MpegEncContext::gb, get_bits(), VC9Context::halfpq, VC9Context::pq, pquant_table, VC9Context::pquantizer, VC9Context::profile, PROFILE_ADVANCED, QUANT_FRAME_EXPLICIT, QUANT_FRAME_IMPLICIT, VC9Context::quantizer_mode, and VC9Context::s.

Referenced by standard_decode_picture_primary_header().

Here is the call graph for this function:

static int decode_i_picture_secondary_header ( VC9Context v  )  [static]

I frame header decoding, secondary part

Parameters:
v VC9 context
Returns:
Status
Warning:
Not called in A/S/C profiles, it seems
Todo:
Support Advanced Profile headers

Definition at line 1357 of file vc9.c.

References MpegEncContext::ac_pred, av_log(), AV_LOG_DEBUG, MpegEncContext::avctx, bitplane_decoding(), MpegEncContext::gb, get_bits(), VC9Context::overlap, VC9Context::pq, VC9Context::profile, PROFILE_ADVANCED, and VC9Context::s.

Here is the call graph for this function:

static int decode_p_picture_primary_header ( VC9Context v  )  [static]

static int decode_p_picture_secondary_header ( VC9Context v  )  [static]

P frame header decoding, secondary part

See also:
Tables 5+7, p53-54 and 55-57
Parameters:
v VC9 context
Warning:
To call once all MB arrays are allocated
Returns:
Status

Definition at line 1440 of file vc9.c.

References av_log(), AV_LOG_DEBUG, AV_LOG_INFO, MpegEncContext::avctx, bitplane_decoding(), VC9Context::cbpcy_vlc, VC9Context::dquant, MpegEncContext::gb, get_bits(), VC9Context::mv_mode, VC9Context::mv_mode2, MV_PMODE_INTENSITY_COMP, MV_PMODE_MIXED_MV, MpegEncContext::mv_table_index, VC9Context::mv_type_mb_plane, VC9Context::s, VC9Context::skip_mb_plane, VC9Context::ttfrm, VC9Context::ttmbf, vop_dquant_decoding(), and VC9Context::vstransform.

Referenced by standard_decode_picture_secondary_header().

Here is the call graph for this function:


Generated on Mon Apr 28 14:09:24 2008 for Cinelerra by  doxygen 1.5.5