summaryrefslogtreecommitdiff
path: root/libswscale/ppc/swscale_altivec.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-06-30 17:35:13 -0700
committerMichael Niedermayer <michaelni@gmx.at>2011-07-11 03:51:10 +0200
commit948ccdadf4b9c4b15e2777d25517ef1343675785 (patch)
tree98bcb64d78938eed5e01f1d11c808e65fb0af68c /libswscale/ppc/swscale_altivec.c
parentf2db5602ba8e51436a0b491c85f8b309fccb59c8 (diff)
swscale: for >8bit scaling, read in native bit-depth.
For 9/10bit, it means we don't have to upscale to 16bit before actual scaling or pixel format conversion, and thus a performance gain.
Diffstat (limited to 'libswscale/ppc/swscale_altivec.c')
-rw-r--r--libswscale/ppc/swscale_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/ppc/swscale_altivec.c b/libswscale/ppc/swscale_altivec.c
index b71e0fd949..8bc0ddd9d8 100644
--- a/libswscale/ppc/swscale_altivec.c
+++ b/libswscale/ppc/swscale_altivec.c
@@ -220,7 +220,7 @@ yuv2yuvX_altivec_real(SwsContext *c,
}
}
-static void hScale_altivec_real(int16_t *dst, int dstW,
+static void hScale_altivec_real(SwsContext *c, int16_t *dst, int dstW,
const uint8_t *src, const int16_t *filter,
const int16_t *filterPos, int filterSize)
{