diff options
author | Chris Robinson <[email protected]> | 2017-02-12 21:03:30 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-02-12 21:03:30 -0800 |
commit | 27695e2b24dea23d0db451fb0f9ae1c1af6f416e (patch) | |
tree | dcdcb64667dda864b05ede129049924047ffe01d /Alc/mixer_defs.h | |
parent | 427f484e01eb09581dc5d3d0fb3f961c23916599 (diff) |
Add NEON-enhanced resamplers
Diffstat (limited to 'Alc/mixer_defs.h')
-rw-r--r-- | Alc/mixer_defs.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/Alc/mixer_defs.h b/Alc/mixer_defs.h index 64da7680..4bafc839 100644 --- a/Alc/mixer_defs.h +++ b/Alc/mixer_defs.h @@ -67,10 +67,6 @@ inline void InitiatePositionArrays(ALuint frac, ALint increment, ALuint *restric } } -const ALfloat *Resample_bsinc32_SSE(const BsincState *state, const ALfloat *restrict src, - ALuint frac, ALint increment, ALfloat *restrict dst, - ALsizei dstlen); - const ALfloat *Resample_lerp32_SSE2(const BsincState *state, const ALfloat *restrict src, ALuint frac, ALint increment, ALfloat *restrict dst, ALsizei numsamples); @@ -92,6 +88,10 @@ const ALfloat *Resample_fir8_32_SSE41(const BsincState *state, const ALfloat *re ALuint frac, ALint increment, ALfloat *restrict dst, ALsizei numsamples); +const ALfloat *Resample_bsinc32_SSE(const BsincState *state, const ALfloat *restrict src, + ALuint frac, ALint increment, ALfloat *restrict dst, + ALsizei dstlen); + /* Neon mixers */ void MixHrtf_Neon(ALfloat *restrict LeftOut, ALfloat *restrict RightOut, const ALfloat *data, ALsizei Counter, ALsizei Offset, ALsizei OutPos, @@ -108,4 +108,18 @@ void MixRow_Neon(ALfloat *OutBuffer, const ALfloat *Gains, const ALfloat (*restrict data)[BUFFERSIZE], ALsizei InChans, ALsizei InPos, ALsizei BufferSize); +/* Neon resamplers */ +const ALfloat *Resample_lerp32_Neon(const BsincState *state, const ALfloat *restrict src, + ALuint frac, ALint increment, ALfloat *restrict dst, + ALsizei numsamples); +const ALfloat *Resample_fir4_32_Neon(const BsincState *state, const ALfloat *restrict src, + ALuint frac, ALint increment, ALfloat *restrict dst, + ALsizei numsamples); +const ALfloat *Resample_fir8_32_Neon(const BsincState *state, const ALfloat *restrict src, + ALuint frac, ALint increment, ALfloat *restrict dst, + ALsizei numsamples); +const ALfloat *Resample_bsinc32_Neon(const BsincState *state, const ALfloat *restrict src, + ALuint frac, ALint increment, ALfloat *restrict dst, + ALsizei dstlen); + #endif /* MIXER_DEFS_H */ |