OLD | NEW |
1 /* | 1 /* |
2 * http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html | 2 * http://www.kurims.kyoto-u.ac.jp/~ooura/fft.html |
3 * Copyright Takuya OOURA, 1996-2001 | 3 * Copyright Takuya OOURA, 1996-2001 |
4 * | 4 * |
5 * You may use, copy, modify and distribute this code for any purpose (include | 5 * You may use, copy, modify and distribute this code for any purpose (include |
6 * commercial use) and without fee. Please refer to this package when you modify | 6 * commercial use) and without fee. Please refer to this package when you modify |
7 * this code. | 7 * this code. |
8 * | 8 * |
9 * Changes by the WebRTC authors: | 9 * Changes by the WebRTC authors: |
10 * - Trivial type modifications. | 10 * - Trivial type modifications. |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 #if defined(WEBRTC_ARCH_X86_FAMILY) | 574 #if defined(WEBRTC_ARCH_X86_FAMILY) |
575 if (WebRtc_GetCPUInfo(kSSE2)) { | 575 if (WebRtc_GetCPUInfo(kSSE2)) { |
576 aec_rdft_init_sse2(); | 576 aec_rdft_init_sse2(); |
577 } | 577 } |
578 #endif | 578 #endif |
579 #if defined(MIPS_FPU_LE) | 579 #if defined(MIPS_FPU_LE) |
580 aec_rdft_init_mips(); | 580 aec_rdft_init_mips(); |
581 #endif | 581 #endif |
582 #if defined(WEBRTC_HAS_NEON) | 582 #if defined(WEBRTC_HAS_NEON) |
583 aec_rdft_init_neon(); | 583 aec_rdft_init_neon(); |
584 #elif defined(WEBRTC_DETECT_NEON) | |
585 if ((WebRtc_GetCPUFeaturesARM() & kCPUFeatureNEON) != 0) { | |
586 aec_rdft_init_neon(); | |
587 } | |
588 #endif | 584 #endif |
589 } | 585 } |
OLD | NEW |