FFmpeg
Data Fields
VC1Context Struct Reference

The VC1 Context. More...

#include <vc1.h>

Data Fields

MpegEncContext s
 
IntraX8Context x8
 
H264ChromaContext h264chroma
 
VC1DSPContext vc1dsp
 
int res_sprite
 Simple/Main Profile sequence header. More...
 
int res_y411
 reserved, old interlaced mode More...
 
int res_x8
 reserved More...
 
int multires
 frame-level RESPIC syntax element present More...
 
int res_fasttx
 reserved, always 1 More...
 
int res_transtab
 reserved, always 0 More...
 
int rangered
 RANGEREDFRM (range reduction) syntax element present at frame level. More...
 
int res_rtm_flag
 reserved, set to 1 More...
 
int reserved
 reserved More...
 
int level
 Advanced Profile. More...
 
int chromaformat
 2 bits, 2=4:2:0, only defined More...
 
int postprocflag
 Per-frame processing suggestion flag present. More...
 
int broadcast
 TFF/RFF present. More...
 
int interlace
 Progressive/interlaced (RPTFTM syntax element) More...
 
int tfcntrflag
 TFCNTR present. More...
 
int panscanflag
 NUMPANSCANWIN, TOPLEFT{X,Y}, BOTRIGHT{X,Y} present. More...
 
int refdist_flag
 REFDIST syntax element present in II, IP, PI or PP field picture headers. More...
 
int extended_dmv
 Additional extended dmv range at P/B-frame-level. More...
 
int color_prim
 8 bits, chroma coordinates of the color primaries More...
 
int transfer_char
 8 bits, Opto-electronic transfer characteristics More...
 
int matrix_coef
 8 bits, Color primaries->YCbCr transform matrix More...
 
int hrd_param_flag
 Presence of Hypothetical Reference Decoder parameters. More...
 
int psf
 Progressive Segmented Frame. More...
 
int profile
 Sequence header data for all Profiles TODO: choose between ints, uint8_ts and monobit flags. More...
 
int frmrtq_postproc
 3 bits, More...
 
int bitrtq_postproc
 5 bits, quantized framerate-based postprocessing strength More...
 
int max_coded_width
 
int max_coded_height
 
int fastuvmc
 Rounding of qpel vector to hpel ? (not in Simple) More...
 
int extended_mv
 Ext MV in P/B (not in Simple) More...
 
int dquant
 How qscale varies with MBs, 2 bits (not in Simple) More...
 
int vstransform
 variable-size [48]x[48] transform type + info More...
 
int overlap
 overlapped transforms in use More...
 
int quantizer_mode
 2 bits, quantizer mode used for sequence, see QUANT_* More...
 
int finterpflag
 INTERPFRM present. More...
 
uint8_t mv_mode
 Frame decoding info for all profiles. More...
 
uint8_t mv_mode2
 Secondary MV coding mode (B-frames) More...
 
int k_x
 Number of bits for MVs (depends on MV range) More...
 
int k_y
 Number of bits for MVs (depends on MV range) More...
 
int range_x
 
int range_y
 MV range. More...
 
uint8_t pq
 
uint8_t altpq
 Current/alternate frame quantizer scale. More...
 
uint8_t zz_8x8 [4][64]
 Zigzag table for TT_8x8, permuted for IDCT. More...
 
int left_blk_sh
 
int top_blk_sh
 Either 3 or 0, positions of l/t in blk[]. More...
 
const uint8_t * zz_8x4
 Zigzag scan table for TT_8x4 coding mode. More...
 
const uint8_t * zz_4x8
 Zigzag scan table for TT_4x8 coding mode. More...
 
uint8_t dquantfrm
 pquant parameters More...
 
uint8_t dqprofile
 
uint8_t dqsbedge
 
uint8_t dqbilevel
 
int c_ac_table_index
 AC coding set indexes. More...
 
int y_ac_table_index
 Luma index from AC2FRM element. More...
 
int ttfrm
 Transform type info present at frame level. More...
 
uint8_t ttmbf
 Transform type flag. More...
 
intttblk_base
 
intttblk
 Transform type at the block level. More...
 
int codingset
 index of current table set from 11.8 to use for luma block decoding More...
 
int codingset2
 index of current table set from 11.8 to use for chroma block decoding More...
 
int pqindex
 raw pqindex used in coding set selection More...
 
int a_avail
 
int c_avail
 
uint8_t * mb_type_base
 
uint8_t * mb_type [3]
 
uint8_t lumscale
 Luma compensation parameters. More...
 
uint8_t lumshift
 
