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

Side by Side Diff: webrtc/modules/audio_processing/aec/aec_core_internal.h

Issue 1739993003: Adding fraction of filter divergence in AEC metrics. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: adding audibility and more Created 4 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 PowerLevel nearlevel; 114 PowerLevel nearlevel;
115 PowerLevel linoutlevel; 115 PowerLevel linoutlevel;
116 PowerLevel nlpoutlevel; 116 PowerLevel nlpoutlevel;
117 117
118 int metricsMode; 118 int metricsMode;
119 int stateCounter; 119 int stateCounter;
120 Stats erl; 120 Stats erl;
121 Stats erle; 121 Stats erle;
122 Stats aNlp; 122 Stats aNlp;
123 Stats rerl; 123 Stats rerl;
124 BlockMeanCalculator fraction_filter_divergent;
124 125
125 // Quantities to control H band scaling for SWB input 126 // Quantities to control H band scaling for SWB input
126 int freq_avg_ic; // initial bin for averaging nlp gain 127 int freq_avg_ic; // initial bin for averaging nlp gain
127 int flag_Hband_cn; // for comfort noise 128 int flag_Hband_cn; // for comfort noise
128 float cn_scale_Hband; // scale for comfort noise in H band 129 float cn_scale_Hband; // scale for comfort noise in H band
129 130
130 int delay_metrics_delivered; 131 int delay_metrics_delivered;
131 int delay_histogram[kHistorySizeBlocks]; 132 int delay_histogram[kHistorySizeBlocks];
132 int num_delay_values; 133 int num_delay_values;
133 int delay_median; 134 int delay_median;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 typedef void (*WebRtcAecStoreAsComplex)(const float* data, 227 typedef void (*WebRtcAecStoreAsComplex)(const float* data,
227 float data_complex[2][PART_LEN1]); 228 float data_complex[2][PART_LEN1]);
228 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; 229 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex;
229 230
230 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); 231 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x);
231 extern WebRtcAecWindowData WebRtcAec_WindowData; 232 extern WebRtcAecWindowData WebRtcAec_WindowData;
232 233
233 } // namespace webrtc 234 } // namespace webrtc
234 235
235 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ 236 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698