summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2011-04-11 19:48:13 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-13 17:24:53 +0200
commit0e1a5434e2d30d0f57770110c1e358c8eccf9f82 (patch)
treec4351a471bfcaeda48a4ae15962941ff4e32d82c /libswscale/swscale_internal.h
parent2d3267936a40c0a8db6ab76aeb0017e1959ae2fa (diff)
swscale: Factorize FAST_BGR2YV12 definition.
It is used only for x86 so it will eventually be moved with that code into the x86 arch subdirectory.
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 631f1e0672..4c6ad2a860 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -31,6 +31,8 @@
#define STR(s) AV_TOSTRING(s) //AV_STRINGIFY is too long
+#define FAST_BGR2YV12 //use 7-bit instead of 15-bit coefficients
+
#define MAX_FILTER_SIZE 256
#if ARCH_X86