summaryrefslogtreecommitdiffstats
path: root/libavcodec/dv.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-09-06 16:06:12 +0200
committerDiego Biurrun <diego@biurrun.de>2016-09-14 14:12:36 +0200
commitde452e503734ebb0fdbce86e9d16693b3530fad3 (patch)
tree4a8055e1c5158b8d51c4f17b99c4befe9d45a19d /libavcodec/dv.h
parentab3554e1a7c04a5ea30f9c905de92348478ef7c8 (diff)
downloadffmpeg-streaming-de452e503734ebb0fdbce86e9d16693b3530fad3.zip
ffmpeg-streaming-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/dv.h')
-rw-r--r--libavcodec/dv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.h b/libavcodec/dv.h
index 1d1650c..f2c7ecf 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;
OpenPOWER on IntegriCloud