Mercurial > libavcodec.hg
diff mpegvideo.h @ 1554:d736e24bf303 libavcodec
move mmx quantizer matrixes out of MpegEncContext (23k -> 7k) (no meassureable slowdown)
author | michael |
---|---|
date | Wed, 22 Oct 2003 11:23:39 +0000 |
parents | 541681146f83 |
children | 27073c5532dc |
line wrap: on
line diff
--- a/mpegvideo.h Wed Oct 22 10:59:39 2003 +0000 +++ b/mpegvideo.h Wed Oct 22 11:23:39 2003 +0000 @@ -459,11 +459,9 @@ /** precomputed matrix (combine qscale and DCT renorm) */ 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]; - uint16_t __align8 q_intra_matrix16_bias[32][64]; - uint16_t __align8 q_inter_matrix16_bias[32][64]; + /** identical to the above but for MMX & these are not permutated, second 64 entries are bias*/ + uint16_t (*q_intra_matrix16)[2][64]; + uint16_t (*q_inter_matrix16)[2][64]; int block_last_index[6]; ///< last non zero coefficient in block /* scantables */ ScanTable __align8 intra_scantable;