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)(AecCore* aec, float yf[2][PART_LEN1]); | 173 typedef void (*WebRtcAecFilterFar)(AecCore* aec, float yf[2][PART_LEN1]); |
174 extern WebRtcAecFilterFar WebRtcAec_FilterFar; | 174 extern WebRtcAecFilterFar WebRtcAec_FilterFar; |
175 typedef void (*WebRtcAecScaleErrorSignal)(AecCore* aec, float ef[2][PART_LEN1]); | 175 typedef void (*WebRtcAecScaleErrorSignal)(int extended_filter_enabled, |
| 176 float normal_mu, |
| 177 float normal_error_threshold, |
| 178 float* xPow, |
| 179 float ef[2][PART_LEN1]); |
176 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; | 180 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; |
177 typedef void (*WebRtcAecFilterAdaptation)(AecCore* aec, | 181 typedef void (*WebRtcAecFilterAdaptation)(AecCore* aec, |
178 float* fft, | 182 float* fft, |
179 float ef[2][PART_LEN1]); | 183 float ef[2][PART_LEN1]); |
180 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; | 184 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; |
181 typedef void (*WebRtcAecOverdriveAndSuppress)(AecCore* aec, | 185 typedef void (*WebRtcAecOverdriveAndSuppress)(AecCore* aec, |
182 float hNl[PART_LEN1], | 186 float hNl[PART_LEN1], |
183 const float hNlFb, | 187 const float hNlFb, |
184 float efw[2][PART_LEN1]); | 188 float efw[2][PART_LEN1]); |
185 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress; | 189 extern WebRtcAecOverdriveAndSuppress WebRtcAec_OverdriveAndSuppress; |
186 | 190 |
187 typedef void (*WebRtcAecComfortNoise)(AecCore* aec, | 191 typedef void (*WebRtcAecComfortNoise)(AecCore* aec, |
188 float efw[2][PART_LEN1], | 192 float efw[2][PART_LEN1], |
189 complex_t* comfortNoiseHband, | 193 complex_t* comfortNoiseHband, |
190 const float* noisePow, | 194 const float* noisePow, |
191 const float* lambda); | 195 const float* lambda); |
192 extern WebRtcAecComfortNoise WebRtcAec_ComfortNoise; | 196 extern WebRtcAecComfortNoise WebRtcAec_ComfortNoise; |
193 | 197 |
194 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec, | 198 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec, |
195 float efw[2][PART_LEN1], | 199 float efw[2][PART_LEN1], |
196 float xfw[2][PART_LEN1], | 200 float xfw[2][PART_LEN1], |
197 float* fft, | 201 float* fft, |
198 float* cohde, | 202 float* cohde, |
199 float* cohxd); | 203 float* cohxd); |
200 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; | 204 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; |
201 | 205 |
202 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ | 206 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ |
OLD | NEW |