32 #define RESAMPLE_FUNCS(type, opt) \
33 int ff_resample_common_##type##_##opt(ResampleContext *c, void *dst, \
34 const void *src, int sz, int upd); \
35 int ff_resample_linear_##type##_##opt(ResampleContext *c, void *dst, \
36 const void *src, int sz, int upd)
55 c->dsp.resample_linear = ff_resample_linear_int16_sse2;
56 c->dsp.resample_common = ff_resample_common_int16_sse2;
59 c->dsp.resample_linear = ff_resample_linear_int16_xop;
60 c->dsp.resample_common = ff_resample_common_int16_xop;
65 c->dsp.resample_linear = ff_resample_linear_float_sse;
66 c->dsp.resample_common = ff_resample_common_float_sse;
69 c->dsp.resample_linear = ff_resample_linear_float_avx;
70 c->dsp.resample_common = ff_resample_common_float_avx;
73 c->dsp.resample_linear = ff_resample_linear_float_fma3;
74 c->dsp.resample_common = ff_resample_common_float_fma3;
77 c->dsp.resample_linear = ff_resample_linear_float_fma4;
78 c->dsp.resample_common = ff_resample_common_float_fma4;
83 c->dsp.resample_linear = ff_resample_linear_double_sse2;
84 c->dsp.resample_common = ff_resample_common_double_sse2;
87 c->dsp.resample_linear = ff_resample_linear_double_avx;
88 c->dsp.resample_common = ff_resample_common_double_avx;
91 c->dsp.resample_linear = ff_resample_linear_double_fma3;
92 c->dsp.resample_common = ff_resample_common_double_fma3;