FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
VC1Context Struct Reference

The VC1 Context. More...

#include <vc1.h>

Data Fields

MpegEncContext s
 
IntraX8Context x8
 
H264ChromaContext h264chroma
 
VC1DSPContext vc1dsp
 
int bits
 
int ttfrm
 Transform type info present at frame level.
 
uint8_t ttmbf
 Transform type flag.
 
int * ttblk_base
 
int * ttblk
 Transform type at the block level.
 
int codingset
 index of current table set from 11.8 to use for luma block decoding
 
int codingset2
 index of current table set from 11.8 to use for chroma block decoding
 
int pqindex
 raw pqindex used in coding set selection
 
int a_avail
 
int c_avail
 
uint8_tmb_type_base
 
uint8_tmb_type [3]
 
int16_t bfraction
 Relative position % anchors=> how to scale MVs.
 
uint8_t halfpq
 Uniform quant over image and qp+.5.
 
uint8_t respic
 Frame-level flag for resized images.
 
int buffer_fullness
 HRD info.
 
uint8_t mvrange
 Ranges:

  1. 0 -> [-64n 63.f] x [-32, 31.f]
  2. 1 -> [-128, 127.f] x [-64, 63.f]
  3. 2 -> [-512, 511.f] x [-128, 127.f]
  4. 3 -> [-1024, 1023.f] x [-256, 255.f].

 
uint8_t pquantizer
 Uniform (over sequence) quantizer in use.
 
VLCcbpcy_vlc
 CBPCY VLC table.
 
int tt_index
 Index for Transform Type tables (to decode TTMB)
 
uint8_tmv_type_mb_plane
 bitplane for mv_type == (4MV)
 
uint8_tdirect_mb_plane
 bitplane for "direct" MBs
 
uint8_tforward_mb_plane
 bitplane for "forward" MBs
 
int mv_type_is_raw
 mv type mb plane is not coded
 
int dmb_is_raw
 direct mb plane is raw
 
int fmb_is_raw
 forward mb plane is raw
 
int skip_is_raw
 skip mb plane is not coded
 
uint8_t last_luty [2][256]
 
uint8_t last_lutuv [2][256]
 lookup tables used for intensity compensation
 
uint8_t aux_luty [2][256]
 
uint8_t aux_lutuv [2][256]
 lookup tables used for intensity compensation
 
uint8_t next_luty [2][256]
 
uint8_t next_lutuv [2][256]
 lookup tables used for intensity compensation
 
uint8_t(* curr_luty )[256]
 
