OLD | NEW |
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_ECHO_REMOVER_METRICS_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_REMOVER_METRICS_H_ |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_REMOVER_METRICS_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_REMOVER_METRICS_H_ |
13 | 13 |
14 #include "webrtc/base/constructormagic.h" | |
15 #include "webrtc/modules/audio_processing/aec3/aec_state.h" | 14 #include "webrtc/modules/audio_processing/aec3/aec_state.h" |
| 15 #include "webrtc/rtc_base/constructormagic.h" |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 // Handles the reporting of metrics for the echo remover. | 19 // Handles the reporting of metrics for the echo remover. |
20 class EchoRemoverMetrics { | 20 class EchoRemoverMetrics { |
21 public: | 21 public: |
22 struct DbMetric { | 22 struct DbMetric { |
23 DbMetric(); | 23 DbMetric(); |
24 DbMetric(float sum_value, float floor_value, float ceil_value); | 24 DbMetric(float sum_value, float floor_value, float ceil_value); |
25 void Update(float value); | 25 void Update(float value); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 float max_value, | 68 float max_value, |
69 float offset, | 69 float offset, |
70 float scaling, | 70 float scaling, |
71 float value); | 71 float value); |
72 | 72 |
73 } // namespace aec3 | 73 } // namespace aec3 |
74 | 74 |
75 } // namespace webrtc | 75 } // namespace webrtc |
76 | 76 |
77 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_REMOVER_METRICS_H_ | 77 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_REMOVER_METRICS_H_ |
OLD | NEW |