From 89fa3504edbaaacd44eb2c510baca283d1dbbf7b Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 25 Aug 2010 13:44:16 +0000 Subject: Move vp6_filter_diag4() x86 SIMD code from inline ASM to YASM. This should help in fixing the Win64 fate failures. Originally committed as revision 24922 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/x86/vp56dsp_init.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libavcodec/x86/vp56dsp_init.c') diff --git a/libavcodec/x86/vp56dsp_init.c b/libavcodec/x86/vp56dsp_init.c index 8b2eb68594..5120ed231d 100644 --- a/libavcodec/x86/vp56dsp_init.c +++ b/libavcodec/x86/vp56dsp_init.c @@ -23,11 +23,15 @@ #include "libavutil/x86_cpu.h" #include "libavcodec/dsputil.h" #include "libavcodec/vp56dsp.h" -#include "vp6dsp_mmx.h" -#include "vp6dsp_sse2.h" + +void ff_vp6_filter_diag4_mmx(uint8_t *dst, uint8_t *src, int stride, + const int16_t *h_weights,const int16_t *v_weights); +void ff_vp6_filter_diag4_sse2(uint8_t *dst, uint8_t *src, int stride, + const int16_t *h_weights,const int16_t *v_weights); av_cold void ff_vp56dsp_init_x86(VP56DSPContext* c, enum CodecID codec) { +#if HAVE_YASM int mm_flags = mm_support(); if (CONFIG_VP6_DECODER && codec == CODEC_ID_VP6) { @@ -39,4 +43,5 @@ av_cold void ff_vp56dsp_init_x86(VP56DSPContext* c, enum CodecID codec) c->vp6_filter_diag4 = ff_vp6_filter_diag4_sse2; } } +#endif } -- cgit v1.2.3