changeset 7148:cf7e5dcefe48 libavcodec

Revert "add libmpeg2 permutation to dct-test" 10l to me for not noticing that dct-test.c calls this permutation MMX. Note to self: don't code after 2am.
author mru
date Thu, 26 Jun 2008 17:20:26 +0000
parents da33cd4590a0
children 720236bfb40b
files dct-test.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dct-test.c	Thu Jun 26 17:14:20 2008 +0000
+++ b/dct-test.c	Thu Jun 26 17:20:26 2008 +0000
@@ -69,7 +69,7 @@
   enum { FDCT, IDCT } is_idct;
   void (* func) (DCTELEM *block);
   void (* ref)  (DCTELEM *block);
-  enum formattag { NO_PERM,MMX_PERM, MMX_SIMPLE_PERM, SCALE_PERM, SSE2_PERM, LIBMPEG2_PERM } format;
+  enum formattag { NO_PERM,MMX_PERM, MMX_SIMPLE_PERM, SCALE_PERM, SSE2_PERM } format;
   int  mm_support;
 };
 
@@ -235,9 +235,6 @@
         } else if (form == SSE2_PERM) {
             for(i=0; i<64; i++)
                 block[(i&0x38) | idct_sse2_row_perm[i&7]] = block1[i];
-        } else if (form == LIBMPEG2_PERM) {
-            for(i=0; i<64; i++)
-                block[(i&0x38) | ((i&6) >> 1) | ((i&1) << 2)] = block1[i];
         } else {
             for(i=0; i<64; i++)
                 block[i]= block1[i];