* commit 'de452e5037':
  pixblockdsp: Change type of stride parameters to ptrdiff_t

Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
Clément Bœsch 2017-03-20 13:47:29 +01:00
commit e07fa3008b
13 changed files with 58 additions and 56 deletions

View file

@ -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;