uint8_t((* curr_lutuv )[256]
 
int last_use_ic
 
int * curr_use_ic
 
int next_use_ic
 
int aux_use_ic
 
int rnd
 rounding control
 
uint8_t dmvrange
 Frame decoding info for interlaced picture.
 
int fourmvswitch
 
int intcomp
 
uint8_t lumscale2
 for interlaced field P picture
 
uint8_t lumshift2
 
VLCmbmode_vlc
 
VLCimv_vlc
 
VLCtwomvbp_vlc
 
VLCfourmvbp_vlc
 
uint8_t twomvbp
 
uint8_t fourmvbp
 
uint8_tfieldtx_plane
 
int fieldtx_is_raw
 
uint8_t zzi_8x8 [64]
 
uint8_tblk_mv_type_base
 
uint8_tblk_mv_type
 0: frame MV, 1: field MV (interlaced frame)
 
uint8_tmv_f_base
 
uint8_tmv_f [2]
 0: MV obtained from same field, 1: opposite field
 
uint8_tmv_f_next_base
 
uint8_tmv_f_next [2]
 
int field_mode
 1 for interlaced field pictures
 
int fptype
 
int second_field
 
int refdist
 distance of the current picture from reference
 
int numref
 number of past field pictures used as reference
 
int reffield
 if numref = 0 (1 reference) then reffield decides which
 
int intcompfield
 which of the two fields to be intensity compensated
 
int cur_field_type
 0: top, 1: bottom
 
int ref_field_type [2]
 forward and backward reference field type (top or bottom)
 
int blocks_off
 
int mb_off
 
int qs_last
 if qpel has been used in the previous (tr.) picture
 
int bmvtype
 
int frfd
 
int brfd
 reference frame distance (forward or backward)
 
int first_pic_header_flag
 
int pic_header_flag
 
int p_frame_skipped
 
int bi_type
 
int x8_type
 
int16_t(* block )[6][64]
 
int n_allocated_blks
 
int cur_blk_idx
 
int left_blk_idx
 
int topleft_blk_idx
 
int top_blk_idx
 
uint32_t * cbp_base
 
uint32_t * cbp
 
uint8_tis_intra_base
 
uint8_tis_intra
 
int16_t(* luma_mv_base )[2]
 
int16_t((* luma_mv )[2]
 
uint8_t bfraction_lut_index
 Index for BFRACTION value (see Table 40, reproduced into ff_vc1_bfraction_lut[])
 
uint8_t broken_link
 Broken link flag (BROKEN_LINK syntax element)
 
uint8_t closed_entry
 Closed entry point flag (CLOSED_ENTRY syntax element)
 
int end_mb_x
 Horizontal macroblock limit (used only by mss2)
 
int parse_only
 Context is used within parser.
 
int resync_marker
 could this stream contain resync markers
 
int res_sprite
 Simple/Main Profile sequence header.
 
int res_y411
 reserved, old interlaced mode
 
int res_x8
 reserved
 
int multires
 frame-level RESPIC syntax element present
 
int res_fasttx
 reserved, always 1
 
int res_transtab
 reserved, always 0
 
int rangered
 RANGEREDFRM (range reduction) syntax element present at frame level.
 
int res_rtm_flag
 reserved, set to 1
 
int reserved
 reserved
 
int level
 Advanced Profile.
 
int chromaformat
 2bits, 2=4:2:0, only defined
 
int postprocflag
 Per-frame processing suggestion flag present.
 
int broadcast
 TFF/RFF present.
 
int interlace
 Progressive/interlaced (RPTFTM syntax element)
 
int tfcntrflag
 TFCNTR present.
 
int panscanflag
 NUMPANSCANWIN, TOPLEFT{X,Y}, BOTRIGHT{X,Y} present.
 
int refdist_flag
 REFDIST syntax element present in II, IP, PI or PP field picture headers.
 
int extended_dmv
 Additional extended dmv range at P/B frame-level.
 
int hrd_param_flag
 Presence of Hypothetical Reference Decoder parameters.
 
int psf
 Progressive Segmented Frame.
 
int profile
 Sequence header data for all Profiles TODO: choose between ints, uint8_ts and monobit flags.
 
int frmrtq_postproc
 3bits,
 
int bitrtq_postproc
 5bits, quantized framerate-based postprocessing strength
 
int max_coded_width
 
int max_coded_height
 
int fastuvmc
 Rounding of qpel vector to hpel ? (not in Simple)
 
int extended_mv
 Ext MV in P/B (not in Simple)
 
int dquant
 How qscale varies with MBs, 2bits (not in Simple)
 
int vstransform
 variable-size [48]x[48] transform type + info
 
int overlap
 overlapped transforms in use
 
int quantizer_mode
 2bits, quantizer mode used for sequence, see QUANT_*
 
int finterpflag
 INTERPFRM present.
 
uint8_t mv_mode
 Frame decoding info for all profiles.
 
uint8_t mv_mode2
 Secondary MV coding mode (B frames)
 
int k_x
 Number of bits for MVs (depends on MV range)
 
int k_y
 Number of bits for MVs (depends on MV range)
 
int range_x
 
int range_y
 MV range.
 
uint8_t pq
 
uint8_t altpq
 Current/alternate frame quantizer scale.
 
uint8_t zz_8x8 [4][64]
 Zigzag table for TT_8x8, permuted for IDCT.
 
int left_blk_sh
 
int top_blk_sh
 Either 3 or 0, positions of l/t in blk[].
 
const uint8_tzz_8x4
 Zigzag scan table for TT_8x4 coding mode.
 
const uint8_tzz_4x8
 Zigzag scan table for TT_4x8 coding mode.
 
uint8_t dquantfrm
 pquant parameters
 
uint8_t dqprofile
 
uint8_t dqsbedge
 
uint8_t dqbilevel
 
int c_ac_table_index
 AC coding set indexes.
 
int y_ac_table_index
 Luma index from AC2FRM element.
 
uint8_t lumscale
 Luma compensation parameters.
 
uint8_t lumshift
 
uint8_t rangeredfrm
 Frame decoding info for S/M profiles only.
 
uint8_t interpfrm
 
enum FrameCodingMode fcm
 Frame decoding info for Advanced profile.
 
uint8_t numpanscanwin
 
uint8_t tfcntr
 
uint8_t rptfrm
 
uint8_t tff
 
uint8_t rff
 
uint16_t topleftx
 
uint16_t toplefty
 
uint16_t bottomrightx
 
uint16_t bottomrighty
 
uint8_t uvsamp
 
uint8_t postproc
 
int hrd_num_leaky_buckets
 
uint8_t bit_rate_exponent
 
uint8_t buffer_size_exponent
 
uint8_tacpred_plane
 AC prediction flags bitplane.
 
int acpred_is_raw
 
uint8_tover_flags_plane
 Overflags bitplane.
 
int overflg_is_raw
 
uint8_t condover
 
uint16_t * hrd_rate
 
uint16_t * hrd_buffer
 
uint8_thrd_fullness
 
uint8_t range_mapy_flag
 
uint8_t range_mapuv_flag
 
uint8_t range_mapy
 
uint8_t range_mapuv
 
int new_sprite
 Frame decoding info for sprite modes.
 
int two_sprites
 
AVFramesprite_output_frame
 
int output_width
 
int output_height
 
int sprite_width
 
int sprite_height
 
uint8_tsr_rows [2][2]
 Sprite resizer line cache.
 

Detailed Description

The VC1 Context.

Todo:
Change size wherever another size is more efficient Many members are only used for Advanced Profile

Definition at line 197 of file vc1.h.

Field Documentation

MpegEncContext VC1Context::s

Definition at line 198 of file vc1.h.

Referenced by bitplane_decoding(), commit_bitstream_and_slice_buffer(), decode_sequence_header_adv(), decode_wmv9(), dxva2_vc1_decode_slice(), dxva2_vc1_end_frame(), dxva2_vc1_start_frame(), ff_vc1_decode_blocks(), ff_vc1_decode_end(), ff_vc1_decode_entry_point(), ff_vc1_decode_init_alloc_tables(), ff_vc1_decode_sequence_header(), ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), fill_picture_parameters(), fill_slice(), get_mvdata_interlaced(), init_block_index(), read_bfraction(), scaleforopp(), scaleforsame(), scaleforsame_x(), scaleforsame_y(), vaapi_vc1_decode_slice(), vaapi_vc1_start_frame(), vc1_apply_p_h_loop_filter(), vc1_apply_p_loop_filter(), vc1_apply_p_v_loop_filter(), vc1_decode_ac_coeff(), vc1_decode_b_blocks(), vc1_decode_b_mb(), vc1_decode_b_mb_intfi(), vc1_decode_b_mb_intfr(), vc1_decode_frame(), vc1_decode_i_block(), vc1_decode_i_block_adv(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_init(), vc1_decode_intra_block(), vc1_decode_p_block(), vc1_decode_p_blocks(), vc1_decode_p_mb(), vc1_decode_p_mb_intfi(), vc1_decode_p_mb_intfr(), vc1_decode_skip_blocks(), vc1_extract_header(), vc1_get_MVMODE(), vc1_get_MVMODE2(), vc1_get_PTYPE(), vc1_has_ACPRED_bitplane(), vc1_has_DIRECTMB_bitplane(), vc1_has_MVTYPEMB_bitplane(), vc1_has_OVERFLAGS_bitplane(), vc1_has_SKIPMB_bitplane(), vc1_interp_mc(), vc1_loop_filter_iblk(), vc1_loop_filter_iblk_delayed(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), vc1_mc_4mv_chroma4(), vc1_mc_4mv_luma(), vc1_parse_init(), vc1_pred_b_mv(), vc1_pred_b_mv_intfi(), vc1_pred_mv(), vc1_pred_mv_intfr(), vc1_put_signed_blocks_clamped(), vc1_smooth_overlap_filter_iblk(), vdpau_vc1_decode_slice(), vdpau_vc1_start_frame(), vop_dquant_decoding(), and wmv9_init().

IntraX8Context VC1Context::x8

Definition at line 199 of file vc1.h.

Referenced by ff_vc1_decode_blocks(), ff_vc1_decode_end(), and ff_vc1_decode_init_alloc_tables().

H264ChromaContext VC1Context::h264chroma
VC1DSPContext VC1Context::vc1dsp
int VC1Context::bits
int VC1Context::res_sprite

Simple/Main Profile sequence header.

reserved, sprite mode

Definition at line 207 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), vc1_decode_frame(), vc1_decode_init(), and wmv9_init().

int VC1Context::res_y411

reserved, old interlaced mode

Definition at line 208 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), and wmv9_init().

