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

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

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 Created 3 years, 5 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
11 /* 11 /*
12 * The core AEC algorithm, which is presented with time-aligned signals. 12 * The core AEC algorithm, which is presented with time-aligned signals.
13 */ 13 */
14 14
15 #include "webrtc/modules/audio_processing/aec/aec_core.h" 15 #include "webrtc/modules/audio_processing/aec/aec_core.h"
16 16
17 #include <algorithm> 17 #include <algorithm>
18 #include <math.h> 18 #include <math.h>
19 #include <stddef.h> // size_t 19 #include <stddef.h> // size_t
20 #include <stdlib.h> 20 #include <stdlib.h>
21 #include <string.h> 21 #include <string.h>
22 22
23 #include "webrtc/base/checks.h" 23 #include "webrtc/rtc_base/checks.h"
24 extern "C" { 24 extern "C" {
25 #include "webrtc/common_audio/ring_buffer.h" 25 #include "webrtc/common_audio/ring_buffer.h"
26 } 26 }
27 #include "webrtc/base/checks.h"
28 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar y.h" 27 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar y.h"
29 #include "webrtc/modules/audio_processing/aec/aec_common.h" 28 #include "webrtc/modules/audio_processing/aec/aec_common.h"
30 #include "webrtc/modules/audio_processing/aec/aec_core_optimized_methods.h" 29 #include "webrtc/modules/audio_processing/aec/aec_core_optimized_methods.h"
31 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" 30 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h"
32 #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h" 31 #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h"
32 #include "webrtc/rtc_base/checks.h"
33 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h" 33 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h"
34 #include "webrtc/system_wrappers/include/metrics.h" 34 #include "webrtc/system_wrappers/include/metrics.h"
35 #include "webrtc/typedefs.h" 35 #include "webrtc/typedefs.h"
36 36
37 namespace webrtc { 37 namespace webrtc {
38 namespace { 38 namespace {
39 enum class DelaySource { 39 enum class DelaySource {
40 kSystemDelay, // The delay values come from the OS. 40 kSystemDelay, // The delay values come from the OS.
41 kDelayAgnostic, // The delay values come from the DA-AEC. 41 kDelayAgnostic, // The delay values come from the DA-AEC.
42 }; 42 };
(...skipping 1995 matching lines...) Expand 10 before | Expand all | Expand 10 after
2038 2038
2039 int WebRtcAec_system_delay(AecCore* self) { 2039 int WebRtcAec_system_delay(AecCore* self) {
2040 return self->system_delay; 2040 return self->system_delay;
2041 } 2041 }
2042 2042
2043 void WebRtcAec_SetSystemDelay(AecCore* self, int delay) { 2043 void WebRtcAec_SetSystemDelay(AecCore* self, int delay) {
2044 RTC_DCHECK_GE(delay, 0); 2044 RTC_DCHECK_GE(delay, 0);
2045 self->system_delay = delay; 2045 self->system_delay = delay;
2046 } 2046 }
2047 } // namespace webrtc 2047 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec/aec_core.h ('k') | webrtc/modules/audio_processing/aec/aec_resampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698