30 const int mask = (1 << depth) - 1;
33 const uint8_t *
src2, ptrdiff_t stride2);
49 for (
int off = 0; off < 2; off++) {
50 const uint8_t *p1 = (
const uint8_t *)(
src1 + off * 3);
51 const uint8_t *p2 = (
const uint8_t *)(
src2 + off * 5);
55 fprintf(stderr,
"sad_8x8_16_%d: %d != %d\n", depth,
ref,
new);
66 static const int depths[] = { 10, 12, 15, 16 };
#define i(width, name, range_min, range_max)
av_pixelutils_sad_fn ff_mpdecimate_get_sad16_fn(void)
Get the SAD function for 8x8 blocks of 16-bit samples.
static const uint16_t mask[17]
#define LOCAL_ALIGNED_32(t, v,...)
#define FF_ARRAY_ELEMS(a)
static void check_sad16(int depth)
void checkasm_check_mpdecimate(void)
static int ref[MAX_W *MAX_W]