36#define DECORRELATE_FUNCS(fmt, opt) \
37void ff_flac_decorrelate_ls_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
38 int len, int shift); \
39void ff_flac_decorrelate_rs_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
40 int len, int shift); \
41void ff_flac_decorrelate_ms_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
44#define DECORRELATE_IFUNCS(fmt, opt) \
45void ff_flac_decorrelate_indep2_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
46 int len, int shift); \
47void ff_flac_decorrelate_indep4_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
48 int len, int shift); \
49void ff_flac_decorrelate_indep6_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
50 int len, int shift); \
51void ff_flac_decorrelate_indep8_##fmt##_##opt(uint8_t **out, int32_t **in, int channels, \
70 c->decorrelate[1] = ff_flac_decorrelate_ls_16_sse2;
71 c->decorrelate[2] = ff_flac_decorrelate_rs_16_sse2;
72 c->decorrelate[3] = ff_flac_decorrelate_ms_16_sse2;
74 c->decorrelate[1] = ff_flac_decorrelate_ls_32_sse2;
75 c->decorrelate[2] = ff_flac_decorrelate_rs_32_sse2;
76 c->decorrelate[3] = ff_flac_decorrelate_ms_32_sse2;
82 c->decorrelate[0] = ff_flac_decorrelate_indep2_16_ssse3;
84 c->decorrelate[0] = ff_flac_decorrelate_indep4_16_ssse3;
86 c->decorrelate[0] = ff_flac_decorrelate_indep6_16_ssse3;
89 c->decorrelate[0] = ff_flac_decorrelate_indep8_16_ssse3;
93 c->decorrelate[0] = ff_flac_decorrelate_indep2_32_ssse3;
95 c->decorrelate[0] = ff_flac_decorrelate_indep4_32_ssse3;
97 c->decorrelate[0] = ff_flac_decorrelate_indep6_32_ssse3;
100 c->decorrelate[0] = ff_flac_decorrelate_indep8_32_ssse3;
113 c->decorrelate[0] = ff_flac_decorrelate_indep8_16_avx;
117 c->decorrelate[0] = ff_flac_decorrelate_indep4_32_avx;
119 c->decorrelate[0] = ff_flac_decorrelate_indep6_32_avx;
122 c->decorrelate[0] = ff_flac_decorrelate_indep8_32_avx;
AVSampleFormat
Audio sample formats.
@ AV_SAMPLE_FMT_S32
signed 32 bits
@ AV_SAMPLE_FMT_S16
signed 16 bits
Macro definitions for various function/variable attributes.
static atomic_int cpu_flags
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
#define EXTERNAL_AVX(flags)
#define EXTERNAL_SSSE3(flags)
#define EXTERNAL_XOP(flags)
#define EXTERNAL_SSE4(flags)
#define EXTERNAL_SSE2(flags)
void ff_flac_wasted_33_sse4(int64_t *decoded, const int32_t *residual, int wasted, int len)
void ff_flac_wasted_32_sse2(int32_t *decoded, int wasted, int len)
#define DECORRELATE_FUNCS(fmt, opt)
av_cold void ff_flacdsp_init_x86(FLACDSPContext *c, enum AVSampleFormat fmt, int channels)
void ff_flac_lpc_16_sse4(int32_t *samples, const int coeffs[32], int order, int qlevel, int len)
void ff_flac_lpc_32_sse4(int32_t *samples, const int coeffs[32], int order, int qlevel, int len)
#define DECORRELATE_IFUNCS(fmt, opt)
void ff_flac_lpc_32_xop(int32_t *samples, const int coeffs[32], int order, int qlevel, int len)