Mercurial > libavcodec.hg
comparison mpegvideo.h @ 945:463f7260b155 libavcodec
trellis quantization
author | michaelni |
---|---|
date | Tue, 31 Dec 2002 17:23:56 +0000 |
parents | c237f5db1c22 |
children | 9be53be2d1a9 |
comparison
equal
deleted
inserted
replaced
944:927c246f1f6d | 945:463f7260b155 |
---|---|
305 #define QUANT_BIAS_SHIFT 4 | 305 #define QUANT_BIAS_SHIFT 4 |
306 int intra_quant_bias; /* bias for the quantizer */ | 306 int intra_quant_bias; /* bias for the quantizer */ |
307 int inter_quant_bias; /* bias for the quantizer */ | 307 int inter_quant_bias; /* bias for the quantizer */ |
308 int min_qcoeff; /* minimum encodable coefficient */ | 308 int min_qcoeff; /* minimum encodable coefficient */ |
309 int max_qcoeff; /* maximum encodable coefficient */ | 309 int max_qcoeff; /* maximum encodable coefficient */ |
310 int ac_esc_length; /* num of bits needed to encode the longest esc */ | |
311 uint8_t *intra_ac_vlc_length; | |
312 uint8_t *intra_ac_vlc_last_length; | |
313 uint8_t *inter_ac_vlc_length; | |
314 uint8_t *inter_ac_vlc_last_length; | |
315 #define UNI_ENC_INDEX(run,level) ((run)*128 + (level)) | |
316 | |
310 /* precomputed matrix (combine qscale and DCT renorm) */ | 317 /* precomputed matrix (combine qscale and DCT renorm) */ |
311 int __align8 q_intra_matrix[32][64]; | 318 int __align8 q_intra_matrix[32][64]; |
312 int __align8 q_inter_matrix[32][64]; | 319 int __align8 q_inter_matrix[32][64]; |
313 /* identical to the above but for MMX & these are not permutated */ | 320 /* identical to the above but for MMX & these are not permutated */ |
314 UINT16 __align8 q_intra_matrix16[32][64]; | 321 UINT16 __align8 q_intra_matrix16[32][64]; |