diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-12-06 00:14:15 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-12-06 00:14:15 +0000 |
commit | 90f1f3bf0010e9a157df775e188811fe37c6b371 (patch) | |
tree | a47d84617c25687848f289605fe21779d78939b7 /libavfilter/x86/yadif.c | |
parent | 28b4eb95bca07a84b740e9f91672b73a088184ab (diff) | |
download | ffmpeg-90f1f3bf0010e9a157df775e188811fe37c6b371.tar.gz |
In yadif filter, declare asm constants directly to avoid dependency on libavcodec
Originally committed as revision 25895 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/x86/yadif.c')
-rw-r--r-- | libavfilter/x86/yadif.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/x86/yadif.c b/libavfilter/x86/yadif.c index 8fda59ae37..2b55c00763 100644 --- a/libavfilter/x86/yadif.c +++ b/libavfilter/x86/yadif.c @@ -20,8 +20,12 @@ #include "libavutil/cpu.h" #include "libavutil/x86_cpu.h" +#include "libavcodec/x86/dsputil_mmx.h" #include "libavfilter/yadif.h" +DECLARE_ASM_CONST(16, const xmm_reg, pb_1) = {0x0101010101010101ULL, 0x0101010101010101ULL}; +DECLARE_ASM_CONST(16, const xmm_reg, pw_1) = {0x0001000100010001ULL, 0x0001000100010001ULL}; + #if HAVE_SSSE3 #define COMPILE_TEMPLATE_SSE 1 #define COMPILE_TEMPLATE_SSSE3 1 |