| OLD | NEW |
| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], | 223 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], |
| 224 float e_fft[2][PART_LEN1], | 224 float e_fft[2][PART_LEN1], |
| 225 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]); | 225 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]); |
| 226 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; | 226 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; |
| 227 typedef void (*WebRtcAecOverdriveAndSuppress)(float overdrive_scaling, | 227 typedef void (*WebRtcAecOverdriveAndSuppress)(float overdrive_scaling, |
| 228 float hNl[PART_LEN1], | 228 float hNl[PART_LEN1], |
| 229 const float hNlFb, | 229 const float hNlFb, |
| 230 float efw[2][PART_LEN1]); | 230 float efw[2][PART_LEN1]); |
| 231 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress; | 231 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress; |
| 232 | 232 |
| 233 typedef void (*WebRtcAecSubBandCoherence)(int mult, | 233 typedef void (*WebRtcAecComputeCoherence)(const CoherenceState* coherence_state, |
| 234 bool extended_filter_enabled, | |
| 235 float efw[2][PART_LEN1], | |
| 236 float dfw[2][PART_LEN1], | |
| 237 float xfw[2][PART_LEN1], | |
| 238 float* fft, | |
| 239 float* cohde, | 234 float* cohde, |
| 240 float* cohxd, | 235 float* cohxd); |
| 241 CoherenceState* coherence_state, | 236 extern WebRtcAecComputeCoherence WebRtcAec_ComputeCoherence; |
| 242 short* filter_divergence_state, | 237 |
| 243 int* extreme_filter_divergence); | 238 typedef void (*WebRtcAecUpdateCoherenceSpectra)(int mult, |
| 244 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; | 239 bool extended_filter_enabled, |
| 240 float efw[2][PART_LEN1], |
| 241 float dfw[2][PART_LEN1], |
| 242 float xfw[2][PART_LEN1], |
| 243 CoherenceState* coherence_state, |
| 244 short* filter_divergence_state, |
| 245 int* extreme_filter_divergence); |
| 246 extern WebRtcAecUpdateCoherenceSpectra WebRtcAec_UpdateCoherenceSpectra; |
| 245 | 247 |
| 246 typedef int (*WebRtcAecPartitionDelay)( | 248 typedef int (*WebRtcAecPartitionDelay)( |
| 247 int num_partitions, | 249 int num_partitions, |
| 248 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]); | 250 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]); |
| 249 extern WebRtcAecPartitionDelay WebRtcAec_PartitionDelay; | 251 extern WebRtcAecPartitionDelay WebRtcAec_PartitionDelay; |
| 250 | 252 |
| 251 typedef void (*WebRtcAecStoreAsComplex)(const float* data, | 253 typedef void (*WebRtcAecStoreAsComplex)(const float* data, |
| 252 float data_complex[2][PART_LEN1]); | 254 float data_complex[2][PART_LEN1]); |
| 253 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; | 255 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; |
| 254 | 256 |
| 255 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); | 257 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); |
| 256 extern WebRtcAecWindowData WebRtcAec_WindowData; | 258 extern WebRtcAecWindowData WebRtcAec_WindowData; |
| 257 | 259 |
| 258 } // namespace webrtc | 260 } // namespace webrtc |
| 259 | 261 |
| 260 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ | 262 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ |
| OLD | NEW |