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

Side by Side Diff: webrtc/modules/audio_processing/aec/aec_core.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 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1495 WebRtcAec_InitAec_SSE2(); 1495 WebRtcAec_InitAec_SSE2();
1496 } 1496 }
1497 #endif 1497 #endif
1498 1498
1499 #if defined(MIPS_FPU_LE) 1499 #if defined(MIPS_FPU_LE)
1500 WebRtcAec_InitAec_mips(); 1500 WebRtcAec_InitAec_mips();
1501 #endif 1501 #endif
1502 1502
1503 #if defined(WEBRTC_HAS_NEON) 1503 #if defined(WEBRTC_HAS_NEON)
1504 WebRtcAec_InitAec_neon(); 1504 WebRtcAec_InitAec_neon();
1505 #elif defined(WEBRTC_DETECT_NEON)
1506 if ((WebRtc_GetCPUFeaturesARM() & kCPUFeatureNEON) != 0) {
1507 WebRtcAec_InitAec_neon();
1508 }
1509 #endif 1505 #endif
1510 1506
1511 aec_rdft_init(); 1507 aec_rdft_init();
1512 1508
1513 return aec; 1509 return aec;
1514 } 1510 }
1515 1511
1516 void WebRtcAec_FreeAec(AecCore* aec) { 1512 void WebRtcAec_FreeAec(AecCore* aec) {
1517 int i; 1513 int i;
1518 if (aec == NULL) { 1514 if (aec == NULL) {
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
1957 1953
1958 int WebRtcAec_system_delay(AecCore* self) { 1954 int WebRtcAec_system_delay(AecCore* self) {
1959 return self->system_delay; 1955 return self->system_delay;
1960 } 1956 }
1961 1957
1962 void WebRtcAec_SetSystemDelay(AecCore* self, int delay) { 1958 void WebRtcAec_SetSystemDelay(AecCore* self, int delay) {
1963 assert(delay >= 0); 1959 assert(delay >= 0);
1964 self->system_delay = delay; 1960 self->system_delay = delay;
1965 } 1961 }
1966 } // namespace webrtc 1962 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec/aec_core.h ('k') | webrtc/modules/audio_processing/aec/aec_rdft.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698