diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-09-06 16:06:12 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-09-14 14:12:36 +0200 |
commit | de452e503734ebb0fdbce86e9d16693b3530fad3 (patch) | |
tree | 4a8055e1c5158b8d51c4f17b99c4befe9d45a19d /libavcodec/arm | |
parent | ab3554e1a7c04a5ea30f9c905de92348478ef7c8 (diff) | |
download | ffmpeg-de452e503734ebb0fdbce86e9d16693b3530fad3.tar.gz |
pixblockdsp: 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 "stride" everywhere.
Diffstat (limited to 'libavcodec/arm')
-rw-r--r-- | libavcodec/arm/pixblockdsp_init_arm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/arm/pixblockdsp_init_arm.c b/libavcodec/arm/pixblockdsp_init_arm.c index f20769b3bc..bb32631df4 100644 --- a/libavcodec/arm/pixblockdsp_init_arm.c +++ b/libavcodec/arm/pixblockdsp_init_arm.c @@ -24,9 +24,10 @@ #include "libavcodec/avcodec.h" #include "libavcodec/pixblockdsp.h" -void ff_get_pixels_armv6(int16_t *block, const uint8_t *pixels, int stride); +void ff_get_pixels_armv6(int16_t *block, const uint8_t *pixels, + ptrdiff_t stride); void ff_diff_pixels_armv6(int16_t *block, const uint8_t *s1, - const uint8_t *s2, int stride); + const uint8_t *s2, ptrdiff_t stride); av_cold void ff_pixblockdsp_init_arm(PixblockDSPContext *c, AVCodecContext *avctx, |