diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-09-06 17:06:12 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-09-14 15:12:36 +0300 |
commit | de452e503734ebb0fdbce86e9d16693b3530fad3 (patch) | |
tree | 4a8055e1c5158b8d51c4f17b99c4befe9d45a19d /libavcodec/dv.h | |
parent | ab3554e1a7c04a5ea30f9c905de92348478ef7c8 (diff) |
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/dv.h')
-rw-r--r-- | libavcodec/dv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.h b/libavcodec/dv.h index 1d1650c585..f2c7ecf3d9 100644 --- a/libavcodec/dv.h +++ b/libavcodec/dv.h @@ -45,7 +45,7 @@ typedef struct DVVideoContext { uint8_t dv_zigzag[2][64]; - void (*get_pixels)(int16_t *block, const uint8_t *pixels, int line_size); + void (*get_pixels)(int16_t *block, const uint8_t *pixels, ptrdiff_t linesize); void (*fdct[2])(int16_t *block); void (*idct_put[2])(uint8_t *dest, int line_size, int16_t *block); me_cmp_func ildct_cmp; |