summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-05 01:34:16 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-05 01:34:16 +0000
commit271357149a86b9c1ebbcd571cc550b812d413104 (patch)
treeca7717b6704a22679aa4d39d6f9b1ac046428092
parent114fa5bd06c4e3cc61e9c3ca9fb253cc185c427a (diff)
downloadmpv-271357149a86b9c1ebbcd571cc550b812d413104.tar.bz2
mpv-271357149a86b9c1ebbcd571cc550b812d413104.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29256 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libswscale/swscale_internal.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 3995887f45..eb11166e25 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -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