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

Side by Side Diff: webrtc/modules/audio_processing/aec3/subtractor.cc

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: rebase Created 3 years, 3 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) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 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 #include "webrtc/modules/audio_processing/aec3/subtractor.h" 11 #include "webrtc/modules/audio_processing/aec3/subtractor.h"
12 12
13 #include <algorithm> 13 #include <algorithm>
14 14
15 #include "webrtc/api/array_view.h"
15 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" 16 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h"
16 #include "webrtc/rtc_base/array_view.h"
17 #include "webrtc/rtc_base/checks.h" 17 #include "webrtc/rtc_base/checks.h"
18 #include "webrtc/rtc_base/safe_minmax.h" 18 #include "webrtc/rtc_base/safe_minmax.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 namespace { 22 namespace {
23 23
24 void PredictionError(const Aec3Fft& fft, 24 void PredictionError(const Aec3Fft& fft,
25 const FftData& S, 25 const FftData& S,
26 rtc::ArrayView<const float> y, 26 rtc::ArrayView<const float> y,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 shadow_filter_.Adapt(render_buffer, G); 107 shadow_filter_.Adapt(render_buffer, G);
108 108
109 data_dumper_->DumpRaw("aec3_subtractor_G_shadow", G.re); 109 data_dumper_->DumpRaw("aec3_subtractor_G_shadow", G.re);
110 data_dumper_->DumpRaw("aec3_subtractor_G_shadow", G.im); 110 data_dumper_->DumpRaw("aec3_subtractor_G_shadow", G.im);
111 111
112 main_filter_.DumpFilter("aec3_subtractor_H_main"); 112 main_filter_.DumpFilter("aec3_subtractor_H_main");
113 shadow_filter_.DumpFilter("aec3_subtractor_H_shadow"); 113 shadow_filter_.DumpFilter("aec3_subtractor_H_shadow");
114 } 114 }
115 115
116 } // namespace webrtc 116 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec3/residual_echo_estimator.h ('k') | webrtc/modules/audio_processing/aec3/vector_math.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698