X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavcodec%2Fvc1data.h;h=79a434f06519b4be5ae1d3401910a716fe611af5;hb=b0e6b3f4777910d61083976aa9fc78a1e0731aae;hp=da8f0a1f40b4c4f5f126e8c16775585c56b654a6;hpb=f0c02e1cbc71043ffe8c1fa44f12330a63f9df10;p=ffmpeg diff --git a/libavcodec/vc1data.h b/libavcodec/vc1data.h index da8f0a1f40b..79a434f0651 100644 --- a/libavcodec/vc1data.h +++ b/libavcodec/vc1data.h @@ -29,8 +29,10 @@ #define AVCODEC_VC1DATA_H #include + #include "libavutil/rational.h" -#include "get_bits.h" + +#include "vlc.h" /** Table for conversion between TTBLK and TTMB */ extern const int ff_vc1_ttblk_to_tt[3][8]; @@ -41,7 +43,7 @@ extern const int ff_vc1_ttfrm_to_tt[4]; extern const uint8_t ff_vc1_mv_pmode_table[2][5]; extern const uint8_t ff_vc1_mv_pmode_table2[2][4]; -extern const int ff_vc1_fps_nr[5], ff_vc1_fps_dr[2]; +extern const int ff_vc1_fps_nr[7], ff_vc1_fps_dr[2]; extern const uint8_t ff_vc1_pquant_table[3][32]; /* MBMODE table for interlaced frame P-picture */ @@ -94,8 +96,6 @@ extern VLC ff_vc1_ac_coeff_table[8]; #define VC1_IF_MBMODE_VLC_BITS 5 //@} - -/* Denominator used for ff_vc1_bfraction_lut */ #define B_FRACTION_DEN 256 /* pre-computed scales for all bfractions and base=256 */ @@ -126,7 +126,7 @@ extern const uint8_t ff_vc1_4mv_block_pattern_bits[4][16]; extern const uint8_t ff_vc1_2mv_block_pattern_codes[4][4]; extern const uint8_t ff_vc1_2mv_block_pattern_bits[4][4]; -extern const uint8_t wmv3_dc_scale_table[32]; +extern const uint8_t ff_wmv3_dc_scale_table[32]; /* P-Picture CBPCY VLC tables */ extern const uint16_t ff_vc1_cbpcy_p_codes[4][64]; @@ -197,7 +197,12 @@ extern const int8_t ff_vc1_intra_vert_8x8_zz [64]; extern const int32_t ff_vc1_dqscale[63]; /* P Interlaced field picture MV predictor scaling values (Table 114) */ -extern const uint16_t vc1_field_mvpred_scales[2][7][4]; +extern const uint16_t ff_vc1_field_mvpred_scales[2][7][4]; /* B Interlaced field picture backward MV predictor scaling values for first field (Table 115) */ -extern const uint16_t vc1_b_field_mvpred_scales[7][4]; +extern const uint16_t ff_vc1_b_field_mvpred_scales[7][4]; + +#define AC_MODES 8 + +extern const int ff_vc1_ac_sizes[AC_MODES]; + #endif /* AVCODEC_VC1DATA_H */