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
|
|
@ -72,6 +72,16 @@ if have_sse41
|
|||
simd_cargs += ['-DHAVE_SSE41']
|
||||
simd_dependencies += audioconvert_sse41
|
||||
endif
|
||||
if have_avx
|
||||
audioconvert_avx = static_library('audioconvert_avx',
|
||||
['channelmix-ops-avx.c'],
|
||||
c_args : [avx_args, '-O3', '-DHAVE_AVX', simd_cargs],
|
||||
dependencies : [ spa_dep ],
|
||||
install : false
|
||||
)
|
||||
simd_cargs += ['-DHAVE_AVX']
|
||||
simd_dependencies += audioconvert_avx
|
||||
endif
|
||||
if have_avx2 and have_fma
|
||||
audioconvert_avx2_fma = static_library('audioconvert_avx2_fma',
|
||||
['resample-native-avx2.c'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue