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

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: Created 4 years, 10 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 PowerLevel nearlevel; 111 PowerLevel nearlevel;
112 PowerLevel linoutlevel; 112 PowerLevel linoutlevel;
113 PowerLevel nlpoutlevel; 113 PowerLevel nlpoutlevel;
114 114
115 int metricsMode; 115 int metricsMode;
116 int stateCounter; 116 int stateCounter;
117 Stats erl; 117 Stats erl;
118 Stats erle; 118 Stats erle;
119 Stats aNlp; 119 Stats aNlp;
120 Stats rerl; 120 Stats rerl;
121 int num_diverge_values;
122 int num_filter_diverge;
peah-webrtc 2016/02/29 14:05:56 I think it would make sense to bundle these into a
123 float fraction_filter_diverge;
121 124
122 // Quantities to control H band scaling for SWB input 125 // Quantities to control H band scaling for SWB input
123 int freq_avg_ic; // initial bin for averaging nlp gain 126 int freq_avg_ic; // initial bin for averaging nlp gain
124 int flag_Hband_cn; // for comfort noise 127 int flag_Hband_cn; // for comfort noise
125 float cn_scale_Hband; // scale for comfort noise in H band 128 float cn_scale_Hband; // scale for comfort noise in H band
126 129
127 int delay_metrics_delivered; 130 int delay_metrics_delivered;
128 int delay_histogram[kHistorySizeBlocks]; 131 int delay_histogram[kHistorySizeBlocks];
129 int num_delay_values; 132 int num_delay_values;
130 int delay_median; 133 int delay_median;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 extern WebRtcAecPartitionDelay WebRtcAec_PartitionDelay; 224 extern WebRtcAecPartitionDelay WebRtcAec_PartitionDelay;
222 225
223 typedef void (*WebRtcAecStoreAsComplex)(const float* data, 226 typedef void (*WebRtcAecStoreAsComplex)(const float* data,
224 float data_complex[2][PART_LEN1]); 227 float data_complex[2][PART_LEN1]);
225 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; 228 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex;
226 229
227 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); 230 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x);
228 extern WebRtcAecWindowData WebRtcAec_WindowData; 231 extern WebRtcAecWindowData WebRtcAec_WindowData;
229 232
230 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ 233 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698