mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-22 05:33:53 -04:00
audioconver: add avx channelmix copy function
This commit is contained in:
parent
c02cdcb5ce
commit
9ba0c3cfd3
4 changed files with 82 additions and 0 deletions
|
|
@ -36,6 +36,11 @@ static const struct channelmix_info {
|
|||
uint32_t cpu_flags;
|
||||
} channelmix_table[] =
|
||||
{
|
||||
#if defined (HAVE_AVX)
|
||||
MAKE(2, MASK_MONO, 2, MASK_MONO, channelmix_copy_avx, SPA_CPU_FLAG_AVX),
|
||||
MAKE(2, MASK_STEREO, 2, MASK_STEREO, channelmix_copy_avx, SPA_CPU_FLAG_AVX),
|
||||
MAKE(EQ, 0, EQ, 0, channelmix_copy_avx, SPA_CPU_FLAG_AVX),
|
||||
#endif
|
||||
#if defined (HAVE_SSE)
|
||||
MAKE(2, MASK_MONO, 2, MASK_MONO, channelmix_copy_sse, SPA_CPU_FLAG_SSE),
|
||||
MAKE(2, MASK_STEREO, 2, MASK_STEREO, channelmix_copy_sse, SPA_CPU_FLAG_SSE),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue