Module decoder

Module decoder 

Source
Expand description

VC-1 / WMV9 Macroblock Decoder

Full Simple/Main-profile decode path: • Proper VLC coefficient decoding (intra + inter TCOEF tables) • Uniform / non-uniform inverse quantization • VC-1 integer IDCT (8×8, 8×4, 4×8, 4×4) • Half-pixel motion compensation with bilinear filter • Overlap smoothing filter (Main profile) • Reference frame buffer for P/B frames

Structs§

AcPredBuffer
DcPredBuffer
MacroblockDecoder
MvPredictor
Wmv2DcPredBuffer
Predictor storage is in “scaled DC coefficient” domain (level * dc_scale). Default value 1024 corresponds to mid-gray (128) with scale=8.
YuvFrame

Functions§

apply_idct
Apply IDCT according to transform type. tt: 0=8x8, 1=8x4_top, 2=8x4_bot, 3=4x8_left, 4=4x8_right, 5=4x4, 6=per_block
apply_loop_filter
Apply loop filter to a decoded YUV frame (luma + both chroma planes).
apply_overlap_filter
apply_rangered_compress
Compress: applied to reference frame before motion compensation when the current frame does NOT have RANGEREDFRM but the reference did.
apply_rangered_expand
idct8x8