| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 float x_pow[PART_LEN1], | 208 float x_pow[PART_LEN1], |
| 209 float ef[2][PART_LEN1]); | 209 float ef[2][PART_LEN1]); |
| 210 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; | 210 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; |
| 211 typedef void (*WebRtcAecFilterAdaptation)( | 211 typedef void (*WebRtcAecFilterAdaptation)( |
| 212 int num_partitions, | 212 int num_partitions, |
| 213 int x_fft_buf_block_pos, | 213 int x_fft_buf_block_pos, |
| 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 |
| 219 float hNl[PART_LEN1], | 219 typedef void (*WebRtcAecOverdrive)(float overdrive_scaling, |
| 220 const float hNlFb, | 220 const float hNlFb, |
| 221 float efw[2][PART_LEN1]); | 221 float hNl[PART_LEN1]); |
| 222 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress; | 222 extern WebRtcAecOverdrive WebRtcAec_Overdrive; |
| 223 |
| 224 typedef void (*WebRtcAecSuppress)(const float hNl[PART_LEN1], |
| 225 float efw[2][PART_LEN1]); |
| 226 extern WebRtcAecSuppress WebRtcAec_Suppress; |
| 223 | 227 |
| 224 typedef void (*WebRtcAecComputeCoherence)(const CoherenceState* coherence_state, | 228 typedef void (*WebRtcAecComputeCoherence)(const CoherenceState* coherence_state, |
| 225 float* cohde, | 229 float* cohde, |
| 226 float* cohxd); | 230 float* cohxd); |
| 227 extern WebRtcAecComputeCoherence WebRtcAec_ComputeCoherence; | 231 extern WebRtcAecComputeCoherence WebRtcAec_ComputeCoherence; |
| 228 | 232 |
| 229 typedef void (*WebRtcAecUpdateCoherenceSpectra)(int mult, | 233 typedef void (*WebRtcAecUpdateCoherenceSpectra)(int mult, |
| 230 bool extended_filter_enabled, | 234 bool extended_filter_enabled, |
| 231 float efw[2][PART_LEN1], | 235 float efw[2][PART_LEN1], |
| 232 float dfw[2][PART_LEN1], | 236 float dfw[2][PART_LEN1], |
| (...skipping 11 matching lines...) Expand all Loading... |
| 244 typedef void (*WebRtcAecStoreAsComplex)(const float* data, | 248 typedef void (*WebRtcAecStoreAsComplex)(const float* data, |
| 245 float data_complex[2][PART_LEN1]); | 249 float data_complex[2][PART_LEN1]); |
| 246 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; | 250 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; |
| 247 | 251 |
| 248 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); | 252 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); |
| 249 extern WebRtcAecWindowData WebRtcAec_WindowData; | 253 extern WebRtcAecWindowData WebRtcAec_WindowData; |
| 250 | 254 |
| 251 } // namespace webrtc | 255 } // namespace webrtc |
| 252 | 256 |
| 253 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ | 257 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ |
| OLD | NEW |