diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-08-24 11:52:10 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-08-26 11:50:21 +0200 |
commit | 3fd22538bc0e0de84b31335266b4b1577d3d609e (patch) | |
tree | 97b7aed8f03aa6a1352934ca9407da515bfd574c /libavcodec/x86/proresdsp_init.c | |
parent | f81be06cf614919d71ded29b8f595bef40123ad8 (diff) | |
download | ffmpeg-3fd22538bc0e0de84b31335266b4b1577d3d609e.tar.gz |
prores: Change type of stride parameters to ptrdiff_t
This avoids SIMD-optimized functions having to sign-extend their
line size argument manually to be able to do pointer arithmetic.
Also adjust parameter names to be "linesize" everywhere.
Diffstat (limited to 'libavcodec/x86/proresdsp_init.c')
-rw-r--r-- | libavcodec/x86/proresdsp_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/proresdsp_init.c b/libavcodec/x86/proresdsp_init.c index e82dac0448..ff4d39836b 100644 --- a/libavcodec/x86/proresdsp_init.c +++ b/libavcodec/x86/proresdsp_init.c @@ -25,11 +25,11 @@ #include "libavcodec/idctdsp.h" #include "libavcodec/proresdsp.h" -void ff_prores_idct_put_10_sse2(uint16_t *dst, int linesize, +void ff_prores_idct_put_10_sse2(uint16_t *dst, ptrdiff_t linesize, int16_t *block, const int16_t *qmat); -void ff_prores_idct_put_10_sse4(uint16_t *dst, int linesize, +void ff_prores_idct_put_10_sse4(uint16_t *dst, ptrdiff_t linesize, int16_t *block, const int16_t *qmat); -void ff_prores_idct_put_10_avx (uint16_t *dst, int linesize, +void ff_prores_idct_put_10_avx (uint16_t *dst, ptrdiff_t linesize, int16_t *block, const int16_t *qmat); av_cold void ff_proresdsp_init_x86(ProresDSPContext *dsp) |