aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-06-30 17:35:13 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-07-01 09:08:26 -0700
commit8a8d0ce208b77f506759185ff580fa61b5c41f70 (patch)
tree544655de68668abe121739fd51ab4b964aa6ca96 /libswscale/swscale_internal.h
parentcdc2c1c57616956d975c57b4b69eb73865f513f5 (diff)
downloadffmpeg-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/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index cfb19d9c13..e4b93c595b 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -440,7 +440,7 @@ typedef struct SwsContext {
* (and input coefficients thus padded with zeroes)
* to simplify creating SIMD code.
*/
- void (*hScale)(int16_t *dst, int dstW, const uint8_t *src,
+ void (*hScale)(struct SwsContext *c, int16_t *dst, int dstW, const uint8_t *src,
const int16_t *filter, const int16_t *filterPos,
int filterSize);