32 #define randomize_buffers(size) \
35 for (i = 0; i < size; i++) { \
37 AV_WN16A(buf0 + i, r); \
38 AV_WN16A(buf1 + i, r); \
42 #define check_clear(func, size) \
44 if (check_func(h.func, "blockdsp." #func)) { \
45 declare_func(void, int16_t *block); \
46 randomize_buffers(size); \
49 if (memcmp(buf0, buf1, sizeof(*buf0) * size)) \
59 for (
int t = 0; t < 2; ++t) {
60 uint8_t *buf0 = buf0_16 + t * 8;
61 uint8_t *buf1 = buf1_16 + t * 8;
64 ptrdiff_t line_size,
int h);
65 if (
check_func(
h->fill_block_tab[t],
"blockdsp.fill_block_tab[%d]", t)) {
67 memset(buf0, 0,
sizeof(*buf0) * n * n);
68 memset(buf1, 0,
sizeof(*buf1) * n * n);
71 if (memcmp(buf0, buf1,
sizeof(*buf0) * n * n))