int16_t bfraction
 Relative position % anchors=> how to scale MVs. More...
 
uint8_t halfpq
 Uniform quant over image and qp+.5. More...
 
uint8_t respic
 Frame-level flag for resized images. More...
 
int buffer_fullness
 HRD info. More...
 
uint8_t mvrange
 Ranges: More...
 
uint8_t pquantizer
 Uniform (over sequence) quantizer in use. More...
 
const VLCElemcbpcy_vlc
 CBPCY VLC table. More...
 
int tt_index
 Index for Transform Type tables (to decode TTMB) More...
 
uint8_t * mv_type_mb_plane
 bitplane for mv_type == (4MV) More...
 
uint8_t * direct_mb_plane
 bitplane for "direct" MBs More...
 
uint8_t * forward_mb_plane
 bitplane for "forward" MBs More...
 
int mv_type_is_raw
 mv type mb plane is not coded More...
 
int dmb_is_raw
 direct mb plane is raw More...
 
int fmb_is_raw
 forward mb plane is raw More...
 
int skip_is_raw
 skip mb plane is not coded More...
 
uint8_t last_luty [2][256]
 
uint8_t last_lutuv [2][256]
 lookup tables used for intensity compensation More...
 
uint8_t aux_luty [2][256]
 
uint8_t aux_lutuv [2][256]
 lookup tables used for intensity compensation More...
 
uint8_t next_luty [2][256]
 
uint8_t next_lutuv [2][256]
 lookup tables used for intensity compensation More...
 
uint8_t(* curr_luty )[256]
 
uint8_t((* curr_lutuv )[256]
 
int last_use_ic
 
intcurr_use_ic
 
int next_use_ic
 
int aux_use_ic
 
int rnd
 rounding control More...
 
int cbptab
 
uint8_t rangeredfrm
 Frame decoding info for S/M profiles only. More...
 
uint8_t interpfrm
 
enum FrameCodingMode fcm
 Frame decoding info for Advanced profile. More...
 
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_t * acpred_plane
 AC prediction flags bitplane. More...
 
int acpred_is_raw
 
uint8_t * over_flags_plane
 Overflags bitplane. More...
 
int overflg_is_raw
 
uint8_t condover
 
uint8_t range_mapy_flag
 
uint8_t range_mapuv_flag
 
uint8_t range_mapy
 
uint8_t range_mapuv
 
uint8_t dmvrange
 Frame decoding info for interlaced picture. More...
 
int fourmvswitch
 
int intcomp
 
uint8_t lumscale2
 for interlaced field P picture More...
 
uint8_t lumshift2
 
const VLCElemmbmode_vlc
 
const VLCElemimv_vlc
 
const VLCElemtwomvbp_vlc
 
const VLCElemfourmvbp_vlc
 
uint8_t twomvbp
 
uint8_t fourmvbp
 
uint8_t * fieldtx_plane
 
int fieldtx_is_raw
 
uint8_t zzi_8x8 [64]
 
uint8_t * blk_mv_type_base
 
uint8_t * blk_mv_type
 0: frame MV, 1: field MV (interlaced frame) More...
 
uint8_t * mv_f_base
 
uint8_t * mv_f [2]
 0: MV obtained from same field, 1: opposite field More...
 
uint8_t * mv_f_next_base
 
uint8_t * mv_f_next [2]
 
int field_mode
 1 for interlaced field pictures More...
 
int fptype
 
int second_field
 
int refdist
 distance of the current picture from reference More...
 
int numref
 number of past field pictures used as reference More...
 
int reffield
 if numref = 0 (1 reference) then reffield decides which More...
 
int intcompfield
 which of the two fields to be intensity compensated More...
 
int cur_field_type
 0: top, 1: bottom More...
 
int ref_field_type [2]
 forward and backward reference field type (top or bottom) More...
 
int blocks_off
 
int mb_off
 
int qs_last
 if qpel has been used in the previous (tr.) picture More...
 
int bmvtype
 
int frfd
 
int brfd
 reference frame distance (forward or backward) More...
 
int first_pic_header_flag
 
int pic_header_flag
 
int mbmodetab
 
int icbptab
 
int imvtab
 
int twomvbptab
 
int fourmvbptab
 
int new_sprite
 Frame decoding info for sprite modes. More...
 
int two_sprites
 
AVFramesprite_output_frame
 
int output_width
 
int output_height
 
int sprite_width
 
int sprite_height
 
uint8_t * sr_rows [2][2]
 Sprite resizer line cache. More...
 
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_t * is_intra_base
 
uint8_t * is_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[]) More...
 
