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