Browse Source

swscale: Add prefix to updateMMXDitherTables()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 10 years ago
parent
commit
ae20682f6b
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      libswscale/swscale.c
  2. +1
    -1
      libswscale/swscale_internal.h
  3. +1
    -1
      libswscale/x86/swscale.c

+ 1
- 1
libswscale/swscale.c View File

@@ -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) {


+ 1
- 1
libswscale/swscale_internal.h View File

@@ -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);


+ 1
- 1
libswscale/x86/swscale.c View File

@@ -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;


Loading…
Cancel
Save