int VC1Context::res_x8

reserved

Definition at line 209 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), ff_vc1_parse_frame_header(), and wmv9_init().

int VC1Context::multires

frame-level RESPIC syntax element present

Definition at line 210 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), ff_vc1_parse_frame_header(), fill_picture_parameters(), vaapi_vc1_start_frame(), vdpau_vc1_start_frame(), and wmv9_init().

int VC1Context::res_fasttx

reserved, always 1

Definition at line 211 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), vc1_decode_init(), and wmv9_init().

int VC1Context::res_transtab

reserved, always 0

Definition at line 212 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), and wmv9_init().

int VC1Context::rangered

RANGEREDFRM (range reduction) syntax element present at frame level.

Definition at line 213 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), ff_vc1_parse_frame_header(), fill_picture_parameters(), vaapi_vc1_start_frame(), vdpau_vc1_start_frame(), and wmv9_init().

int VC1Context::res_rtm_flag

reserved, set to 1

Definition at line 215 of file vc1.h.

Referenced by decode_sequence_header_adv(), ff_vc1_decode_sequence_header(), vc1_decode_p_block(), and wmv9_init().

int VC1Context::reserved

reserved

Definition at line 216 of file vc1.h.

int VC1Context::level

Advanced Profile.

3bits, for Advanced/Simple Profile, provided by TS layer

