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)
56 c->dsp.resample_linear = ff_resample_linear_int16_mmxext;
57 c->dsp.resample_common = ff_resample_common_int16_mmxext;
60 c->dsp.resample_linear = ff_resample_linear_int16_sse2;
61 c->dsp.resample_common = ff_resample_common_int16_sse2;
64 c->dsp.resample_linear = ff_resample_linear_int16_xop;
65 c->dsp.resample_common = ff_resample_common_int16_xop;
70 c->dsp.resample_linear = ff_resample_linear_float_sse;
71 c->dsp.resample_common = ff_resample_common_float_sse;
74 c->dsp.resample_linear = ff_resample_linear_float_avx;
75 c->dsp.resample_common = ff_resample_common_float_avx;
78 c->dsp.resample_linear = ff_resample_linear_float_fma3;
79 c->dsp.resample_common = ff_resample_common_float_fma3;
82 c->dsp.resample_linear = ff_resample_linear_float_fma4;
83 c->dsp.resample_common = ff_resample_common_float_fma4;
88 c->dsp.resample_linear = ff_resample_linear_double_sse2;
89 c->dsp.resample_common = ff_resample_common_double_sse2;
92 c->dsp.resample_linear = ff_resample_linear_double_avx;
93 c->dsp.resample_common = ff_resample_common_double_avx;
96 c->dsp.resample_linear = ff_resample_linear_double_fma3;
97 c->dsp.resample_common = ff_resample_common_double_fma3;