Change VOFW for x86 to 5120, it allows larger images to be scaled and was
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 5 May 2009 01:34:16 +0000 (01:34 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 5 May 2009 01:34:16 +0000 (01:34 +0000)
not slower. Other archs are not changed as the larger VOFW was slower on PPC.

Originally committed as revision 29256 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale_internal.h

index 3995887..eb11166 100644 (file)
 
 #define MAX_FILTER_SIZE 256
 
-#define VOFW 2048
+#if ARCH_X86
+#define VOFW 5120
+#else
+#define VOFW 2048 // faster on PPC and not tested on others
+#endif
+
 #define VOF  (VOFW*2)
 
 #ifdef WORDS_BIGENDIAN