|
|
|
@ -32,6 +32,9 @@ extern void ff_mix_2_to_1_s16p_flt_sse2(int16_t **src, float **matrix, int len, |
|
|
|
|
extern void ff_mix_2_to_1_s16p_flt_sse4(int16_t **src, float **matrix, int len, |
|
|
|
|
int out_ch, int in_ch); |
|
|
|
|
|
|
|
|
|
extern void ff_mix_2_to_1_s16p_q8_sse2(int16_t **src, int16_t **matrix, |
|
|
|
|
int len, int out_ch, int in_ch); |
|
|
|
|
|
|
|
|
|
av_cold void ff_audio_mix_init_x86(AudioMix *am) |
|
|
|
|
{ |
|
|
|
|
#if HAVE_YASM |
|
|
|
@ -44,6 +47,8 @@ av_cold void ff_audio_mix_init_x86(AudioMix *am) |
|
|
|
|
if (mm_flags & AV_CPU_FLAG_SSE2 && HAVE_SSE) { |
|
|
|
|
ff_audio_mix_set_func(am, AV_SAMPLE_FMT_S16P, AV_MIX_COEFF_TYPE_FLT, |
|
|
|
|
2, 1, 16, 8, "SSE2", ff_mix_2_to_1_s16p_flt_sse2); |
|
|
|
|
ff_audio_mix_set_func(am, AV_SAMPLE_FMT_S16P, AV_MIX_COEFF_TYPE_Q8, |
|
|
|
|
2, 1, 16, 8, "SSE2", ff_mix_2_to_1_s16p_q8_sse2); |
|
|
|
|
} |
|
|
|
|
if (mm_flags & AV_CPU_FLAG_SSE4 && HAVE_SSE) { |
|
|
|
|
ff_audio_mix_set_func(am, AV_SAMPLE_FMT_S16P, AV_MIX_COEFF_TYPE_FLT, |
|
|
|
|