OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 13 matching lines...) Expand all Loading... |
24 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], | 24 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], |
25 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1], | 25 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1], |
26 float y_fft[2][PART_LEN1]); | 26 float y_fft[2][PART_LEN1]); |
27 extern WebRtcAecFilterFar WebRtcAec_FilterFar; | 27 extern WebRtcAecFilterFar WebRtcAec_FilterFar; |
28 typedef void (*WebRtcAecScaleErrorSignal)(float mu, | 28 typedef void (*WebRtcAecScaleErrorSignal)(float mu, |
29 float error_threshold, | 29 float error_threshold, |
30 float x_pow[PART_LEN1], | 30 float x_pow[PART_LEN1], |
31 float ef[2][PART_LEN1]); | 31 float ef[2][PART_LEN1]); |
32 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; | 32 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; |
33 typedef void (*WebRtcAecFilterAdaptation)( | 33 typedef void (*WebRtcAecFilterAdaptation)( |
| 34 const OouraFft& ooura_fft, |
34 int num_partitions, | 35 int num_partitions, |
35 int x_fft_buf_block_pos, | 36 int x_fft_buf_block_pos, |
36 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], | 37 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], |
37 float e_fft[2][PART_LEN1], | 38 float e_fft[2][PART_LEN1], |
38 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]); | 39 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]); |
39 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; | 40 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; |
40 | 41 |
41 typedef void (*WebRtcAecOverdrive)(float overdrive_scaling, | 42 typedef void (*WebRtcAecOverdrive)(float overdrive_scaling, |
42 const float hNlFb, | 43 const float hNlFb, |
43 float hNl[PART_LEN1]); | 44 float hNl[PART_LEN1]); |
(...skipping 26 matching lines...) Expand all Loading... |
70 typedef void (*WebRtcAecStoreAsComplex)(const float* data, | 71 typedef void (*WebRtcAecStoreAsComplex)(const float* data, |
71 float data_complex[2][PART_LEN1]); | 72 float data_complex[2][PART_LEN1]); |
72 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; | 73 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; |
73 | 74 |
74 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); | 75 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); |
75 extern WebRtcAecWindowData WebRtcAec_WindowData; | 76 extern WebRtcAecWindowData WebRtcAec_WindowData; |
76 | 77 |
77 } // namespace webrtc | 78 } // namespace webrtc |
78 | 79 |
79 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_OPTIMIZED_METHODS_H_ | 80 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_OPTIMIZED_METHODS_H_ |
OLD | NEW |