Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Side by Side Diff: webrtc/modules/audio_processing/aec/aec_rdft.cc

Issue 1955413003: Remove runtime NEON detection (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: gyp syntax Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec/aec_rdft.h ('k') | webrtc/modules/audio_processing/aecm/aecm_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698