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

Side by Side Diff: webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_NONLINEAR_BEAMFORMER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_NONLINEAR_BEAMFORMER_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_NONLINEAR_BEAMFORMER_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_NONLINEAR_BEAMFORMER_H_
13 13
14 #include <vector> 14 #include <vector>
15 15
16 #include "webrtc/common_audio/lapped_transform.h" 16 #include "webrtc/common_audio/lapped_transform.h"
17 #include "webrtc/common_audio/channel_buffer.h" 17 #include "webrtc/common_audio/channel_buffer.h"
18 #include "webrtc/modules/audio_processing/beamformer/beamformer.h" 18 #include "webrtc/modules/audio_processing/beamformer/beamformer.h"
19 #include "webrtc/modules/audio_processing/beamformer/complex_matrix.h" 19 #include "webrtc/modules/audio_processing/beamformer/complex_matrix.h"
20 #include "webrtc/system_wrappers/interface/scoped_vector.h" 20 #include "webrtc/system_wrappers/include/scoped_vector.h"
21 21
22 namespace webrtc { 22 namespace webrtc {
23 23
24 // Enhances sound sources coming directly in front of a uniform linear array 24 // Enhances sound sources coming directly in front of a uniform linear array
25 // and suppresses sound sources coming from all other directions. Operates on 25 // and suppresses sound sources coming from all other directions. Operates on
26 // multichannel signals and produces single-channel output. 26 // multichannel signals and produces single-channel output.
27 // 27 //
28 // The implemented nonlinear postfilter algorithm taken from "A Robust Nonlinear 28 // The implemented nonlinear postfilter algorithm taken from "A Robust Nonlinear
29 // Beamforming Postprocessor" by Bastiaan Kleijn. 29 // Beamforming Postprocessor" by Bastiaan Kleijn.
30 class NonlinearBeamformer 30 class NonlinearBeamformer
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // Number of blocks after which the data is considered interference if the 169 // Number of blocks after which the data is considered interference if the
170 // mask does not pass |kMaskSignalThreshold|. 170 // mask does not pass |kMaskSignalThreshold|.
171 size_t hold_target_blocks_; 171 size_t hold_target_blocks_;
172 // Number of blocks since the last mask that passed |kMaskSignalThreshold|. 172 // Number of blocks since the last mask that passed |kMaskSignalThreshold|.
173 size_t interference_blocks_count_; 173 size_t interference_blocks_count_;
174 }; 174 };
175 175
176 } // namespace webrtc 176 } // namespace webrtc
177 177
178 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_NONLINEAR_BEAMFORMER_H_ 178 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_NONLINEAR_BEAMFORMER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_impl.cc ('k') | webrtc/modules/audio_processing/echo_cancellation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698