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

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

Issue 1936203002: Made the method PartitionDelay independent of the AEC state. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@RefactorAec3_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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 float dfw[2][PART_LEN1], 227 float dfw[2][PART_LEN1],
228 float xfw[2][PART_LEN1], 228 float xfw[2][PART_LEN1],
229 float* fft, 229 float* fft,
230 float* cohde, 230 float* cohde,
231 float* cohxd, 231 float* cohxd,
232 CoherenceState* coherence_state, 232 CoherenceState* coherence_state,
233 short* filter_divergence_state, 233 short* filter_divergence_state,
234 int* extreme_filter_divergence); 234 int* extreme_filter_divergence);
235 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; 235 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence;
236 236
237 typedef int (*WebRtcAecPartitionDelay)(const AecCore* aec); 237 typedef int (*WebRtcAecPartitionDelay)(
238 int num_partitions,
239 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]);
238 extern WebRtcAecPartitionDelay WebRtcAec_PartitionDelay; 240 extern WebRtcAecPartitionDelay WebRtcAec_PartitionDelay;
239 241
240 typedef void (*WebRtcAecStoreAsComplex)(const float* data, 242 typedef void (*WebRtcAecStoreAsComplex)(const float* data,
241 float data_complex[2][PART_LEN1]); 243 float data_complex[2][PART_LEN1]);
242 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; 244 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex;
243 245
244 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); 246 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x);
245 extern WebRtcAecWindowData WebRtcAec_WindowData; 247 extern WebRtcAecWindowData WebRtcAec_WindowData;
246 248
247 } // namespace webrtc 249 } // namespace webrtc
248 250
249 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ 251 #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_neon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698