diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-06-30 17:35:13 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-07-01 09:08:26 -0700 |
commit | 8a8d0ce208b77f506759185ff580fa61b5c41f70 (patch) | |
tree | 544655de68668abe121739fd51ab4b964aa6ca96 /libswscale/x86 | |
parent | cdc2c1c57616956d975c57b4b69eb73865f513f5 (diff) | |
download | ffmpeg-8a8d0ce208b77f506759185ff580fa61b5c41f70.tar.gz |
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/x86')
-rw-r--r-- | libswscale/x86/swscale_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/x86/swscale_template.c b/libswscale/x86/swscale_template.c index 54c7edc25e..f58ac520e1 100644 --- a/libswscale/x86/swscale_template.c +++ b/libswscale/x86/swscale_template.c @@ -1859,7 +1859,7 @@ static void RENAME(rgb24ToUV)(uint8_t *dstU, uint8_t *dstV, #if !COMPILE_TEMPLATE_MMX2 // bilinear / bicubic scaling -static void RENAME(hScale)(int16_t *dst, int dstW, +static void RENAME(hScale)(SwsContext *c, int16_t *dst, int dstW, const uint8_t *src, const int16_t *filter, const int16_t *filterPos, int filterSize) { |