uint8_t broken_link
 Broken link flag (BROKEN_LINK syntax element) More...
 
uint8_t closed_entry
 Closed entry point flag (CLOSED_ENTRY syntax element) More...
 
int end_mb_x
 Horizontal macroblock limit (used only by mss2) More...
 
int parse_only
 Context is used within parser. More...
 
int resync_marker
 could this stream contain resync markers More...
 

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 173 of file vc1.h.

Field Documentation

◆ s

MpegEncContext VC1Context::s

Definition at line 174 of file vc1.h.

Referenced by bitplane_decoding(), commit_bitstream_and_slice_buffer(), d3d12va_vc1_decode_slice(), d3d12va_vc1_end_frame(), d3d12va_vc1_start_frame(), decode_sequence_header_adv(), decode_wmv9(), dxva2_vc1_decode_slice(), dxva2_vc1_end_frame(), dxva2_vc1_start_frame(), ff_dxva2_vc1_fill_picture_parameters(), ff_dxva2_vc1_fill_slice(), ff_vc1_b_intfi_loop_filter(), ff_vc1_decode_blocks(), ff_vc1_decode_end(), ff_vc1_decode_entry_point(), ff_vc1_decode_init(), ff_vc1_decode_sequence_header(), ff_vc1_i_loop_filter(), ff_vc1_i_overlap_filter(), ff_vc1_init_common(), ff_vc1_interp_mc(), ff_vc1_mc_1mv(), ff_vc1_mc_4mv_chroma(), ff_vc1_mc_4mv_chroma4(), ff_vc1_mc_4mv_luma(), ff_vc1_p_intfr_loop_filter(), ff_vc1_p_loop_filter(), ff_vc1_p_overlap_filter(), ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), ff_vc1_pred_b_mv(), ff_vc1_pred_b_mv_intfi(), ff_vc1_pred_mv(), ff_vc1_pred_mv_intfr(), get_chroma_mv(), get_luma_mv(), get_mvdata_interlaced(), init_block_index(), nvdec_vc1_start_frame(), read_bfraction(), scaleforopp(), scaleforsame(), scaleforsame_x(), scaleforsame_y(), update_input_arguments(), vaapi_vc1_decode_slice(), vaapi_vc1_end_frame(), vaapi_vc1_start_frame(), vc1_b_h_intfi_loop_filter(), vc1_b_v_intfi_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_init_alloc_tables(), 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_FPTYPE(), vc1_get_INTCOMPFIELD(), vc1_get_LUMSCALE(), vc1_get_LUMSCALE2(), vc1_get_LUMSHIFT(), vc1_get_LUMSHIFT2(), vc1_get_MVMODE(), vc1_get_MVMODE2(), vc1_get_PTYPE(), vc1_has_ACPRED_bitplane(), vc1_has_DIRECTMB_bitplane(), vc1_has_FIELDTX_bitplane(), vc1_has_FORWARDMB_bitplane(), vc1_has_MVTYPEMB_bitplane(), vc1_has_OVERFLAGS_bitplane(), vc1_has_SKIPMB_bitplane(), vc1_i_h_loop_filter(), vc1_i_v_loop_filter(), vc1_p_h_intfr_loop_filter(), vc1_p_h_loop_filter(), vc1_p_v_intfr_loop_filter(), vc1_p_v_loop_filter(), vc1_parse_init(), vc1_put_blocks_clamped(), vdpau_vc1_decode_slice(), vdpau_vc1_start_frame(), vop_dquant_decoding(), and wmv9_init().

◆ x8

IntraX8Context VC1Context::x8

Definition at line 175 of file vc1.h.

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

◆ h264chroma

H264ChromaContext VC1Context::h264chroma

◆ vc1dsp

VC1DSPContext VC1Context::vc1dsp

◆ res_sprite

int VC1Context::res_sprite

Simple/Main Profile sequence header.

reserved, sprite mode

Definition at line 181 of file vc1.h.

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

◆ res_y411

int VC1Context::res_y411

reserved, old interlaced mode

Definition at line 182 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), and wmv9_init().

◆ res_x8

int VC1Context::res_x8

reserved

Definition at line 183 of file vc1.h.

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

◆ multires

int VC1Context::multires

◆ res_fasttx

int VC1Context::res_fasttx

reserved, always 1

Definition at line 185 of file vc1.h.

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

◆ res_transtab

int VC1Context::res_transtab

reserved, always 0

Definition at line 186 of file vc1.h.

Referenced by ff_vc1_decode_sequence_header(), and wmv9_init().

◆ rangered

