From ae20682f6b0e8bb803bae2c82f4025642a9bba2e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 27 Feb 2015 19:23:46 +0100 Subject: [PATCH] swscale: Add prefix to updateMMXDitherTables() Signed-off-by: Michael Niedermayer --- libswscale/swscale.c | 2 +- libswscale/swscale_internal.h | 2 +- libswscale/x86/swscale.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 6e47a92ac7..91bfe180a9 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -522,7 +522,7 @@ static int swscale(SwsContext *c, const uint8_t *src[], break; // we can't output a dstY line so let's try with the next slice #if HAVE_MMX_INLINE - updateMMXDitherTables(c, dstY, lumBufIndex, chrBufIndex, + ff_updateMMXDitherTables(c, dstY, lumBufIndex, chrBufIndex, lastInLumBuf, lastInChrBuf); #endif if (should_dither) { diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 37c2b37548..55f683f5be 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -613,7 +613,7 @@ int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4], void ff_yuv2rgb_init_tables_ppc(SwsContext *c, const int inv_table[4], int brightness, int contrast, int saturation); -void updateMMXDitherTables(SwsContext *c, int dstY, int lumBufIndex, int chrBufIndex, +void ff_updateMMXDitherTables(SwsContext *c, int dstY, int lumBufIndex, int chrBufIndex, int lastInLumBuf, int lastInChrBuf); av_cold void ff_sws_init_range_convert(SwsContext *c); diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index fe5c4eaec7..a06d1f2102 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -80,7 +80,7 @@ DECLARE_ALIGNED(8, const uint64_t, ff_w1111) = 0x0001000100010001ULL; #include "swscale_template.c" #endif -void updateMMXDitherTables(SwsContext *c, int dstY, int lumBufIndex, int chrBufIndex, +void ff_updateMMXDitherTables(SwsContext *c, int dstY, int lumBufIndex, int chrBufIndex, int lastInLumBuf, int lastInChrBuf) { const int dstH= c->dstH;