Mercurial > libavcodec.hg
comparison mpegvideo.h @ 947:9be53be2d1a9 libavcodec
trellis quantization for mpeg1
rounding bugfix for mpeg1 (seems this was introduced during the ME changes)
author | michaelni |
---|---|
date | Wed, 01 Jan 2003 00:42:18 +0000 |
parents | 463f7260b155 |
children | 371bc36a9c5c |
comparison
equal
deleted
inserted
replaced
946:4f522c9e6099 | 947:9be53be2d1a9 |
---|---|
310 int ac_esc_length; /* num of bits needed to encode the longest esc */ | 310 int ac_esc_length; /* num of bits needed to encode the longest esc */ |
311 uint8_t *intra_ac_vlc_length; | 311 uint8_t *intra_ac_vlc_length; |
312 uint8_t *intra_ac_vlc_last_length; | 312 uint8_t *intra_ac_vlc_last_length; |
313 uint8_t *inter_ac_vlc_length; | 313 uint8_t *inter_ac_vlc_length; |
314 uint8_t *inter_ac_vlc_last_length; | 314 uint8_t *inter_ac_vlc_last_length; |
315 #define UNI_ENC_INDEX(run,level) ((run)*128 + (level)) | 315 #define UNI_AC_ENC_INDEX(run,level) ((run)*128 + (level)) |
316 | 316 |
317 /* precomputed matrix (combine qscale and DCT renorm) */ | 317 /* precomputed matrix (combine qscale and DCT renorm) */ |
318 int __align8 q_intra_matrix[32][64]; | 318 int __align8 q_intra_matrix[32][64]; |
319 int __align8 q_inter_matrix[32][64]; | 319 int __align8 q_inter_matrix[32][64]; |
320 /* identical to the above but for MMX & these are not permutated */ | 320 /* identical to the above but for MMX & these are not permutated */ |