int VC1Context::rangered

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

Definition at line 187 of file vc1.h.

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

◆ res_rtm_flag

int VC1Context::res_rtm_flag

reserved, set to 1

Definition at line 189 of file vc1.h.

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

◆ reserved

int VC1Context::reserved

reserved

Definition at line 190 of file vc1.h.

◆ level

int VC1Context::level

Advanced Profile.

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

Definition at line 195 of file vc1.h.

Referenced by decode_sequence_header_adv(), and vc1_decode_init().

◆ chromaformat

int VC1Context::chromaformat

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

Definition at line 196 of file vc1.h.

Referenced by decode_sequence_header_adv(), ff_dxva2_vc1_fill_picture_parameters(), ff_vc1_decode_sequence_header(), and vc1_extract_header().

◆ postprocflag

int VC1Context::postprocflag

Per-frame processing suggestion flag present.

Definition at line 197 of file vc1.h.

Referenced by decode_sequence_header_adv(), ff_dxva2_vc1_fill_picture_parameters(), ff_vc1_parse_frame_header_adv(), nvdec_vc1_start_frame(), and vdpau_vc1_start_frame().

◆ broadcast

int VC1Context::broadcast

◆ interlace

int VC1Context::interlace

◆ tfcntrflag

int VC1Context::tfcntrflag

◆ panscanflag

int VC1Context::panscanflag

◆ refdist_flag

int VC1Context::refdist_flag

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

Definition at line 202 of file vc1.h.

Referenced by ff_dxva2_vc1_fill_picture_parameters(), ff_vc1_decode_entry_point(), ff_vc1_parse_frame_header_adv(), nvdec_vc1_start_frame(), vaapi_vc1_start_frame(), and vdpau_vc1_start_frame().

◆ extended_dmv

int VC1Context::extended_dmv

◆ color_prim

int VC1Context::color_prim

8 bits, chroma coordinates of the color primaries

Definition at line 204 of file vc1.h.

Referenced by decode_sequence_header_adv(), and vc1_decode_init().

◆ transfer_char

int VC1Context::transfer_char

8 bits, Opto-electronic transfer characteristics

Definition at line 205 of file vc1.h.

Referenced by decode_sequence_header_adv(), and vc1_decode_init().

◆ matrix_coef

int VC1Context::matrix_coef

8 bits, Color primaries->YCbCr transform matrix

Definition at line 206 of file vc1.h.

Referenced by decode_sequence_header_adv(), and vc1_decode_init().

◆ hrd_param_flag

int VC1Context::hrd_param_flag

Presence of Hypothetical Reference Decoder parameters.

Definition at line 207 of file vc1.h.

Referenced by decode_sequence_header_adv(), and ff_vc1_decode_entry_point().

◆ psf

int VC1Context::psf

◆ profile

int VC1Context::profile

◆ frmrtq_postproc

int VC1Context::frmrtq_postproc

3 bits,

Definition at line 217 of file vc1.h.

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

◆ bitrtq_postproc

int VC1Context::bitrtq_postproc

5 bits, quantized framerate-based postprocessing strength

Definition at line 218 of file vc1.h.

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

◆ max_coded_width

int VC1Context::max_coded_width

Definition at line 219 of file vc1.h.

Referenced by decode_sequence_header_adv(), and ff_vc1_decode_entry_point().

◆ max_coded_height

int VC1Context::max_coded_height

Definition at line 219 of file vc1.h.

Referenced by decode_sequence_header_adv(), and ff_vc1_decode_entry_point().

◆ fastuvmc

int VC1Context::fastuvmc

◆ extended_mv

int VC1Context::extended_mv

◆ dquant

int VC1Context::dquant

◆ vstransform

int VC1Context::vstransform

◆ overlap

int VC1Context::overlap

◆ quantizer_mode

int VC1Context::quantizer_mode

◆ finterpflag

int VC1Context::finterpflag

◆ mv_mode

uint8_t VC1Context::mv_mode

◆ mv_mode2

uint8_t VC1Context::mv_mode2

◆ k_x

int VC1Context::k_x

Number of bits for MVs (depends on MV range)

Definition at line 233 of file vc1.h.

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

◆ k_y

int VC1Context::k_y

Number of bits for MVs (depends on MV range)

Definition at line 234 of file vc1.h.

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

◆ range_x

int VC1Context::range_x

◆ range_y

int VC1Context::range_y

◆ pq

uint8_t VC1Context::pq

◆ altpq

uint8_t VC1Context::altpq

Current/alternate frame quantizer scale.

Definition at line 236 of file vc1.h.

