| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 rtc_WavWriter* farFile; | 165 rtc_WavWriter* farFile; |
| 166 rtc_WavWriter* nearFile; | 166 rtc_WavWriter* nearFile; |
| 167 rtc_WavWriter* outFile; | 167 rtc_WavWriter* outFile; |
| 168 rtc_WavWriter* outLinearFile; | 168 rtc_WavWriter* outLinearFile; |
| 169 FILE* e_fft_file; | 169 FILE* e_fft_file; |
| 170 #endif | 170 #endif |
| 171 }; | 171 }; |
| 172 | 172 |
| 173 typedef void (*WebRtcAecFilterFar)( | 173 typedef void (*WebRtcAecFilterFar)( |
| 174 int num_partitions, | 174 int num_partitions, |
| 175 int x_fft_buffer_block_pos, | 175 int x_fft_buf_block_pos, |
| 176 float x_fft_buffer[2][kExtendedNumPartitions * PART_LEN1], | 176 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], |
| 177 float h_fft_buffer[2][kExtendedNumPartitions * PART_LEN1], | 177 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1], |
| 178 float y_fft[2][PART_LEN1]); | 178 float y_fft[2][PART_LEN1]); |
| 179 extern WebRtcAecFilterFar WebRtcAec_FilterFar; | 179 extern WebRtcAecFilterFar WebRtcAec_FilterFar; |
| 180 typedef void (*WebRtcAecScaleErrorSignal)(int extended_filter_enabled, | 180 typedef void (*WebRtcAecScaleErrorSignal)(int extended_filter_enabled, |
| 181 float normal_mu, | 181 float normal_mu, |
| 182 float normal_error_threshold, | 182 float normal_error_threshold, |
| 183 float* xPow, | 183 float x_pow[PART_LEN1], |
| 184 float ef[2][PART_LEN1]); | 184 float ef[2][PART_LEN1]); |
| 185 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; | 185 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; |
| 186 typedef void (*WebRtcAecFilterAdaptation)(AecCore* aec, | 186 typedef void (*WebRtcAecFilterAdaptation)( |
| 187 float* fft, | 187 int num_partitions, |
| 188 float ef[2][PART_LEN1]); | 188 int x_fft_buf_block_pos, |
| 189 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], |
| 190 float e_fft[2][PART_LEN1], |
| 191 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]); |
| 189 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; | 192 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; |
| 190 typedef void (*WebRtcAecOverdriveAndSuppress)(AecCore* aec, | 193 typedef void (*WebRtcAecOverdriveAndSuppress)(AecCore* aec, |
| 191 float hNl[PART_LEN1], | 194 float hNl[PART_LEN1], |
| 192 const float hNlFb, | 195 const float hNlFb, |
| 193 float efw[2][PART_LEN1]); | 196 float efw[2][PART_LEN1]); |
| 194 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress; | 197 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress; |
| 195 | 198 |
| 196 typedef void (*WebRtcAecComfortNoise)(AecCore* aec, | 199 typedef void (*WebRtcAecComfortNoise)(AecCore* aec, |
| 197 float efw[2][PART_LEN1], | 200 float efw[2][PART_LEN1], |
| 198 complex_t* comfortNoiseHband, | 201 complex_t* comfortNoiseHband, |
| 199 const float* noisePow, | 202 const float* noisePow, |
| 200 const float* lambda); | 203 const float* lambda); |
| 201 extern WebRtcAecComfortNoise WebRtcAec_ComfortNoise; | 204 extern WebRtcAecComfortNoise WebRtcAec_ComfortNoise; |
| 202 | 205 |
| 203 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec, | 206 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec, |
| 204 float efw[2][PART_LEN1], | 207 float efw[2][PART_LEN1], |
| 205 float xfw[2][PART_LEN1], | 208 float xfw[2][PART_LEN1], |
| 206 float* fft, | 209 float* fft, |
| 207 float* cohde, | 210 float* cohde, |
| 208 float* cohxd); | 211 float* cohxd); |
| 209 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; | 212 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; |
| 210 | 213 |
| 211 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ | 214 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ |
| OLD | NEW |