dv: move inverse weight tables to decoder

The encoder has its own tables and does not access the idct_factor
member of the DVVideoContext structure.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Christophe Gisquet
2014-10-25 11:19:25 +00:00
committed by Michael Niedermayer
parent 6fe02d25ee
commit 05da586fef
5 changed files with 113 additions and 106 deletions

View File

@@ -26,13 +26,6 @@ extern const uint8_t ff_dv_zigzag248_direct[64];
extern const uint8_t ff_dv_quant_shifts[22][4];
extern const uint8_t ff_dv_quant_offset[4];
extern const uint16_t ff_dv_iweight_88[64];
extern const uint16_t ff_dv_iweight_248[64];
extern const uint16_t ff_dv_iweight_1080_y[64];
extern const uint16_t ff_dv_iweight_1080_c[64];
extern const uint16_t ff_dv_iweight_720_y[64];
extern const uint16_t ff_dv_iweight_720_c[64];
#define NB_DV_VLC 409
extern const uint16_t ff_dv_vlc_bits[NB_DV_VLC];