Referenced by vaapi_vc1_start_frame(), and vop_dquant_decoding().

◆ zz_8x8

uint8_t VC1Context::zz_8x8[4][64]

Zigzag table for TT_8x8, permuted for IDCT.

Definition at line 237 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().

◆ left_blk_sh

int VC1Context::left_blk_sh

◆ top_blk_sh

int VC1Context::top_blk_sh

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

Definition at line 238 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().

◆ zz_8x4

const uint8_t* VC1Context::zz_8x4

Zigzag scan table for TT_8x4 coding mode.

Definition at line 239 of file vc1.h.

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

◆ zz_4x8

const uint8_t* VC1Context::zz_4x8

Zigzag scan table for TT_4x8 coding mode.

Definition at line 240 of file vc1.h.

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

◆ dquantfrm

uint8_t VC1Context::dquantfrm

◆ dqprofile

uint8_t VC1Context::dqprofile

Definition at line 244 of file vc1.h.

Referenced by vaapi_vc1_start_frame(), and vop_dquant_decoding().

◆ dqsbedge

uint8_t VC1Context::dqsbedge

Definition at line 245 of file vc1.h.

Referenced by vaapi_vc1_start_frame(), and vop_dquant_decoding().

◆ dqbilevel

uint8_t VC1Context::dqbilevel

Definition at line 246 of file vc1.h.

Referenced by vaapi_vc1_start_frame(), and vop_dquant_decoding().

◆ c_ac_table_index

int VC1Context::c_ac_table_index

AC coding set indexes.

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

Definition at line 252 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().

◆ y_ac_table_index

int VC1Context::y_ac_table_index

Luma index from AC2FRM element.

Definition at line 253 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().

◆ ttfrm

int VC1Context::ttfrm

◆ ttmbf

uint8_t VC1Context::ttmbf

◆ ttblk_base

int* VC1Context::ttblk_base

◆ ttblk

int * VC1Context::ttblk

◆ codingset

int VC1Context::codingset

◆ codingset2

int VC1Context::codingset2

◆ pqindex

int VC1Context::pqindex

◆ a_avail

int VC1Context::a_avail

◆ c_avail

int VC1Context::c_avail

◆ mb_type_base

uint8_t* VC1Context::mb_type_base

Definition at line 262 of file vc1.h.

Referenced by ff_vc1_decode_end(), and vc1_decode_init_alloc_tables().

◆ mb_type

uint8_t * VC1Context::mb_type[3]

◆ lumscale

uint8_t VC1Context::lumscale

Luma compensation parameters.

Definition at line 267 of file vc1.h.

Referenced by ff_dxva2_vc1_fill_picture_parameters(), ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), and vc1_get_LUMSCALE().

◆ lumshift

uint8_t VC1Context::lumshift

◆ bfraction

int16_t VC1Context::bfraction

Relative position % anchors=> how to scale MVs.

Definition at line 270 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), ff_vc1_pred_b_mv(), ff_vc1_pred_b_mv_intfi(), read_bfraction(), vc1_decode_b_mb(), and vc1_decode_b_mb_intfr().

◆ halfpq

uint8_t VC1Context::halfpq

◆ respic

uint8_t VC1Context::respic

Frame-level flag for resized images.

Definition at line 272 of file vc1.h.

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

◆ buffer_fullness

int VC1Context::buffer_fullness

HRD info.

Definition at line 273 of file vc1.h.

◆ mvrange

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 280 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().

◆ pquantizer

uint8_t VC1Context::pquantizer

◆ cbpcy_vlc

const VLCElem* VC1Context::cbpcy_vlc

◆ tt_index

int VC1Context::tt_index

◆ mv_type_mb_plane

uint8_t* VC1Context::mv_type_mb_plane

◆ direct_mb_plane

uint8_t* VC1Context::direct_mb_plane

◆ forward_mb_plane

uint8_t* VC1Context::forward_mb_plane

bitplane for "forward" MBs

Definition at line 286 of file vc1.h.

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

◆ mv_type_is_raw

int VC1Context::mv_type_is_raw

◆ dmb_is_raw

int VC1Context::dmb_is_raw

◆ fmb_is_raw

int VC1Context::fmb_is_raw

forward mb plane is raw

Definition at line 289 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), vaapi_vc1_start_frame(), vc1_decode_b_mb_intfi(), and vc1_has_FORWARDMB_bitplane().

◆ skip_is_raw

int VC1Context::skip_is_raw

◆ last_luty

uint8_t VC1Context::last_luty[2][256]

◆ last_lutuv

