Mercurial > libavcodec.hg
diff mpegvideo.h @ 945:463f7260b155 libavcodec
trellis quantization
author | michaelni |
---|---|
date | Tue, 31 Dec 2002 17:23:56 +0000 |
parents | c237f5db1c22 |
children | 9be53be2d1a9 |
line wrap: on
line diff
--- a/mpegvideo.h Mon Dec 30 23:00:02 2002 +0000 +++ b/mpegvideo.h Tue Dec 31 17:23:56 2002 +0000 @@ -307,6 +307,13 @@ int inter_quant_bias; /* bias for the quantizer */ int min_qcoeff; /* minimum encodable coefficient */ int max_qcoeff; /* maximum encodable coefficient */ + int ac_esc_length; /* num of bits needed to encode the longest esc */ + uint8_t *intra_ac_vlc_length; + uint8_t *intra_ac_vlc_last_length; + uint8_t *inter_ac_vlc_length; + uint8_t *inter_ac_vlc_last_length; +#define UNI_ENC_INDEX(run,level) ((run)*128 + (level)) + /* precomputed matrix (combine qscale and DCT renorm) */ int __align8 q_intra_matrix[32][64]; int __align8 q_inter_matrix[32][64];