30 #define MAX_CHANNELS 8
32 #define randomize_buffers() \
35 for (i = 0; i < BUF_SIZE; i += 4) { \
36 for (j = 0; j < channels; j++) { \
37 uint32_t r = rnd() & (1 << (bits - 2)) - 1; \
38 AV_WN32A(ref_src[j] + i, r); \
39 AV_WN32A(new_src[j] + i, r); \
44 static void check_decorrelate(uint8_t **ref_dst, uint8_t **ref_src, uint8_t **new_dst, uint8_t **new_src,
67 static const char *
const names[3] = {
"ls",
"rs",
"ms" };
78 for (
i = 0;
i < 2;
i++) {
80 for (j = 0; j < 3; j++)
81 if (
check_func(
h.decorrelate[j],
"flac_decorrelate_%s_%d", names[j], fmts[
i].bits))
85 if (
check_func(
h.decorrelate[0],
"flac_decorrelate_indep%d_%d", j, fmts[
i].bits))