Definition at line 221 of file vc1.h.

Referenced by decode_sequence_header_adv(), and vc1_decode_init().

int VC1Context::chromaformat

2bits, 2=4:2:0, only defined

Definition at line 222 of file vc1.h.

Referenced by decode_sequence_header_adv(), ff_vc1_decode_sequence_header(), and fill_picture_parameters().

int VC1Context::postprocflag

Per-frame processing suggestion flag present.

Definition at line 223 of file vc1.h.

Referenced by decode_sequence_header_adv(), ff_vc1_parse_frame_header_adv(), fill_picture_parameters(), and vdpau_vc1_start_frame().

int VC1Context::broadcast
int VC1Context::interlace
int VC1Context::tfcntrflag
int VC1Context::panscanflag

NUMPANSCANWIN, TOPLEFT{X,Y}, BOTRIGHT{X,Y} present.

Definition at line 227 of file vc1.h.

Referenced by ff_vc1_decode_entry_point(), ff_vc1_parse_frame_header_adv(), fill_picture_parameters(), vaapi_vc1_start_frame(), and vdpau_vc1_start_frame().

int VC1Context::refdist_flag

REFDIST syntax element present in II, IP, PI or PP field picture headers.

Definition at line 228 of file vc1.h.

Referenced by ff_vc1_decode_entry_point(), ff_vc1_parse_frame_header_adv(), fill_picture_parameters(), vaapi_vc1_start_frame(), and vdpau_vc1_start_frame().

int VC1Context::extended_dmv

Additional extended dmv range at P/B frame-level.

Definition at line 229 of file vc1.h.

Referenced by ff_vc1_decode_entry_point(), ff_vc1_parse_frame_header_adv(), fill_picture_parameters(), vaapi_vc1_start_frame(), and vdpau_vc1_start_frame().

int VC1Context::hrd_param_flag

Presence of Hypothetical Reference Decoder parameters.

Definition at line 230 of file vc1.h.

Referenced by decode_sequence_header_adv(), and ff_vc1_decode_entry_point().

int VC1Context::psf
int VC1Context::profile
int VC1Context::frmrtq_postproc

3bits,

Definition at line 240 of file vc1.h.

Referenced by decode_sequence_header_adv(), ff_vc1_decode_sequence_header(), and wmv9_init().

int VC1Context::bitrtq_postproc

5bits, quantized framerate-based postprocessing strength

Definition at line 241 of file vc1.h.

Referenced by decode_sequence_header_adv(), ff_vc1_decode_sequence_header(), and wmv9_init().

int VC1Context::max_coded_width

Definition at line 242 of file vc1.h.

Referenced by decode_sequence_header_adv(), and ff_vc1_decode_entry_point().

int VC1Context::max_coded_height

Definition at line 242 of file vc1.h.

Referenced by decode_sequence_header_adv(), and ff_vc1_decode_entry_point().

int VC1Context::fastuvmc
int VC1Context::extended_mv
int VC1Context::dquant
int VC1Context::vstransform
int VC1Context::overlap
int VC1Context::quantizer_mode
int VC1Context::finterpflag
uint8_t VC1Context::mv_mode
uint8_t VC1Context::mv_mode2
int VC1Context::k_x

Number of bits for MVs (depends on MV range)

Definition at line 256 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), and get_mvdata_interlaced().

int VC1Context::k_y

Number of bits for MVs (depends on MV range)

Definition at line 257 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), and get_mvdata_interlaced().

int VC1Context::range_x
int VC1Context::range_y
uint8_t VC1Context::pq
uint8_t VC1Context::altpq

Current/alternate frame quantizer scale.

Definition at line 259 of file vc1.h.

Referenced by vaapi_vc1_start_frame(), and vop_dquant_decoding().

uint8_t VC1Context::zz_8x8[4][64]

Zigzag table for TT_8x8, permuted for IDCT.

Definition at line 260 of file vc1.h.

Referenced by ff_vc1_init_transposed_scantables(), vc1_decode_i_block(), vc1_decode_i_block_adv(), vc1_decode_init(), vc1_decode_intra_block(), and vc1_decode_p_block().

int VC1Context::left_blk_sh
int VC1Context::top_blk_sh

Either 3 or 0, positions of l/t in blk[].

Definition at line 261 of file vc1.h.

Referenced by ff_vc1_init_transposed_scantables(), vc1_decode_i_block(), vc1_decode_i_block_adv(), vc1_decode_init(), and vc1_decode_intra_block().

const uint8_t* VC1Context::zz_8x4

Zigzag scan table for TT_8x4 coding mode.

Definition at line 262 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), vc1_decode_p_block(), and wmv9_init().

const uint8_t* VC1Context::zz_4x8

Zigzag scan table for TT_4x8 coding mode.

Definition at line 263 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), vc1_decode_p_block(), and wmv9_init().

uint8_t VC1Context::dquantfrm

pquant parameters

Definition at line 266 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), vaapi_vc1_start_frame(), vc1_decode_ac_coeff(), and vop_dquant_decoding().

uint8_t VC1Context::dqprofile

Definition at line 267 of file vc1.h.

Referenced by vaapi_vc1_start_frame(), and vop_dquant_decoding().

uint8_t VC1Context::dqsbedge

Definition at line 268 of file vc1.h.

Referenced by vaapi_vc1_start_frame(), and vop_dquant_decoding().

uint8_t VC1Context::dqbilevel

Definition at line 269 of file vc1.h.

Referenced by vaapi_vc1_start_frame(), and vop_dquant_decoding().

int VC1Context::c_ac_table_index

AC coding set indexes.

See Also
8.1.1.10, p(1)10Chroma index from ACFRM element

Definition at line 275 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), vaapi_vc1_start_frame(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), and vc1_decode_p_blocks().

int VC1Context::y_ac_table_index

Luma index from AC2FRM element.

Definition at line 276 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), vaapi_vc1_start_frame(), vc1_decode_i_blocks(), and vc1_decode_i_blocks_adv().

int VC1Context::ttfrm
uint8_t VC1Context::ttmbf
int* VC1Context::ttblk_base

Definition at line 280 of file vc1.h.

Referenced by ff_vc1_decode_end(), ff_vc1_decode_init_alloc_tables(), and vc1_decode_p_blocks().

int * VC1Context::ttblk
int VC1Context::codingset
int VC1Context::codingset2
int VC1Context::pqindex
int VC1Context::a_avail
int VC1Context::c_avail
uint8_t* VC1Context::mb_type_base

Definition at line 285 of file vc1.h.

Referenced by ff_vc1_decode_end(), and ff_vc1_decode_init_alloc_tables().

uint8_t * VC1Context::mb_type[3]
uint8_t VC1Context::lumscale

Luma compensation parameters.

Definition at line 290 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), fill_picture_parameters(), and vaapi_vc1_start_frame().

uint8_t VC1Context::lumshift
int16_t VC1Context::bfraction

Relative position % anchors=> how to scale MVs.

Definition at line 293 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), read_bfraction(), vc1_decode_b_mb(), vc1_decode_b_mb_intfr(), vc1_pred_b_mv(), and vc1_pred_b_mv_intfi().

uint8_t VC1Context::halfpq
uint8_t VC1Context::respic

Frame-level flag for resized images.

Definition at line 295 of file vc1.h.

Referenced by decode_wmv9(), ff_vc1_parse_frame_header(), and vaapi_vc1_start_frame().

int VC1Context::buffer_fullness

HRD info.

Definition at line 296 of file vc1.h.

uint8_t VC1Context::mvrange

Ranges:

  1. 0 -> [-64n 63.f] x [-32, 31.f]
  2. 1 -> [-128, 127.f] x [-64, 63.f]
  3. 2 -> [-512, 511.f] x [-128, 127.f]
  4. 3 -> [-1024, 1023.f] x [-256, 255.f].

Extended MV range flag

Definition at line 303 of file vc1.h.

Referenced by ff_vc1_init_common(), ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), and vaapi_vc1_start_frame().

