mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
audiomixer: add AVX optimized mixer functions
This commit is contained in:
parent
d8eb7ce81f
commit
e2f6a7a34e
4 changed files with 152 additions and 0 deletions
|
|
@ -46,6 +46,10 @@ struct mix_info {
|
|||
static struct mix_info mix_table[] =
|
||||
{
|
||||
/* f32 */
|
||||
#if defined(HAVE_AVX)
|
||||
{ SPA_AUDIO_FORMAT_F32, 1, SPA_CPU_FLAG_AVX, 4, mix_f32_avx },
|
||||
{ SPA_AUDIO_FORMAT_F32P, 1, SPA_CPU_FLAG_AVX, 4, mix_f32_avx },
|
||||
#endif
|
||||
#if defined (HAVE_SSE)
|
||||
{ SPA_AUDIO_FORMAT_F32, 1, SPA_CPU_FLAG_SSE, 4, mix_f32_sse },
|
||||
{ SPA_AUDIO_FORMAT_F32P, 1, SPA_CPU_FLAG_SSE, 4, mix_f32_sse },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue