30 #define randomize_buffers(buf, size) \
33 for (j = 0; j < size; j++) { \
35 AV_WN16A(buf + j, r); \
45 for (
i = 2;
i <= 5;
i++) {
46 int block_size = 1 <<
i;
47 int size = block_size * block_size;
48 int col_limit = block_size;
52 memcpy(coeffs1, coeffs0,
sizeof(*coeffs0) *
size);
56 if (memcmp(coeffs0, coeffs1,
sizeof(*coeffs0) *
size))
69 for (
i = 2;
i <= 5;
i++) {
70 int block_size = 1 <<
i;
71 int size = block_size * block_size;
75 memcpy(coeffs1, coeffs0,
sizeof(*coeffs0) *
size);
80 if (memcmp(coeffs0, coeffs1,
sizeof(*coeffs0) *
size))
93 int size = block_size * block_size;
97 memcpy(coeffs1, coeffs0,
sizeof(*coeffs0) *
size);
102 if (memcmp(coeffs0, coeffs1,
sizeof(*coeffs0) *
size))