From c9de83fefd5bba1585c3db8ba75cb8b8ac8c43b9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 3 Jul 2012 12:43:06 +0200 Subject: [PATCH] yadif/x86: add prototypes for functions, make code valid C again. Broken by: libav (a87b17f3283aada762820f1b797eeb7a2dff6c61) Signed-off-by: Michael Niedermayer --- libavfilter/x86/yadif.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavfilter/x86/yadif.c b/libavfilter/x86/yadif.c index d98238809a..22799a3c5f 100644 --- a/libavfilter/x86/yadif.c +++ b/libavfilter/x86/yadif.c @@ -24,6 +24,10 @@ #include "libavcodec/x86/dsputil_mmx.h" #include "libavfilter/yadif.h" +static void yadif_filter_line_ssse3(uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8_t *next, int w, int prefs, int mrefs, int parity, int mode); +static void yadif_filter_line_sse2(uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8_t *next, int w, int prefs, int mrefs, int parity, int mode); +static void yadif_filter_line_mmx(uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8_t *next, int w, int prefs, int mrefs, int parity, int mode); + DECLARE_ASM_CONST(16, const xmm_reg, pb_1) = {0x0101010101010101ULL, 0x0101010101010101ULL}; DECLARE_ASM_CONST(16, const xmm_reg, pw_1) = {0x0001000100010001ULL, 0x0001000100010001ULL};