uint8_t VC1Context::last_lutuv[2][256]

lookup tables used for intensity compensation

Definition at line 291 of file vc1.h.

Referenced by ff_vc1_mc_1mv(), ff_vc1_mc_4mv_chroma(), ff_vc1_mc_4mv_chroma4(), ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), and rotate_luts().

◆ aux_luty

uint8_t VC1Context::aux_luty[2][256]

Definition at line 292 of file vc1.h.

Referenced by rotate_luts().

◆ aux_lutuv

uint8_t VC1Context::aux_lutuv[2][256]

lookup tables used for intensity compensation

Definition at line 292 of file vc1.h.

Referenced by rotate_luts().

◆ next_luty

uint8_t VC1Context::next_luty[2][256]

Definition at line 293 of file vc1.h.

Referenced by ff_vc1_interp_mc(), ff_vc1_mc_1mv(), ff_vc1_mc_4mv_luma(), and rotate_luts().

◆ next_lutuv

uint8_t VC1Context::next_lutuv[2][256]

lookup tables used for intensity compensation

Definition at line 293 of file vc1.h.

Referenced by ff_vc1_interp_mc(), ff_vc1_mc_1mv(), ff_vc1_mc_4mv_chroma(), ff_vc1_mc_4mv_chroma4(), and rotate_luts().

◆ curr_luty

uint8_t(* VC1Context::curr_luty)[256]

◆ curr_lutuv

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

◆ last_use_ic

int VC1Context::last_use_ic

◆ curr_use_ic

int * VC1Context::curr_use_ic

◆ next_use_ic

int VC1Context::next_use_ic

◆ aux_use_ic

int VC1Context::aux_use_ic

Definition at line 295 of file vc1.h.

Referenced by rotate_luts().

◆ rnd

int VC1Context::rnd

◆ cbptab

int VC1Context::cbptab

◆ rangeredfrm

uint8_t VC1Context::rangeredfrm

◆ interpfrm

uint8_t VC1Context::interpfrm

Definition at line 302 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().

◆ fcm

enum FrameCodingMode VC1Context::fcm

◆ numpanscanwin

uint8_t VC1Context::numpanscanwin

Definition at line 308 of file vc1.h.

◆ tfcntr

uint8_t VC1Context::tfcntr

Definition at line 309 of file vc1.h.

◆ rptfrm

uint8_t VC1Context::rptfrm

Definition at line 310 of file vc1.h.

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

◆ tff

uint8_t VC1Context::tff

◆ rff

uint8_t VC1Context::rff

Definition at line 310 of file vc1.h.

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

◆ topleftx

uint16_t VC1Context::topleftx

Definition at line 311 of file vc1.h.

◆ toplefty

uint16_t VC1Context::toplefty

Definition at line 312 of file vc1.h.

◆ bottomrightx

uint16_t VC1Context::bottomrightx

Definition at line 313 of file vc1.h.

◆ bottomrighty

uint16_t VC1Context::bottomrighty

Definition at line 314 of file vc1.h.

◆ uvsamp

uint8_t VC1Context::uvsamp

Definition at line 315 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

◆ postproc

uint8_t VC1Context::postproc

Definition at line 316 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vaapi_vc1_start_frame().

◆ hrd_num_leaky_buckets

int VC1Context::hrd_num_leaky_buckets

Definition at line 317 of file vc1.h.

Referenced by decode_sequence_header_adv(), and ff_vc1_decode_entry_point().

◆ bit_rate_exponent

uint8_t VC1Context::bit_rate_exponent

Definition at line 318 of file vc1.h.

◆ buffer_size_exponent

uint8_t VC1Context::buffer_size_exponent

Definition at line 319 of file vc1.h.

◆ acpred_plane

uint8_t* VC1Context::acpred_plane

◆ acpred_is_raw

int VC1Context::acpred_is_raw

◆ over_flags_plane

uint8_t* VC1Context::over_flags_plane

◆ overflg_is_raw

int VC1Context::overflg_is_raw

◆ condover

uint8_t VC1Context::condover

◆ range_mapy_flag

uint8_t VC1Context::range_mapy_flag

◆ range_mapuv_flag

uint8_t VC1Context::range_mapuv_flag

◆ range_mapy

uint8_t VC1Context::range_mapy

◆ range_mapuv

uint8_t VC1Context::range_mapuv

◆ dmvrange

uint8_t VC1Context::dmvrange

Frame decoding info for interlaced picture.

Extended differential MV range flag

Definition at line 332 of file vc1.h.

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

◆ fourmvswitch

int VC1Context::fourmvswitch

