An easy way to speed up encoding by 6%.
authorFalk Hüffner <mellum@users.sourceforge.net>
Sat, 28 Sep 2002 02:18:34 +0000 (02:18 +0000)
committerFalk Hüffner <mellum@users.sourceforge.net>
Sat, 28 Sep 2002 02:18:34 +0000 (02:18 +0000)
Originally committed as revision 978 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo.c

index 98bc596..42e192e 100644 (file)
@@ -2749,9 +2749,11 @@ static int dct_quantize_c(MpegEncContext *s,
     
     s->fdct (block);
 
+#ifndef ARCH_ALPHA              /* Alpha uses unpermuted matrix */
     /* we need this permutation so that we correct the IDCT
        permutation. will be moved into DCT code */
     block_permute(block);
+#endif
 
     if (s->mb_intra) {
         if (!s->h263_aic) {