27 #define SRC_STRIDE 256
28 #define PIXELS (WIDTH * HEIGHT)
29 #define RANDOM_RANGE 80000
32 #define randomize_buffers(buf, size) \
35 uint8_t *tmp_buf = (uint8_t *)buf;\
36 for (j = 0; j< size; j++) \
37 tmp_buf[j] = rnd() & 0xFF; \
61 memset(dst_ref, 0,
PIXELS);
62 memset(dst_new, 0,
PIXELS);
69 if (memcmp(dst_ref, dst_new,
PIXELS))