◆ intcomp

int VC1Context::intcomp

◆ lumscale2

uint8_t VC1Context::lumscale2

for interlaced field P picture

Definition at line 335 of file vc1.h.

Referenced by ff_dxva2_vc1_fill_picture_parameters(), ff_vc1_parse_frame_header_adv(), vc1_get_LUMSCALE(), and vc1_get_LUMSCALE2().

◆ lumshift2

uint8_t VC1Context::lumshift2

◆ mbmode_vlc

const VLCElem* VC1Context::mbmode_vlc

◆ imv_vlc

const VLCElem* VC1Context::imv_vlc

Definition at line 338 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and get_mvdata_interlaced().

◆ twomvbp_vlc

const VLCElem* VC1Context::twomvbp_vlc

◆ fourmvbp_vlc

const VLCElem* VC1Context::fourmvbp_vlc

◆ twomvbp

uint8_t VC1Context::twomvbp

Definition at line 341 of file vc1.h.

Referenced by vc1_decode_b_mb_intfr(), and vc1_decode_p_mb_intfr().

◆ fourmvbp

uint8_t VC1Context::fourmvbp

◆ fieldtx_plane

uint8_t* VC1Context::fieldtx_plane

◆ fieldtx_is_raw

int VC1Context::fieldtx_is_raw

◆ zzi_8x8

uint8_t VC1Context::zzi_8x8[64]

◆ blk_mv_type_base

uint8_t* VC1Context::blk_mv_type_base

Definition at line 346 of file vc1.h.

Referenced by ff_vc1_decode_end(), and vc1_decode_init_alloc_tables().

◆ blk_mv_type

uint8_t * VC1Context::blk_mv_type

◆ mv_f_base

uint8_t* VC1Context::mv_f_base

Definition at line 347 of file vc1.h.

Referenced by ff_vc1_decode_end(), and vc1_decode_init_alloc_tables().

◆ mv_f

uint8_t * VC1Context::mv_f[2]

◆ mv_f_next_base

uint8_t* VC1Context::mv_f_next_base

Definition at line 348 of file vc1.h.

Referenced by ff_vc1_decode_end(), and vc1_decode_init_alloc_tables().

◆ mv_f_next

uint8_t * VC1Context::mv_f_next[2]

Definition at line 348 of file vc1.h.

Referenced by ff_vc1_pred_b_mv_intfi(), vc1_decode_frame(), and vc1_decode_init_alloc_tables().

◆ field_mode

int VC1Context::field_mode

◆ fptype

int VC1Context::fptype

Definition at line 350 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv().

◆ second_field

int VC1Context::second_field

◆ refdist

int VC1Context::refdist

distance of the current picture from reference

Definition at line 352 of file vc1.h.

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

◆ numref

int VC1Context::numref

number of past field pictures used as reference

Definition at line 353 of file vc1.h.

Referenced by ff_vc1_mc_4mv_chroma(), ff_vc1_parse_frame_header_adv(), ff_vc1_pred_mv(), get_mvdata_interlaced(), and vaapi_vc1_start_frame().

◆ reffield

int VC1Context::reffield

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

Definition at line 355 of file vc1.h.

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

◆ intcompfield

int VC1Context::intcompfield

which of the two fields to be intensity compensated

Definition at line 357 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), vc1_get_INTCOMPFIELD(), vc1_get_LUMSCALE(), vc1_get_LUMSCALE2(), vc1_get_LUMSHIFT(), and vc1_get_LUMSHIFT2().

◆ cur_field_type

int VC1Context::cur_field_type

◆ ref_field_type

int VC1Context::ref_field_type[2]

forward and backward reference field type (top or bottom)

Definition at line 360 of file vc1.h.

Referenced by ff_vc1_interp_mc(), ff_vc1_mc_1mv(), ff_vc1_mc_4mv_chroma(), ff_vc1_mc_4mv_luma(), ff_vc1_parse_frame_header_adv(), ff_vc1_pred_b_mv_intfi(), ff_vc1_pred_mv(), scaleforopp_y(), and scaleforsame_y().

◆ blocks_off

int VC1Context::blocks_off

◆ mb_off

int VC1Context::mb_off

◆ qs_last

int VC1Context::qs_last

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

Definition at line 362 of file vc1.h.

Referenced by ff_vc1_parse_frame_header(), and ff_vc1_parse_frame_header_adv().

◆ bmvtype

int VC1Context::bmvtype

Definition at line 363 of file vc1.h.

Referenced by ff_vc1_pred_b_mv_intfi(), and vc1_decode_b_mb_intfi().

