| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |