FFmpeg
 All Data Structures 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 luty [256]
 
uint8_t lutuv [256]
 lookup tables used for intensity compensation
 
int use_ic
 use intensity compensation in B-frames
 
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
 
uint8_t luty2 [256]
 
uint8_t lutuv2 [256]
 
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_last_base
 
uint8_tmv_f_last [2]
 
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 warn_interlaced
 
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
 
AVFrame sprite_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 182 of file vc1.h.

Field Documentation

MpegEncContext VC1Context::s

Definition at line 183 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(), ff_vdpau_vc1_decode_picture(), fill_picture_parameters(), fill_slice(), get_mvdata_interlaced(), init_block_index(), 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_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_headers(), 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_start_frame(), vop_dquant_decoding(), and wmv9_init().

IntraX8Context VC1Context::x8

Definition at line 184 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 192 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 193 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), and wmv9_init().

int VC1Context::res_x8

reserved

Definition at line 194 of file vc1.h.

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

int VC1Context::multires
int VC1Context::res_fasttx

reserved, always 1

Definition at line 196 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 197 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 198 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), ff_vc1_parse_frame_header(), ff_vdpau_vc1_decode_picture(), 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 200 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 201 of file vc1.h.

int VC1Context::level

Advanced Profile.

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

Definition at line 206 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 207 of file vc1.h.

Referenced by decode_sequence_header_adv(), and fill_picture_parameters().

int VC1Context::postprocflag

Per-frame processing suggestion flag present.

Definition at line 208 of file vc1.h.

Referenced by decode_sequence_header_adv(), ff_vc1_parse_frame_header_adv(), ff_vdpau_vc1_decode_picture(), 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 212 of file vc1.h.

Referenced by ff_vc1_decode_entry_point(), ff_vc1_parse_frame_header_adv(), ff_vdpau_vc1_decode_picture(), 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 213 of file vc1.h.

Referenced by ff_vc1_decode_entry_point(), ff_vc1_parse_frame_header_adv(), ff_vdpau_vc1_decode_picture(), 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 214 of file vc1.h.

Referenced by ff_vc1_decode_entry_point(), ff_vc1_parse_frame_header_adv(), ff_vdpau_vc1_decode_picture(), 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 215 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 225 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 226 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 227 of file vc1.h.

Referenced by decode_sequence_header_adv(), and ff_vc1_decode_entry_point().

int VC1Context::max_coded_height

Definition at line 227 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 241 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 242 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 244 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 245 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 246 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 247 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 248 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 251 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 252 of file vc1.h.

Referenced by vaapi_vc1_start_frame(), and vop_dquant_decoding().

uint8_t VC1Context::dqsbedge

Definition at line 253 of file vc1.h.

Referenced by vaapi_vc1_start_frame(), and vop_dquant_decoding().

uint8_t VC1Context::dqbilevel

Definition at line 254 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 260 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 261 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 265 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

index of current table set from 11.8 to use for luma block decoding

Definition at line 266 of file vc1.h.

Referenced by vc1_decode_b_blocks(), vc1_decode_b_mb(), vc1_decode_b_mb_intfi(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), vc1_decode_p_mb(), vc1_decode_p_mb_intfi(), and vc1_decode_p_mb_intfr().

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

Definition at line 270 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 275 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 278 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), vc1_decode_b_mb(), 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 280 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 281 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 288 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 294 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 295 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 297 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::luty[256]
uint8_t VC1Context::lutuv[256]

lookup tables used for intensity compensation

Definition at line 299 of file vc1.h.

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

int VC1Context::use_ic

use intensity compensation in B-frames

Definition at line 300 of file vc1.h.

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

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

Definition at line 306 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 312 of file vc1.h.

uint8_t VC1Context::tfcntr

Definition at line 313 of file vc1.h.

uint8_t VC1Context::rptfrm

Definition at line 314 of file vc1.h.

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

uint8_t VC1Context::tff

Definition at line 314 of file vc1.h.

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

uint8_t VC1Context::rff

Definition at line 314 of file vc1.h.

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

uint16_t VC1Context::topleftx

Definition at line 315 of file vc1.h.

uint16_t VC1Context::toplefty

Definition at line 316 of file vc1.h.

uint16_t VC1Context::bottomrightx