uint8_t VC1Context::pquantizer
VLC* VC1Context::cbpcy_vlc
int VC1Context::tt_index
uint8_t* VC1Context::mv_type_mb_plane
uint8_t* VC1Context::direct_mb_plane
uint8_t* VC1Context::forward_mb_plane

bitplane for "forward" MBs

Definition at line 309 of file vc1.h.

Referenced by ff_vc1_decode_end(), ff_vc1_decode_init_alloc_tables(), ff_vc1_parse_frame_header_adv(), and vc1_decode_b_mb_intfi().

int VC1Context::mv_type_is_raw

mv type mb plane is not coded

Definition at line 310 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), vaapi_vc1_start_frame(), vc1_decode_p_mb(), and vc1_has_MVTYPEMB_bitplane().

int VC1Context::dmb_is_raw
int VC1Context::fmb_is_raw

forward mb plane is raw

Definition at line 312 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vc1_decode_b_mb_intfi().

int VC1Context::skip_is_raw
uint8_t VC1Context::last_luty[2][256]
uint8_t VC1Context::last_lutuv[2][256]

lookup tables used for intensity compensation

Definition at line 314 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), rotate_luts(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), and vc1_mc_4mv_chroma4().

uint8_t VC1Context::aux_luty[2][256]

Definition at line 315 of file vc1.h.

Referenced by rotate_luts().

uint8_t VC1Context::aux_lutuv[2][256]

lookup tables used for intensity compensation

Definition at line 315 of file vc1.h.

Referenced by rotate_luts().

uint8_t VC1Context::next_luty[2][256]

Definition at line 316 of file vc1.h.

Referenced by rotate_luts(), vc1_interp_mc(), vc1_mc_1mv(), and vc1_mc_4mv_luma().

uint8_t VC1Context::next_lutuv[2][256]

lookup tables used for intensity compensation

Definition at line 316 of file vc1.h.

Referenced by rotate_luts(), vc1_interp_mc(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), and vc1_mc_4mv_chroma4().

uint8_t(* VC1Context::curr_luty)[256]

Definition at line 317 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), rotate_luts(), vc1_mc_1mv(), and vc1_mc_4mv_luma().

uint8_t((* VC1Context::curr_lutuv)[256]

Definition at line 317 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), rotate_luts(), vc1_mc_1mv(), and vc1_mc_4mv_chroma().

int VC1Context::last_use_ic
int * VC1Context::curr_use_ic
int VC1Context::next_use_ic
int VC1Context::aux_use_ic

Definition at line 318 of file vc1.h.

Referenced by rotate_luts().

int VC1Context::rnd
uint8_t VC1Context::rangeredfrm
uint8_t VC1Context::interpfrm

Definition at line 324 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().

enum FrameCodingMode VC1Context::fcm
uint8_t VC1Context::numpanscanwin

Definition at line 330 of file vc1.h.

uint8_t VC1Context::tfcntr

Definition at line 331 of file vc1.h.

uint8_t VC1Context::rptfrm

Definition at line 332 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), vc1_decode_frame(), and vc1_extract_header().

uint8_t VC1Context::tff
uint8_t VC1Context::rff

Definition at line 332 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), vc1_decode_frame(), and vc1_extract_header().

uint16_t VC1Context::topleftx

Definition at line 333 of file vc1.h.

uint16_t VC1Context::toplefty

Definition at line 334 of file vc1.h.

uint16_t VC1Context::bottomrightx

Definition at line 335 of file vc1.h.

uint16_t VC1Context::bottomrighty

Definition at line 336 of file vc1.h.

uint8_t VC1Context::uvsamp

Definition at line 337 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

uint8_t VC1Context::postproc

Definition at line 338 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vaapi_vc1_start_frame().

int VC1Context::hrd_num_leaky_buckets

Definition at line 339 of file vc1.h.

Referenced by decode_sequence_header_adv(), and ff_vc1_decode_entry_point().

uint8_t VC1Context::bit_rate_exponent

Definition at line 340 of file vc1.h.

uint8_t VC1Context::buffer_size_exponent

Definition at line 341 of file vc1.h.

uint8_t* VC1Context::acpred_plane
int VC1Context::acpred_is_raw
uint8_t* VC1Context::over_flags_plane
int VC1Context::overflg_is_raw
uint8_t VC1Context::condover
uint16_t* VC1Context::hrd_rate

Definition at line 347 of file vc1.h.

Referenced by ff_vc1_decode_end(), and ff_vc1_init_common().

uint16_t * VC1Context::hrd_buffer

Definition at line 347 of file vc1.h.

