summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-10-22 10:59:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-10-22 10:59:39 +0000
commit7e4995c388020a3123d8eb82368127afdcccf0a6 (patch)
tree04ba46e9ee7995e4d4e9b0974f4b8c74732ebe4d /libavcodec/mpegvideo.h
parentc4f1e443e7865e051b886bbf7b7d4631b4c87561 (diff)
move q_*_matrix out of MpegEncContext (40k ->23k) dct_quantize() is even slightly faster now, dont ask my why ...
Originally committed as revision 2411 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index e557a81d1e..352e012279 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -457,8 +457,8 @@ typedef struct MpegEncContext {
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];