[Ffmpeg-cvslog] r5628 - trunk/libavcodec/i386/dsputil_mmx.c

mru subversion
Wed Jul 5 21:31:01 CEST 2006


Author: mru
Date: Wed Jul  5 21:31:01 2006
New Revision: 5628

Modified:
   trunk/libavcodec/i386/dsputil_mmx.c

Log:
#define SBUTTERFLY outside CONFIG_ENCODERS


Modified: trunk/libavcodec/i386/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_mmx.c	(original)
+++ trunk/libavcodec/i386/dsputil_mmx.c	Wed Jul  5 21:31:01 2006
@@ -187,6 +187,11 @@
 #undef DEF
 #undef PAVGB
 
+#define SBUTTERFLY(a,b,t,n)\
+    "movq " #a ", " #t "              \n\t" /* abcd */\
+    "punpckl" #n " " #b ", " #a "     \n\t" /* aebf */\
+    "punpckh" #n " " #b ", " #t "     \n\t" /* cgdh */\
+
 /***********************************/
 /* standard MMX */
 
@@ -1523,11 +1528,6 @@
     "pmaxsw " #z ", " #a "            \n\t"\
     "paddusw " #a ", " #sum "         \n\t"
 
-#define SBUTTERFLY(a,b,t,n)\
-    "movq " #a ", " #t "              \n\t" /* abcd */\
-    "punpckl" #n " " #b ", " #a "     \n\t" /* aebf */\
-    "punpckh" #n " " #b ", " #t "     \n\t" /* cgdh */\
-
 #define TRANSPOSE4(a,b,c,d,t)\
     SBUTTERFLY(a,b,t,wd) /* a=aebf t=cgdh */\
     SBUTTERFLY(c,d,b,wd) /* c=imjn b=kolp */\




More information about the ffmpeg-cvslog mailing list