summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResamplerFirOps.h
diff options
context:
space:
mode:
authorAndy Hung <hunga@google.com>2015-02-06 15:05:37 -0800
committerAndy Hung <hunga@google.com>2015-03-03 15:23:19 -0800
commit6b667dde03a5707285a2ff76ada525075d4c60ef (patch)
tree1034167044ecb2bb9551020bd19441da40748904 /services/audioflinger/AudioResamplerFirOps.h
parentbf31b3301676ad86151f632e9ca186fd02445d86 (diff)
downloadframeworks_av-6b667dde03a5707285a2ff76ada525075d4c60ef.zip
frameworks_av-6b667dde03a5707285a2ff76ada525075d4c60ef.tar.gz
frameworks_av-6b667dde03a5707285a2ff76ada525075d4c60ef.tar.bz2
Improve resampler speed for floating point and arm64
Add floating point intrinsics for arm32 and arm64 devices. Add integer intrinsics for arm64 devices. Bug: 17366024 Change-Id: Id4240f549033deb262815c7145d69820e5fd7b92
Diffstat (limited to 'services/audioflinger/AudioResamplerFirOps.h')
-rw-r--r--services/audioflinger/AudioResamplerFirOps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioResamplerFirOps.h b/services/audioflinger/AudioResamplerFirOps.h
index bf2163f..4af328c 100644
--- a/services/audioflinger/AudioResamplerFirOps.h
+++ b/services/audioflinger/AudioResamplerFirOps.h
@@ -25,7 +25,7 @@ namespace android {
#define USE_INLINE_ASSEMBLY (false)
#endif
-#if USE_INLINE_ASSEMBLY && defined(__ARM_NEON__)
+#if defined(__aarch64__) || defined(__ARM_NEON__)
#define USE_NEON (true)
#include <arm_neon.h>
#else