commit | 4699a6a4c1fa62cd72dfda7b08573678eabbcfa3 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Tue Feb 16 10:49:09 2016 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Thu Feb 18 09:25:32 2016 -0800 |
tree | 5ce6083c4b4b29fa6961ff59ab6f46b61a08f4af | |
parent | 262c39e35bf88e09dab3e0ae9f7df84db64273bb [diff] [blame] |
Clean up USE_NEON to make it easier to disable NEON for benchmarking Bug: 27242871 Change-Id: I30ba8bfe55885cde531706c760ec27e593d7f8b3
diff --git a/services/audioflinger/AudioResamplerFirOps.h b/services/audioflinger/AudioResamplerFirOps.h index 658285d..2a26496 100644 --- a/services/audioflinger/AudioResamplerFirOps.h +++ b/services/audioflinger/AudioResamplerFirOps.h
@@ -26,11 +26,15 @@ #endif #if defined(__aarch64__) || defined(__ARM_NEON__) +#ifndef USE_NEON #define USE_NEON (true) -#include <arm_neon.h> +#endif #else #define USE_NEON (false) #endif +#if USE_NEON +#include <arm_neon.h> +#endif template<typename T, typename U> struct is_same