diff options
author | Måns Rullgård <mans@mansr.com> | 2008-06-26 17:20:26 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-06-26 17:20:26 +0000 |
commit | dce292bb35ddf44982f087fc651db23de568c7d0 (patch) | |
tree | ba67fa92e9b9f8e1fae142abdd84f2707ac770c7 /libavcodec/dct-test.c | |
parent | 4231f05b2893b117a4ea86c098612805ed51d295 (diff) | |
download | ffmpeg-dce292bb35ddf44982f087fc651db23de568c7d0.tar.gz |
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.
Originally committed as revision 13991 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r-- | libavcodec/dct-test.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 3653676187..0868c2e3f8 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -69,7 +69,7 @@ struct algo { 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 @@ void dct_error(const char *name, int is_idct, } 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]; |