|
|
#define | MAX_TABLE_DEPTH(table_bits, max_bits) ((max_bits + table_bits - 1) / table_bits) |
| |
|
#define | DC_VLC_BITS 9 |
| |
|
#define | AC_VLC_BITS 9 |
| |
|
#define | OR_VLC_BITS 7 |
| |
|
#define | DC_VLC_MTD MAX_TABLE_DEPTH(DC_VLC_BITS, MAX_DC_VLC_BITS) |
| |
|
#define | AC_VLC_MTD MAX_TABLE_DEPTH(AC_VLC_BITS, MAX_AC_VLC_BITS) |
| |
|
#define | OR_VLC_MTD MAX_TABLE_DEPTH(OR_VLC_BITS, MAX_OR_VLC_BITS) |
| |
| #define | init_ac_vlc(dst, src) |
| |
| #define | init_dc_vlc(dst, src) |
| |
| #define | init_or_vlc(dst, src) |
| |
|
#define | extra_bits(eb) (eb) |
| |
|
#define | extra_run (0xFF << 8) |
| |
|
#define | extra_level (0x00 << 8) |
| |
|
#define | run_offset(r) ((r) << 16) |
| |
|
#define | level_offset(l) ((l) << 24) |
| |
|
#define | B(x, y) w->block[0][w->idct_permutation[(x) + (y) * 8]] |
| |
|
#define | T(x) ((x) * dc_level + 0x8000) >> 16; |
| |
|
| av_cold int | ff_intrax8_common_init (AVCodecContext *avctx, IntraX8Context *w, IDCTDSPContext *idsp, int16_t(*block)[64], int block_last_index[12], int mb_width, int mb_height) |
| | Initialize IntraX8 frame decoder. More...
|
| |
| av_cold void | ff_intrax8_common_end (IntraX8Context *w) |
| | Destroy IntraX8 frame structure. More...
|
| |
| int | ff_intrax8_decode_picture (IntraX8Context *w, Picture *pict, GetBitContext *gb, int *mb_x, int *mb_y, int dquant, int quant_offset, int loopfilter, int lowdelay) |
| | Decode single IntraX8 frame. More...
|
| |
IntraX8 (J-Frame) subdecoder, used by WMV2 and VC-1.