audioconvert: add stereo deinterleave neon asm

This can take some shortcuts and convert twice as many samples in one
iteration as the strided stereo deinterleave one.
This commit is contained in:
Wim Taymans 2021-10-28 11:30:04 +02:00
parent 6fab8fabca
commit 0ace131d72
3 changed files with 84 additions and 0 deletions

View file

@ -66,6 +66,7 @@ static struct conv_info conv_table[] =
{ SPA_AUDIO_FORMAT_S16, SPA_AUDIO_FORMAT_F32, 0, 0, conv_s16_to_f32_c },
{ SPA_AUDIO_FORMAT_S16P, SPA_AUDIO_FORMAT_F32P, 0, 0, conv_s16d_to_f32d_c },
#if defined (HAVE_NEON)
{ SPA_AUDIO_FORMAT_S16, SPA_AUDIO_FORMAT_F32P, 2, SPA_CPU_FLAG_NEON, conv_s16_to_f32d_2_neon },
{ SPA_AUDIO_FORMAT_S16, SPA_AUDIO_FORMAT_F32P, 0, SPA_CPU_FLAG_NEON, conv_s16_to_f32d_neon },
#endif
#if defined (HAVE_AVX2)