28 #define SRC_STRIDE 256
29 #define PIXELS (WIDTH * HEIGHT)
30 #define RANDOM_RANGE 80000
33 #define randomize_buffers(buf, size) \
36 uint8_t *tmp_buf = (uint8_t *)buf;\
37 for (j = 0; j< size; j++) \
38 tmp_buf[j] = rnd() & 0xFF; \
53 const uint8_t *
src,
int src_stride,
int w,
int h);
62 memset(dst_ref, 0,
PIXELS);
63 memset(dst_new, 0,
PIXELS);
70 if (memcmp(dst_ref, dst_new,
PIXELS))