summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-05-05 01:34:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-05-05 01:34:16 +0000
commit9507d91150a98d4c1d6acf4dc08475bf1852eb18 (patch)
tree2be997f5f7a81f27895813b0bacefb5708486777 /libswscale/swscale_internal.h
parent3737dd1cd31f72afa905c5efed7dc1d605813229 (diff)
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. Originally committed as revision 29256 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_internal.h')
-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