changeset 29214:a1abd8d51b81

Change VOFW for x86 to 5120, it allows larger images to be scaled and was not slower. Other archs are not changed as the larger VOFW was slower on PPC.
author michael
date Tue, 05 May 2009 01:34:16 +0000
parents 45c5b14ab8c1
children d0ecbaeb6f51
files libswscale/swscale_internal.h
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale_internal.h	Mon May 04 18:29:55 2009 +0000
+++ b/libswscale/swscale_internal.h	Tue May 05 01:34:16 2009 +0000
@@ -33,7 +33,12 @@
 
 #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