Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/mpegvideo.h Tue Dec 31 22:58:41 2002 +0000 +++ b/mpegvideo.h Wed Jan 01 00:42:18 2003 +0000 @@ -312,7 +312,7 @@ 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)) +#define UNI_AC_ENC_INDEX(run,level) ((run)*128 + (level)) /* precomputed matrix (combine qscale and DCT renorm) */ int __align8 q_intra_matrix[32][64];