VC9 Simple/Main Profiles header decoding

Part of the frame header decoding belonging to Simple/Main Profiles. More...

Functions

static int standard_decode_picture_primary_header (VC9Context *v)
static int standard_decode_picture_secondary_header (VC9Context *v)

Detailed Description

Part of the frame header decoding belonging to Simple/Main Profiles.

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

Function Documentation

static int standard_decode_picture_primary_header ( VC9Context v  )  [static]

Frame header decoding, first part, in Simple and Main profiles

See also:
Tables 5+7, p53-54 and 55-57
Parameters:
v VC9 context
Todo:
FIXME: RANGEREDFRM element not read if BI frame from Table6, P54 However, 7.1.1.8 says "all frame types, for main profiles"
Returns:
Status

Definition at line 1506 of file vc9.c.

References av_log(), AV_LOG_INFO, MpegEncContext::avctx, B_TYPE, BI_TYPE, decode_b_picture_primary_header(), decode_i_picture_primary_header(), decode_p_picture_primary_header(), VC9Context::finterpflag, FRAME_SKIPPED, MpegEncContext::gb, get_bits(), I_TYPE, VC9Context::interpfrm, AVCodecContext::max_b_frames, P_TYPE, MpegEncContext::pict_type, VC9Context::rangered, VC9Context::rangeredfrm, VC9Context::s, and skip_bits().

Referenced by vc9_decode_frame().

Here is the call graph for this function:

static int standard_decode_picture_secondary_header ( VC9Context v  )  [static]

Frame header decoding, secondary part

Parameters:
v VC9 context
Warning:
To call once all MB arrays are allocated
Returns:
Status

Definition at line 1547 of file vc9.c.

References B_TYPE, BI_TYPE, VC9Context::c_ac_table_index, MpegEncContext::dc_table_index, decode012(), decode_b_picture_secondary_header(), decode_p_picture_secondary_header(), FRAME_SKIPPED, MpegEncContext::gb, I_TYPE, P_TYPE, MpegEncContext::pict_type, VC9Context::s, and VC9Context::y_ac_table_index.

Referenced by vc9_decode_frame().

Here is the call graph for this function:


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