diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-21 01:59:34 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-21 01:59:34 +0000 |
commit | aaba7e6c66fab2b3b844fc10bf6308c6e01675c4 (patch) | |
tree | 8f98f98aac365447b8aaffbd664cdd71fb6a6081 /libswscale/swscale_template.c | |
parent | a1f4b4bb6e7605201d2deee7954d740b8e1c5423 (diff) | |
download | ffmpeg-aaba7e6c66fab2b3b844fc10bf6308c6e01675c4.tar.gz |
Remove parameters no longer used in h[yc]scale().
Originally committed as revision 30099 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r-- | libswscale/swscale_template.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index c0a410bc52..65beb5b8fc 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -2382,9 +2382,9 @@ static inline void RENAME(hyscale_fast)(SwsContext *c, int16_t *dst, // *** horizontal scale Y line to temp buffer static inline void RENAME(hyscale)(SwsContext *c, uint16_t *dst, long dstWidth, const uint8_t *src, int srcW, int xInc, - int flags, const int16_t *hLumFilter, + const int16_t *hLumFilter, const int16_t *hLumFilterPos, int hLumFilterSize, - enum PixelFormat srcFormat, uint8_t *formatConvBuffer, + uint8_t *formatConvBuffer, uint32_t *pal, int isAlpha) { void (*toYV12)(uint8_t *, const uint8_t *, long, uint32_t *) = isAlpha ? c->alpToYV12 : c->lumToYV12; @@ -2530,9 +2530,9 @@ which is needed to support GCC 4.0. */ } inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth, const uint8_t *src1, const uint8_t *src2, - int srcW, int xInc, int flags, const int16_t *hChrFilter, + int srcW, int xInc, const int16_t *hChrFilter, const int16_t *hChrFilterPos, int hChrFilterSize, - enum PixelFormat srcFormat, uint8_t *formatConvBuffer, + uint8_t *formatConvBuffer, uint32_t *pal) { @@ -2693,13 +2693,13 @@ static int RENAME(swScale)(SwsContext *c, uint8_t* src[], int srcStride[], int s assert(lastInLumBuf + 1 - srcSliceY < srcSliceH); assert(lastInLumBuf + 1 - srcSliceY >= 0); RENAME(hyscale)(c, lumPixBuf[ lumBufIndex ], dstW, src1, srcW, lumXInc, - flags, hLumFilter, hLumFilterPos, hLumFilterSize, - c->srcFormat, formatConvBuffer, + hLumFilter, hLumFilterPos, hLumFilterSize, + formatConvBuffer, pal, 0); if (CONFIG_SWSCALE_ALPHA && alpPixBuf) RENAME(hyscale)(c, alpPixBuf[ lumBufIndex ], dstW, src2, srcW, lumXInc, - flags, hLumFilter, hLumFilterPos, hLumFilterSize, - c->srcFormat, formatConvBuffer, + hLumFilter, hLumFilterPos, hLumFilterSize, + formatConvBuffer, pal, 1); lastInLumBuf++; } @@ -2716,8 +2716,8 @@ static int RENAME(swScale)(SwsContext *c, uint8_t* src[], int srcStride[], int s if (c->needs_hcscale) RENAME(hcscale)(c, chrPixBuf[ chrBufIndex ], chrDstW, src1, src2, chrSrcW, chrXInc, - flags, hChrFilter, hChrFilterPos, hChrFilterSize, - c->srcFormat, formatConvBuffer, + hChrFilter, hChrFilterPos, hChrFilterSize, + formatConvBuffer, pal); lastInChrBuf++; } |