|
|
@ -78,6 +78,11 @@ extern void ff_conv_fltp_to_s16_6ch_sse2(int16_t *dst, float *const *src, |
|
|
|
extern void ff_conv_fltp_to_s16_6ch_avx (int16_t *dst, float *const *src, |
|
|
|
extern void ff_conv_fltp_to_s16_6ch_avx (int16_t *dst, float *const *src, |
|
|
|
int len, int channels); |
|
|
|
int len, int channels); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern void ff_conv_fltp_to_flt_2ch_sse(float *dst, float *const *src, int len, |
|
|
|
|
|
|
|
int channels); |
|
|
|
|
|
|
|
extern void ff_conv_fltp_to_flt_2ch_avx(float *dst, float *const *src, int len, |
|
|
|
|
|
|
|
int channels); |
|
|
|
|
|
|
|
|
|
|
|
extern void ff_conv_fltp_to_flt_6ch_mmx (float *dst, float *const *src, int len, |
|
|
|
extern void ff_conv_fltp_to_flt_6ch_mmx (float *dst, float *const *src, int len, |
|
|
|
int channels); |
|
|
|
int channels); |
|
|
|
extern void ff_conv_fltp_to_flt_6ch_sse4(float *dst, float *const *src, int len, |
|
|
|
extern void ff_conv_fltp_to_flt_6ch_sse4(float *dst, float *const *src, int len, |
|
|
@ -99,6 +104,8 @@ av_cold void ff_audio_convert_init_x86(AudioConvert *ac) |
|
|
|
if (mm_flags & AV_CPU_FLAG_SSE && HAVE_SSE) { |
|
|
|
if (mm_flags & AV_CPU_FLAG_SSE && HAVE_SSE) { |
|
|
|
ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, |
|
|
|
ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, |
|
|
|
6, 1, 2, "SSE", ff_conv_fltp_to_s16_6ch_sse); |
|
|
|
6, 1, 2, "SSE", ff_conv_fltp_to_s16_6ch_sse); |
|
|
|
|
|
|
|
ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_FLTP, |
|
|
|
|
|
|
|
2, 16, 8, "SSE", ff_conv_fltp_to_flt_2ch_sse); |
|
|
|
} |
|
|
|
} |
|
|
|
if (mm_flags & AV_CPU_FLAG_SSE2 && HAVE_SSE) { |
|
|
|
if (mm_flags & AV_CPU_FLAG_SSE2 && HAVE_SSE) { |
|
|
|
if (!(mm_flags & AV_CPU_FLAG_SSE2SLOW)) { |
|
|
|
if (!(mm_flags & AV_CPU_FLAG_SSE2SLOW)) { |
|
|
|