audio: Added ARM NEON versions of audio converters.

These are _much_ faster than the scalar equivalents on the Raspberry Pi that
I tested on. Often 3x to 4x as fast!
This commit is contained in:
Ryan C. Gordon
2018-05-16 02:03:06 -04:00
parent cb0e614fb1
commit b7e88aaae0
3 changed files with 555 additions and 2 deletions

View File

@@ -57,6 +57,9 @@
#undef bool
#endif
#endif
#if defined(__ARM_NEON__) && !defined(SDL_DISABLE_ARM_NEON_H)
#include <arm_neon.h>
#endif
#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)
#include <mm3dnow.h>
#endif