Referenced by ff_vc1_decode_end(), and ff_vc1_init_common().

uint8_t* VC1Context::hrd_fullness

Definition at line 348 of file vc1.h.

uint8_t VC1Context::range_mapy_flag
uint8_t VC1Context::range_mapuv_flag
uint8_t VC1Context::range_mapy
uint8_t VC1Context::range_mapuv
uint8_t VC1Context::dmvrange

Frame decoding info for interlaced picture.

Extended differential MV range flag

Definition at line 356 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and get_mvdata_interlaced().

int VC1Context::fourmvswitch

Definition at line 357 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vc1_decode_p_mb_intfr().

int VC1Context::intcomp

Definition at line 358 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and fill_picture_parameters().

uint8_t VC1Context::lumscale2

for interlaced field P picture

Definition at line 359 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and fill_picture_parameters().

uint8_t VC1Context::lumshift2

Definition at line 360 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and fill_picture_parameters().

VLC* VC1Context::mbmode_vlc
VLC* VC1Context::imv_vlc

Definition at line 362 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and get_mvdata_interlaced().

VLC* VC1Context::twomvbp_vlc
VLC* VC1Context::fourmvbp_vlc
uint8_t VC1Context::twomvbp

Definition at line 365 of file vc1.h.

Referenced by vc1_decode_b_mb_intfr(), and vc1_decode_p_mb_intfr().

uint8_t VC1Context::fourmvbp
uint8_t* VC1Context::fieldtx_plane
int VC1Context::fieldtx_is_raw

Definition at line 368 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vc1_decode_i_blocks_adv().

uint8_t VC1Context::zzi_8x8[64]
uint8_t* VC1Context::blk_mv_type_base

Definition at line 370 of file vc1.h.

Referenced by ff_vc1_decode_end(), and ff_vc1_decode_init_alloc_tables().

uint8_t * VC1Context::blk_mv_type

0: frame MV, 1: field MV (interlaced frame)

Definition at line 370 of file vc1.h.

Referenced by ff_vc1_decode_init_alloc_tables(), vc1_decode_b_mb_intfr(), vc1_decode_p_mb_intfr(), vc1_mc_4mv_chroma4(), vc1_mc_4mv_luma(), and vc1_pred_mv_intfr().

uint8_t* VC1Context::mv_f_base

Definition at line 371 of file vc1.h.

Referenced by ff_vc1_decode_end(), and ff_vc1_decode_init_alloc_tables().

uint8_t * VC1Context::mv_f[2]

0: MV obtained from same field, 1: opposite field

Definition at line 371 of file vc1.h.

Referenced by ff_vc1_decode_init_alloc_tables(), vc1_decode_frame(), vc1_mc_4mv_chroma(), vc1_mc_4mv_luma(), vc1_pred_b_mv_intfi(), and vc1_pred_mv().

uint8_t* VC1Context::mv_f_next_base

Definition at line 372 of file vc1.h.

Referenced by ff_vc1_decode_end(), and ff_vc1_decode_init_alloc_tables().

uint8_t * VC1Context::mv_f_next[2]

Definition at line 372 of file vc1.h.

Referenced by ff_vc1_decode_init_alloc_tables(), vc1_decode_frame(), and vc1_pred_b_mv_intfi().

int VC1Context::field_mode
int VC1Context::fptype

Definition at line 374 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

int VC1Context::second_field
int VC1Context::refdist

distance of the current picture from reference

Definition at line 376 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), fill_picture_parameters(), scaleforopp(), scaleforsame_x(), and scaleforsame_y().

int VC1Context::numref

number of past field pictures used as reference

Definition at line 377 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), get_mvdata_interlaced(), vc1_mc_4mv_chroma(), and vc1_pred_mv().

int VC1Context::reffield

if numref = 0 (1 reference) then reffield decides which

Definition at line 379 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), vc1_mc_4mv_chroma(), and vc1_pred_mv().

int VC1Context::intcompfield

which of the two fields to be intensity compensated

Definition at line 381 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

int VC1Context::cur_field_type
int VC1Context::ref_field_type[2]

forward and backward reference field type (top or bottom)

Definition at line 384 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), scaleforopp_y(), scaleforsame_y(), vc1_interp_mc(), vc1_mc_1mv(), vc1_mc_4mv_luma(), vc1_pred_b_mv_intfi(), and vc1_pred_mv().

int VC1Context::blocks_off
int VC1Context::mb_off
int VC1Context::qs_last

if qpel has been used in the previous (tr.) picture

Definition at line 386 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().

