summaryrefslogtreecommitdiffstats
path: root/libavcodec/alpha/pixblockdsp_alpha.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-20 13:47:29 +0100
committerClément Bœsch <u@pkh.me>2017-03-20 15:58:32 +0100
commite07fa3008bcafc027e9aa654657bae1f1ac64f5d (patch)
treefdc9dc3b4e4565b2a7b4a27a0ccbe77ab65e22b0 /libavcodec/alpha/pixblockdsp_alpha.c
parentce818d90bdb28d8591e6b81e020d1e7f87536649 (diff)
parentde452e503734ebb0fdbce86e9d16693b3530fad3 (diff)
downloadffmpeg-streaming-e07fa3008bcafc027e9aa654657bae1f1ac64f5d.zip
ffmpeg-streaming-e07fa3008bcafc027e9aa654657bae1f1ac64f5d.tar.gz
Merge commit 'de452e503734ebb0fdbce86e9d16693b3530fad3'
* commit 'de452e503734ebb0fdbce86e9d16693b3530fad3': pixblockdsp: Change type of stride parameters to ptrdiff_t Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/alpha/pixblockdsp_alpha.c')
-rw-r--r--libavcodec/alpha/pixblockdsp_alpha.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/alpha/pixblockdsp_alpha.c b/libavcodec/alpha/pixblockdsp_alpha.c
index 866b762..c2f1a1d 100644
--- a/libavcodec/alpha/pixblockdsp_alpha.c
+++ b/libavcodec/alpha/pixblockdsp_alpha.c
@@ -23,7 +23,7 @@
#include "asm.h"
static void get_pixels_mvi(int16_t *restrict block,
- const uint8_t *restrict pixels, ptrdiff_t line_size)
+ const uint8_t *restrict pixels, ptrdiff_t stride)
{
int h = 8;
@@ -34,13 +34,14 @@ static void get_pixels_mvi(int16_t *restrict block,
stq(unpkbw(p), block);
stq(unpkbw(p >> 32), block + 4);
- pixels += line_size;
+ pixels += stride;
block += 8;
} while (--h);
}
static void diff_pixels_mvi(int16_t *block, const uint8_t *s1, const uint8_t *s2,
- int stride) {
+ ptrdiff_t stride)
+{
int h = 8;
uint64_t mask = 0x4040;
OpenPOWER on IntegriCloud