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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
217 float x_pow[PART_LEN1], | 217 float x_pow[PART_LEN1], |
218 float ef[2][PART_LEN1]); | 218 float ef[2][PART_LEN1]); |
219 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; | 219 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; |
220 typedef void (*WebRtcAecFilterAdaptation)( | 220 typedef void (*WebRtcAecFilterAdaptation)( |
221 int num_partitions, | 221 int num_partitions, |
222 int x_fft_buf_block_pos, | 222 int x_fft_buf_block_pos, |
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 |
228 float hNl[PART_LEN1], | 228 typedef void (*WebRtcAecOverdrive)(float overdrive_scaling, |
229 const float hNlFb, | 229 const float hNlFb, |
230 float efw[2][PART_LEN1]); | 230 float hNl[PART_LEN1]); |
231 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress; | 231 extern WebRtcAecOverdrive WebRtcAec_Overdrive; |
232 | |
233 typedef void (*WebRtcAecSuppress)(float hNl[PART_LEN1], | |
hlundin-webrtc
2016/05/03 08:22:29
hNl const here too. (And all other places that fol
peah-webrtc
2016/05/07 21:26:15
Done.
| |
234 float efw[2][PART_LEN1]); | |
235 extern WebRtcAecSuppress WebRtcAec_Suppress; | |
232 | 236 |
233 typedef void (*WebRtcAecComputeCoherence)(const CoherenceState* coherence_state, | 237 typedef void (*WebRtcAecComputeCoherence)(const CoherenceState* coherence_state, |
234 float* cohde, | 238 float* cohde, |
235 float* cohxd); | 239 float* cohxd); |
236 extern WebRtcAecComputeCoherence WebRtcAec_ComputeCoherence; | 240 extern WebRtcAecComputeCoherence WebRtcAec_ComputeCoherence; |
237 | 241 |
238 typedef void (*WebRtcAecUpdateCoherenceSpectra)(int mult, | 242 typedef void (*WebRtcAecUpdateCoherenceSpectra)(int mult, |
239 bool extended_filter_enabled, | 243 bool extended_filter_enabled, |
240 float efw[2][PART_LEN1], | 244 float efw[2][PART_LEN1], |
241 float dfw[2][PART_LEN1], | 245 float dfw[2][PART_LEN1], |
(...skipping 11 matching lines...) Expand all Loading... | |
253 typedef void (*WebRtcAecStoreAsComplex)(const float* data, | 257 typedef void (*WebRtcAecStoreAsComplex)(const float* data, |
254 float data_complex[2][PART_LEN1]); | 258 float data_complex[2][PART_LEN1]); |
255 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; | 259 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; |
256 | 260 |
257 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); | 261 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); |
258 extern WebRtcAecWindowData WebRtcAec_WindowData; | 262 extern WebRtcAecWindowData WebRtcAec_WindowData; |
259 | 263 |
260 } // namespace webrtc | 264 } // namespace webrtc |
261 | 265 |
262 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ | 266 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ |
OLD | NEW |