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

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

Issue 1494133002: Retyped the frequency estimate of the comfort noise for the higher band to harmonize the AEC code(#4 (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@ESUP_refactoring3_CL
Patch Set: Moved else statements Created 5 years 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]); 195 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]);
196 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; 196 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation;
197 typedef void (*WebRtcAecOverdriveAndSuppress)(AecCore* aec, 197 typedef void (*WebRtcAecOverdriveAndSuppress)(AecCore* aec,
198 float hNl[PART_LEN1], 198 float hNl[PART_LEN1],
199 const float hNlFb, 199 const float hNlFb,
200 float efw[2][PART_LEN1]); 200 float efw[2][PART_LEN1]);
201 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress; 201 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress;
202 202
203 typedef void (*WebRtcAecComfortNoise)(AecCore* aec, 203 typedef void (*WebRtcAecComfortNoise)(AecCore* aec,
204 float efw[2][PART_LEN1], 204 float efw[2][PART_LEN1],
205 complex_t* comfortNoiseHband, 205 float comfortNoiseHband[2][PART_LEN1],
206 const float* noisePow, 206 const float* noisePow,
207 const float* lambda); 207 const float* lambda);
208 extern WebRtcAecComfortNoise WebRtcAec_ComfortNoise; 208 extern WebRtcAecComfortNoise WebRtcAec_ComfortNoise;
209 209
210 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec, 210 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec,
211 float efw[2][PART_LEN1], 211 float efw[2][PART_LEN1],
212 float dfw[2][PART_LEN1], 212 float dfw[2][PART_LEN1],
213 float xfw[2][PART_LEN1], 213 float xfw[2][PART_LEN1],
214 float* fft, 214 float* fft,
215 float* cohde, 215 float* cohde,
216 float* cohxd, 216 float* cohxd,
217 int* const extreme_filter_divergence); 217 int* const extreme_filter_divergence);
218 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; 218 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence;
219 219
220 typedef int (*WebRtcAecPartitionDelay)(const AecCore* aec); 220 typedef int (*WebRtcAecPartitionDelay)(const AecCore* aec);
221 extern WebRtcAecPartitionDelay WebRtcAec_PartitionDelay; 221 extern WebRtcAecPartitionDelay WebRtcAec_PartitionDelay;
222 222
223 typedef void (*WebRtcAecStoreAsComplex)(const float* data, 223 typedef void (*WebRtcAecStoreAsComplex)(const float* data,
224 float data_complex[2][PART_LEN1]); 224 float data_complex[2][PART_LEN1]);
225 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; 225 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex;
226 226
227 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); 227 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x);
228 extern WebRtcAecWindowData WebRtcAec_WindowData; 228 extern WebRtcAecWindowData WebRtcAec_WindowData;
229 229
230 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ 230 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec/aec_core.c ('k') | webrtc/modules/audio_processing/aec/aec_core_mips.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698