diff dsputil.c @ 2696:9699d325049d libavcodec

porting the mmx&sse2 (sse2 untested) vp3 idcts to the lavc idct API
author michael
date Tue, 17 May 2005 18:28:40 +0000
parents 02925a3903b6
children 360024d31dab
line wrap: on
line diff
--- a/dsputil.c	Tue May 17 11:36:07 2005 +0000
+++ b/dsputil.c	Tue May 17 18:28:40 2005 +0000
@@ -3885,6 +3885,10 @@
         for(i=0; i<64; i++)
             c->idct_permutation[i]= ((i&7)<<3) | (i>>3);
         break;
+    case FF_PARTTRANS_IDCT_PERM:
+        for(i=0; i<64; i++)
+            c->idct_permutation[i]= (i&0x24) | ((i&3)<<3) | ((i>>3)&3);
+        break;
     default:
         av_log(avctx, AV_LOG_ERROR, "Internal error, IDCT permutation not set\n");
     }