int VC1Context::bmvtype

Definition at line 387 of file vc1.h.

Referenced by vc1_decode_b_mb_intfi(), and vc1_pred_b_mv_intfi().

int VC1Context::frfd

Definition at line 388 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), scaleforopp(), scaleforsame_x(), and scaleforsame_y().

int VC1Context::brfd

reference frame distance (forward or backward)

Definition at line 388 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), scaleforopp(), scaleforopp_x(), scaleforopp_y(), scaleforsame(), scaleforsame_x(), and scaleforsame_y().

int VC1Context::first_pic_header_flag
int VC1Context::pic_header_flag

Definition at line 390 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vc1_decode_frame().

int VC1Context::new_sprite

Frame decoding info for sprite modes.

Definition at line 394 of file vc1.h.

Referenced by vc1_decode_frame().

int VC1Context::two_sprites

Definition at line 395 of file vc1.h.

Referenced by vc1_decode_frame().

AVFrame* VC1Context::sprite_output_frame

Definition at line 396 of file vc1.h.

Referenced by ff_vc1_decode_end(), vc1_decode_frame(), and vc1_decode_init().

int VC1Context::output_width

Definition at line 397 of file vc1.h.

Referenced by ff_vc1_decode_init_alloc_tables(), vc1_decode_frame(), and vc1_decode_init().

int VC1Context::output_height

Definition at line 397 of file vc1.h.

Referenced by vc1_decode_frame(), and vc1_decode_init().

int VC1Context::sprite_width

Definition at line 397 of file vc1.h.

Referenced by vc1_decode_frame(), and vc1_decode_init().

int VC1Context::sprite_height

Definition at line 397 of file vc1.h.

Referenced by vc1_decode_frame(), and vc1_decode_init().

uint8_t* VC1Context::sr_rows[2][2]

Sprite resizer line cache.

Definition at line 398 of file vc1.h.

Referenced by ff_vc1_decode_end(), and ff_vc1_decode_init_alloc_tables().

int VC1Context::p_frame_skipped
int VC1Context::bi_type
int VC1Context::x8_type

Definition at line 403 of file vc1.h.

Referenced by ff_vc1_decode_blocks(), and ff_vc1_parse_frame_header().

int16_t(* VC1Context::block)[6][64]
int VC1Context::n_allocated_blks

Definition at line 406 of file vc1.h.

Referenced by ff_vc1_decode_init_alloc_tables().

int VC1Context::cur_blk_idx
int VC1Context::left_blk_idx
int VC1Context::topleft_blk_idx
int VC1Context::top_blk_idx
uint32_t* VC1Context::cbp_base

Definition at line 407 of file vc1.h.

Referenced by ff_vc1_decode_end(), ff_vc1_decode_init_alloc_tables(), and vc1_decode_p_blocks().

uint32_t * VC1Context::cbp
uint8_t* VC1Context::is_intra_base
uint8_t * VC1Context::is_intra
int16_t(* VC1Context::luma_mv_base)[2]

Definition at line 409 of file vc1.h.

Referenced by ff_vc1_decode_end(), ff_vc1_decode_init_alloc_tables(), and vc1_decode_p_blocks().

int16_t((* VC1Context::luma_mv)[2]
uint8_t VC1Context::bfraction_lut_index

Index for BFRACTION value (see Table 40, reproduced into ff_vc1_bfraction_lut[])

Definition at line 410 of file vc1.h.

Referenced by fill_slice(), read_bfraction(), and vaapi_vc1_start_frame().

uint8_t VC1Context::broken_link

Broken link flag (BROKEN_LINK syntax element)

Definition at line 411 of file vc1.h.

Referenced by ff_vc1_decode_entry_point(), and vaapi_vc1_start_frame().

uint8_t VC1Context::closed_entry

Closed entry point flag (CLOSED_ENTRY syntax element)

Definition at line 412 of file vc1.h.

Referenced by ff_vc1_decode_entry_point(), and vaapi_vc1_start_frame().

int VC1Context::end_mb_x

Horizontal macroblock limit (used only by mss2)

Definition at line 414 of file vc1.h.

Referenced by decode_wmv9(), vc1_decode_frame(), and vc1_decode_i_blocks().

int VC1Context::parse_only

Context is used within parser.

Definition at line 416 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), and vc1_extract_header().

int VC1Context::resync_marker

could this stream contain resync markers

Definition at line 417 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), fill_picture_parameters(), vaapi_vc1_start_frame(), vdpau_vc1_start_frame(), and wmv9_init().


The documentation for this struct was generated from the following file: