Mercurial > libavcodec.hg
diff mpegvideo.h @ 1553:541681146f83 libavcodec
move q_*_matrix out of MpegEncContext (40k ->23k) dct_quantize() is even slightly faster now, dont ask my why ...
author | michael |
---|---|
date | Wed, 22 Oct 2003 10:59:39 +0000 |
parents | 26c6ecba99a1 |
children | d736e24bf303 |
line wrap: on
line diff
--- a/mpegvideo.h Tue Oct 21 19:55:31 2003 +0000 +++ b/mpegvideo.h Wed Oct 22 10:59:39 2003 +0000 @@ -457,8 +457,8 @@ int coded_score[6]; /** precomputed matrix (combine qscale and DCT renorm) */ - int __align8 q_intra_matrix[32][64]; - int __align8 q_inter_matrix[32][64]; + int (*q_intra_matrix)[64]; + int (*q_inter_matrix)[64]; /** identical to the above but for MMX & these are not permutated */ uint16_t __align8 q_intra_matrix16[32][64]; uint16_t __align8 q_inter_matrix16[32][64];