◆ frfd

int VC1Context::frfd

Definition at line 364 of file vc1.h.

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

◆ brfd

int VC1Context::brfd

reference frame distance (forward or backward)

Definition at line 364 of file vc1.h.

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

◆ first_pic_header_flag

int VC1Context::first_pic_header_flag

◆ pic_header_flag

int VC1Context::pic_header_flag

Definition at line 366 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vc1_decode_frame().

◆ mbmodetab

int VC1Context::mbmodetab

Definition at line 367 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vaapi_vc1_start_frame().

◆ icbptab

int VC1Context::icbptab

Definition at line 368 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vaapi_vc1_start_frame().

◆ imvtab

int VC1Context::imvtab

Definition at line 369 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vaapi_vc1_start_frame().

◆ twomvbptab

int VC1Context::twomvbptab

Definition at line 370 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vaapi_vc1_start_frame().

◆ fourmvbptab

int VC1Context::fourmvbptab

Definition at line 371 of file vc1.h.

Referenced by ff_vc1_parse_frame_header_adv(), and vaapi_vc1_start_frame().

◆ new_sprite

int VC1Context::new_sprite

Frame decoding info for sprite modes.

Definition at line 375 of file vc1.h.

Referenced by vc1_decode_frame().

◆ two_sprites

int VC1Context::two_sprites

Definition at line 376 of file vc1.h.

Referenced by vc1_decode_frame().

◆ sprite_output_frame

AVFrame* VC1Context::sprite_output_frame

Definition at line 377 of file vc1.h.

Referenced by ff_vc1_decode_end(), and vc1_decode_frame().

◆ output_width

int VC1Context::output_width

Definition at line 378 of file vc1.h.

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

◆ output_height

int VC1Context::output_height

Definition at line 378 of file vc1.h.

Referenced by vc1_decode_frame(), and vc1_decode_init().

◆ sprite_width

int VC1Context::sprite_width

Definition at line 378 of file vc1.h.

Referenced by vc1_decode_frame(), and vc1_decode_init().

◆ sprite_height

int VC1Context::sprite_height

Definition at line 378 of file vc1.h.

Referenced by vc1_decode_frame(), and vc1_decode_init().

◆ sr_rows

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

Sprite resizer line cache.

Definition at line 379 of file vc1.h.

Referenced by ff_vc1_decode_end(), and vc1_decode_init_alloc_tables().

◆ p_frame_skipped

int VC1Context::p_frame_skipped

◆ bi_type

int VC1Context::bi_type

◆ x8_type

int VC1Context::x8_type

Definition at line 384 of file vc1.h.

Referenced by ff_vc1_decode_blocks(), and ff_vc1_parse_frame_header().

◆ block

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

◆ n_allocated_blks

int VC1Context::n_allocated_blks

Definition at line 387 of file vc1.h.

Referenced by vc1_decode_init_alloc_tables().

◆ cur_blk_idx

int VC1Context::cur_blk_idx

◆ left_blk_idx

int VC1Context::left_blk_idx

◆ topleft_blk_idx

int VC1Context::topleft_blk_idx

◆ top_blk_idx

int VC1Context::top_blk_idx

◆ cbp_base

uint32_t* VC1Context::cbp_base

◆ cbp

uint32_t * VC1Context::cbp

◆ is_intra_base

uint8_t* VC1Context::is_intra_base

◆ is_intra

uint8_t * VC1Context::is_intra

◆ luma_mv_base

int16_t(* VC1Context::luma_mv_base)[2]

Definition at line 390 of file vc1.h.

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

◆ luma_mv

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

◆ bfraction_lut_index

uint8_t VC1Context::bfraction_lut_index

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

Definition at line 391 of file vc1.h.

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

◆ broken_link

uint8_t VC1Context::broken_link

Broken link flag (BROKEN_LINK syntax element)

Definition at line 392 of file vc1.h.

Referenced by ff_vc1_decode_entry_point(), and vaapi_vc1_start_frame().

◆ closed_entry

uint8_t VC1Context::closed_entry

Closed entry point flag (CLOSED_ENTRY syntax element)

Definition at line 393 of file vc1.h.

Referenced by ff_vc1_decode_entry_point(), and vaapi_vc1_start_frame().

◆ end_mb_x

int VC1Context::end_mb_x

Horizontal macroblock limit (used only by mss2)

Definition at line 395 of file vc1.h.

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

◆ parse_only

int VC1Context::parse_only

Context is used within parser.

Definition at line 397 of file vc1.h.

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

◆ resync_marker

int VC1Context::resync_marker

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