uint8_t zz_8x8[4][64]
Zigzag table for TT_8x8, permuted for IDCT.
int new_sprite
Frame decoding info for sprite modes.
uint8_t lumscale2
for interlaced field P picture
uint8_t next_luty[2][256]
@ PROGRESSIVE
in the bitstream is reported as 00b
MBModesIntfr
MBMODE for interlaced frame P-picture.
int end_mb_x
Horizontal macroblock limit (used only by mss2)
int overlap
overlapped transforms in use
int interlace
Progressive/interlaced (RPTFTM syntax element)
uint8_t altpq
Current/alternate frame quantizer scale.
uint8_t(* curr_luty)[256]
@ ILACE_FRAME
in the bitstream is reported as 10b
@ DQDOUBLE_BEDGE_BOTTOMLEFT
void ff_vc1_init_transposed_scantables(VC1Context *v)
DQProfile
Where quant can be changed.
@ MV_PMODE_1MV_HPEL_BILIN
This structure describes decoded (raw) audio or video data.
void ff_vc1_mc_4mv_luma(VC1Context *v, int n, int dir, int avg)
Do motion compensation for 4-MV macroblock - luminance block.
int ff_vc1_decode_init(AVCodecContext *avctx)
int reffield
if numref = 0 (1 reference) then reffield decides which
int fastuvmc
Rounding of qpel vector to hpel ? (not in Simple)
uint8_t * mv_type_mb_plane
bitplane for mv_type == (4MV)
@ MV_PMODE_INTENSITY_COMP
const uint8_t * zz_8x4
Zigzag scan table for TT_8x4 coding mode.
uint8_t dmvrange
Frame decoding info for interlaced picture.
uint8_t closed_entry
Closed entry point flag (CLOSED_ENTRY syntax element)
@ QUANT_NON_UNIFORM
Non-uniform quant used for all frames.
void ff_vc1_interp_mc(VC1Context *v)
Motion compensation for direct or interpolated blocks in B-frames.
uint8_t last_lutuv[2][256]
lookup tables used for intensity compensation
@ ILACE_FIELD
in the bitstream is reported as 11b
int multires
frame-level RESPIC syntax element present
int first_pic_header_flag
int numref
number of past field pictures used as reference
@ MV_PMODE_INTFR_2MV_FIELD
void ff_vc1_p_overlap_filter(VC1Context *v)
int c_ac_table_index
AC coding set indexes.
int k_y
Number of bits for MVs (depends on MV range)
int dquant
How qscale varies with MBs, 2 bits (not in Simple)
int ff_vc1_parse_frame_header_adv(VC1Context *v, GetBitContext *gb)
int refdist
distance of the current picture from reference
const VLCElem * twomvbp_vlc
int ff_vc1_parse_frame_header(VC1Context *v, GetBitContext *gb)
int res_sprite
Simple/Main Profile sequence header.
int res_fasttx
reserved, always 1
QuantMode
Sequence quantizer mode.
uint8_t * mv_f[2]
0: MV obtained from same field, 1: opposite field
void ff_vc1_mc_1mv(VC1Context *v, int dir)
Do motion compensation over 1 macroblock Mostly adapted hpel_motion and qpel_motion from mpegvideo....
int postprocflag
Per-frame processing suggestion flag present.
uint8_t * over_flags_plane
Overflags bitplane.
int rangered
RANGEREDFRM (range reduction) syntax element present at frame level.
int ff_vc1_decode_end(AVCodecContext *avctx)
Close a VC1/WMV3 decoder.
@ QUANT_FRAME_IMPLICIT
Implicitly specified at frame level.
int hrd_param_flag
Presence of Hypothetical Reference Decoder parameters.
int tt_index
Index for Transform Type tables (to decode TTMB)
uint8_t last_luty[2][256]
void ff_vc1_i_overlap_filter(VC1Context *v)
void ff_vc1_init_common(VC1Context *v)
Init VC-1 specific tables and VC1Context members.
MVModes
MV modes for P-frames.
void ff_vc1_mc_4mv_chroma4(VC1Context *v, int dir, int dir2, int avg)
Do motion compensation for 4-MV interlaced frame chroma macroblock (both U and V)
int top_blk_sh
Either 3 or 0, positions of l/t in blk[].
uint8_t mv_mode
Frame decoding info for all profiles.
uint8_t * forward_mb_plane
bitplane for "forward" MBs
int pqindex
raw pqindex used in coding set selection
int skip_is_raw
skip mb plane is not coded
uint8_t * direct_mb_plane
bitplane for "direct" MBs
uint8_t lumscale
Luma compensation parameters.
int field_mode
1 for interlaced field pictures
void ff_vc1_decode_blocks(VC1Context *v)
uint8_t * blk_mv_type_base
int panscanflag
NUMPANSCANWIN, TOPLEFT{X,Y}, BOTRIGHT{X,Y} present.
int qs_last
if qpel has been used in the previous (tr.) picture
int fmb_is_raw
forward mb plane is raw
const VLCElem * mbmode_vlc
int resync_marker
could this stream contain resync markers
int ff_vc1_decode_sequence_header(AVCodecContext *avctx, VC1Context *v, GetBitContext *gb)
Decode Simple/Main Profiles sequence header.
const VLCElem * cbpcy_vlc
CBPCY VLC table.
int16_t(* luma_mv_base)[2]
@ QUANT_UNIFORM
Uniform quant used for all frames.
uint8_t halfpq
Uniform quant over image and qp+.5.
@ DQDOUBLE_BEDGE_TOPRIGHT
H264ChromaContext h264chroma
uint8_t ttmbf
Transform type flag.
void ff_vc1_i_loop_filter(VC1Context *v)
int refdist_flag
REFDIST syntax element present in II, IP, PI or PP field picture headers.
int intcompfield
which of the two fields to be intensity compensated
@ DQDOUBLE_BEDGE_BOTTOMRIGHT
uint8_t mv_mode2
Secondary MV coding mode (B-frames)
void ff_vc1_p_intfr_loop_filter(VC1Context *v)
DQDoubleEdge
Which pair of edges is quantized with ALTPQUANT.
int ttfrm
Transform type info present at frame level.
int codingset
index of current table set from 11.8 to use for luma block decoding
int ff_vc1_decode_entry_point(AVCodecContext *avctx, VC1Context *v, GetBitContext *gb)
int16_t bfraction
Relative position % anchors=> how to scale MVs.
void ff_vc1_p_loop_filter(VC1Context *v)
int parse_only
Context is used within parser.
uint8_t rangeredfrm
Frame decoding info for S/M profiles only.
int chromaformat
2 bits, 2=4:2:0, only defined
int res_transtab
reserved, always 0
uint8_t respic
Frame-level flag for resized images.
uint8_t broken_link
Broken link flag (BROKEN_LINK syntax element)
int tfcntrflag
TFCNTR present.
uint8_t * sr_rows[2][2]
Sprite resizer line cache.
int cur_field_type
0: top, 1: bottom
@ QUANT_FRAME_EXPLICIT
Explicitly specified at frame level.
int k_x
Number of bits for MVs (depends on MV range)
@ MV_PMODE_INTFR_4MV_FIELD
int frmrtq_postproc
3 bits,
uint8_t buffer_size_exponent
int extended_mv
Ext MV in P/B (not in Simple)
int hrd_num_leaky_buckets
const uint8_t * zz_4x8
Zigzag scan table for TT_4x8 coding mode.
int * ttblk
Transform type at the block level.
int res_y411
reserved, old interlaced mode
const VLCElem * fourmvbp_vlc
int y_ac_table_index
Luma index from AC2FRM element.
int ref_field_type[2]
forward and backward reference field type (top or bottom)
AVFrame * sprite_output_frame
int color_prim
8 bits, chroma coordinates of the color primaries
uint8_t pquantizer
Uniform (over sequence) quantizer in use.
int codingset2
index of current table set from 11.8 to use for chroma block decoding
int buffer_fullness
HRD info.
main external API structure.
uint8_t bfraction_lut_index
Index for BFRACTION value (see Table 40, reproduced into ff_vc1_bfraction_lut[])
FrameCodingMode
FCM Frame Coding Mode.
int brfd
reference frame distance (forward or backward)
int res_rtm_flag
reserved, set to 1
int profile
Sequence header data for all Profiles TODO: choose between ints, uint8_ts and monobit flags.
int vstransform
variable-size [48]x[48] transform type + info
void ff_vc1_mc_4mv_chroma(VC1Context *v, int dir)
Do motion compensation for 4-MV macroblock - both chroma blocks.
int matrix_coef
8 bits, Color primaries->YCbCr transform matrix
uint8_t next_lutuv[2][256]
lookup tables used for intensity compensation
enum FrameCodingMode fcm
Frame decoding info for Advanced profile.
int mv_type_is_raw
mv type mb plane is not coded
int psf
Progressive Segmented Frame.
int broadcast
TFF/RFF present.
int dmb_is_raw
direct mb plane is raw
int level
Advanced Profile.
uint8_t * acpred_plane
AC prediction flags bitplane.
int finterpflag
INTERPFRM present.
int transfer_char
8 bits, Opto-electronic transfer characteristics
uint8_t * blk_mv_type
0: frame MV, 1: field MV (interlaced frame)
void ff_vc1_b_intfi_loop_filter(VC1Context *v)
uint8_t dquantfrm
pquant parameters
int quantizer_mode
2 bits, quantizer mode used for sequence, see QUANT_*
int extended_dmv
Additional extended dmv range at P/B-frame-level.
uint8_t bit_rate_exponent
uint8_t aux_lutuv[2][256]
lookup tables used for intensity compensation
int bitrtq_postproc
5 bits, quantized framerate-based postprocessing strength