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

Side by Side Diff: webrtc/modules/audio_processing/aec3/suppression_gain.h

Issue 2784023002: Major AEC3 render pipeline changes (Closed)
Patch Set: Disabled one more DEATH test that caused issues due to bug on bots Created 3 years, 8 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 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_SUPPRESSION_GAIN_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_SUPPRESSION_GAIN_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_SUPPRESSION_GAIN_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_SUPPRESSION_GAIN_H_
13 13
14 #include <array> 14 #include <array>
15 15
16 #include "webrtc/base/constructormagic.h" 16 #include "webrtc/base/constructormagic.h"
17 #include "webrtc/modules/audio_processing/aec3/aec3_common.h" 17 #include "webrtc/modules/audio_processing/aec3/aec3_common.h"
18 #include "webrtc/modules/audio_processing/aec3/fft_buffer.h"
19 18
20 namespace webrtc { 19 namespace webrtc {
21 namespace aec3 { 20 namespace aec3 {
22 #if defined(WEBRTC_ARCH_X86_FAMILY) 21 #if defined(WEBRTC_ARCH_X86_FAMILY)
23 22
24 void ComputeGains_SSE2( 23 void ComputeGains_SSE2(
25 const std::array<float, kFftLengthBy2Plus1>& nearend_power, 24 const std::array<float, kFftLengthBy2Plus1>& nearend_power,
26 const std::array<float, kFftLengthBy2Plus1>& residual_echo_power, 25 const std::array<float, kFftLengthBy2Plus1>& residual_echo_power,
27 const std::array<float, kFftLengthBy2Plus1>& comfort_noise_power, 26 const std::array<float, kFftLengthBy2Plus1>& comfort_noise_power,
28 float strong_nearend_margin, 27 float strong_nearend_margin,
(...skipping 26 matching lines...) Expand all
55 private: 54 private:
56 const Aec3Optimization optimization_; 55 const Aec3Optimization optimization_;
57 std::array<float, kFftLengthBy2 - 1> previous_gain_squared_; 56 std::array<float, kFftLengthBy2 - 1> previous_gain_squared_;
58 std::array<float, kFftLengthBy2 - 1> previous_masker_; 57 std::array<float, kFftLengthBy2 - 1> previous_masker_;
59 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SuppressionGain); 58 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SuppressionGain);
60 }; 59 };
61 60
62 } // namespace webrtc 61 } // namespace webrtc
63 62
64 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_SUPPRESSION_GAIN_H_ 63 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_SUPPRESSION_GAIN_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec3/subtractor_unittest.cc ('k') | webrtc/modules/audio_processing/aec3/suppression_gain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698