Definition at line 317 of file vc1.h.

uint16_t VC1Context::bottomrighty

Definition at line 318 of file vc1.h.

uint8_t VC1Context::uvsamp

Definition at line 319 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

uint8_t VC1Context::postproc

Definition at line 320 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 321 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 322 of file vc1.h.

uint8_t VC1Context::buffer_size_exponent

Definition at line 323 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 329 of file vc1.h.

Referenced by ff_vc1_decode_end(), and ff_vc1_init_common().

uint16_t * VC1Context::hrd_buffer

Definition at line 329 of file vc1.h.

Referenced by ff_vc1_decode_end(), and ff_vc1_init_common().

uint8_t* VC1Context::hrd_fullness

Definition at line 330 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 338 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and get_mvdata_interlaced().

int VC1Context::fourmvswitch

Definition at line 339 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vc1_decode_p_mb_intfr().

int VC1Context::intcomp

Definition at line 340 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

uint8_t VC1Context::lumscale2

for interlaced field P picture

Definition at line 341 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

uint8_t VC1Context::lumshift2

Definition at line 342 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

uint8_t VC1Context::luty2[256]

Definition at line 343 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

uint8_t VC1Context::lutuv2[256]

Definition at line 343 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

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

Definition at line 345 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and get_mvdata_interlaced().

VLC* VC1Context::twomvbp_vlc

Definition at line 346 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vc1_decode_p_mb_intfr().

VLC* VC1Context::fourmvbp_vlc
uint8_t VC1Context::twomvbp

Definition at line 348 of file vc1.h.

Referenced by vc1_decode_p_mb_intfr().

uint8_t VC1Context::fourmvbp

Definition at line 349 of file vc1.h.

Referenced by vc1_decode_b_mb_intfi(), vc1_decode_p_mb_intfi(), and vc1_decode_p_mb_intfr().

uint8_t* VC1Context::fieldtx_plane
int VC1Context::fieldtx_is_raw

Definition at line 351 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 353 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 353 of file vc1.h.

Referenced by ff_vc1_decode_init_alloc_tables(), 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 354 of file vc1.h.

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

uint8_t * VC1Context::mv_f[2]

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

Definition at line 354 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_last_base

Definition at line 355 of file vc1.h.

Referenced by ff_vc1_decode_end(), and ff_vc1_decode_init_alloc_tables().

uint8_t * VC1Context::mv_f_last[2]

Definition at line 355 of file vc1.h.

Referenced by ff_vc1_decode_init_alloc_tables(), and vc1_decode_frame().

uint8_t* VC1Context::mv_f_next_base

Definition at line 356 of file vc1.h.

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

uint8_t * VC1Context::mv_f_next[2]

Definition at line 356 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 358 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 360 of file vc1.h.

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

int VC1Context::numref

number of past field pictures used as reference

Definition at line 361 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 363 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 365 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 368 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 370 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().

int VC1Context::bmvtype

Definition at line 371 of file vc1.h.

Referenced by vc1_decode_b_mb_intfi(), and vc1_pred_b_mv_intfi().

int VC1Context::frfd

Definition at line 372 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 372 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

Definition at line 373 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vc1_decode_frame().

int VC1Context::pic_header_flag

Definition at line 374 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 378 of file vc1.h.

Referenced by vc1_decode_frame().

int VC1Context::two_sprites

Definition at line 379 of file vc1.h.

Referenced by vc1_decode_frame().

AVFrame VC1Context::sprite_output_frame

Definition at line 380 of file vc1.h.

Referenced by ff_vc1_decode_end(), and vc1_decode_frame().

int VC1Context::output_width

Definition at line 381 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 381 of file vc1.h.

Referenced by vc1_decode_frame(), and vc1_decode_init().

int VC1Context::sprite_width

Definition at line 381 of file vc1.h.

Referenced by vc1_decode_frame(), and vc1_decode_init().

int VC1Context::sprite_height

Definition at line 381 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 382 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 387 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 390 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 391 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 393 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 394 of file vc1.h.

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

uint8_t VC1Context::broken_link

Broken link flag (BROKEN_LINK syntax element)

Definition at line 395 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 396 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 398 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 400 of file vc1.h.

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

int VC1Context::warn_interlaced

Definition at line 402 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().


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