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

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

Issue 1942853002: Removed the MIPS optimized code for the comfort noise generation in the AEC. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@RefactorAec2_CL
Patch Set: Rebase Created 4 years, 7 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], 214 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1],
215 float e_fft[2][PART_LEN1], 215 float e_fft[2][PART_LEN1],
216 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]); 216 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]);
217 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; 217 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation;
218 typedef void (*WebRtcAecOverdriveAndSuppress)(float overdrive_scaling, 218 typedef void (*WebRtcAecOverdriveAndSuppress)(float overdrive_scaling,
219 float hNl[PART_LEN1], 219 float hNl[PART_LEN1],
220 const float hNlFb, 220 const float hNlFb,
221 float efw[2][PART_LEN1]); 221 float efw[2][PART_LEN1]);
222 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress; 222 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress;
223 223
224 typedef void (*WebRtcAecComfortNoise)(AecCore* aec,
225 float efw[2][PART_LEN1],
226 float comfortNoiseHband[2][PART_LEN1],
227 const float* noisePow,
228 const float* lambda);
229 extern WebRtcAecComfortNoise WebRtcAec_ComfortNoise;
230
231 typedef void (*WebRtcAecSubBandCoherence)(int mult, 224 typedef void (*WebRtcAecSubBandCoherence)(int mult,
232 bool extended_filter_enabled, 225 bool extended_filter_enabled,
233 float efw[2][PART_LEN1], 226 float efw[2][PART_LEN1],
234 float dfw[2][PART_LEN1], 227 float dfw[2][PART_LEN1],
235 float xfw[2][PART_LEN1], 228 float xfw[2][PART_LEN1],
236 float* fft, 229 float* fft,
237 float* cohde, 230 float* cohde,
238 float* cohxd, 231 float* cohxd,
239 CoherenceState* coherence_state, 232 CoherenceState* coherence_state,
240 short* filter_divergence_state, 233 short* filter_divergence_state,
241 int* extreme_filter_divergence); 234 int* extreme_filter_divergence);
242 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; 235 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence;
243 236
244 typedef int (*WebRtcAecPartitionDelay)(const AecCore* aec); 237 typedef int (*WebRtcAecPartitionDelay)(const AecCore* aec);
245 extern WebRtcAecPartitionDelay WebRtcAec_PartitionDelay; 238 extern WebRtcAecPartitionDelay WebRtcAec_PartitionDelay;
246 239
247 typedef void (*WebRtcAecStoreAsComplex)(const float* data, 240 typedef void (*WebRtcAecStoreAsComplex)(const float* data,
248 float data_complex[2][PART_LEN1]); 241 float data_complex[2][PART_LEN1]);
249 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; 242 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex;
250 243
251 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); 244 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x);
252 extern WebRtcAecWindowData WebRtcAec_WindowData; 245 extern WebRtcAecWindowData WebRtcAec_WindowData;
253 246
254 } // namespace webrtc 247 } // namespace webrtc
255 248
256 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ 249 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec/aec_core.cc ('k') | webrtc/modules/audio_processing/aec/aec_core_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698