32 #define DECORRELATE_FUNCS(fmt, opt) \
33 void ff_flac_decorrelate_ls_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
34 int len, int shift); \
35 void ff_flac_decorrelate_rs_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
36 int len, int shift); \
37 void ff_flac_decorrelate_ms_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
38 int len, int shift); \
39 void ff_flac_decorrelate_indep2_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
40 int len, int shift); \
41 void ff_flac_decorrelate_indep4_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
42 int len, int shift); \
43 void ff_flac_decorrelate_indep6_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
44 int len, int shift); \
45 void ff_flac_decorrelate_indep8_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
59 #if CONFIG_FLAC_DECODER
63 c->
decorrelate[0] = ff_flac_decorrelate_indep2_16_sse2;
64 else if (channels == 4)
65 c->
decorrelate[0] = ff_flac_decorrelate_indep4_16_sse2;
66 else if (channels == 6)
67 c->
decorrelate[0] = ff_flac_decorrelate_indep6_16_sse2;
68 else if (ARCH_X86_64 && channels == 8)
69 c->
decorrelate[0] = ff_flac_decorrelate_indep8_16_sse2;
75 c->
decorrelate[0] = ff_flac_decorrelate_indep2_32_sse2;
76 else if (channels == 4)
77 c->
decorrelate[0] = ff_flac_decorrelate_indep4_32_sse2;
78 else if (channels == 6)
79 c->
decorrelate[0] = ff_flac_decorrelate_indep6_32_sse2;
80 else if (ARCH_X86_64 && channels == 8)
81 c->
decorrelate[0] = ff_flac_decorrelate_indep8_32_sse2;
93 if (ARCH_X86_64 && channels == 8)
94 c->
decorrelate[0] = ff_flac_decorrelate_indep8_16_avx;
97 c->
decorrelate[0] = ff_flac_decorrelate_indep4_32_avx;
98 else if (channels == 6)
99 c->
decorrelate[0] = ff_flac_decorrelate_indep6_32_avx;
100 else if (ARCH_X86_64 && channels == 8)
101 c->
decorrelate[0] = ff_flac_decorrelate_indep8_32_avx;
110 #if CONFIG_FLAC_ENCODER
112 if (CONFIG_GPL && bps == 16)