Chromium Code Reviews| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 173 typedef void (*WebRtcAecFilterFar)( | 173 typedef void (*WebRtcAecFilterFar)( |
| 174 int num_partitions, | 174 int num_partitions, |
| 175 int xfBufBlockPos, | 175 int xfBufBlockPos, |
| 176 float xfBuf[2][kExtendedNumPartitions * PART_LEN1], | 176 float xfBuf[2][kExtendedNumPartitions * PART_LEN1], |
| 177 float wfBuf[2][kExtendedNumPartitions * PART_LEN1], | 177 float wfBuf[2][kExtendedNumPartitions * PART_LEN1], |
| 178 float yf[2][PART_LEN1]); | 178 float yf[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 xPow[PART_LEN1], |
|
hlundin-webrtc
2015/11/20 11:55:20
Can x_pow be made const?
hlundin-webrtc
2015/11/20 11:55:20
x_pow
peah-webrtc
2015/11/24 13:03:01
Done.
peah-webrtc
2015/11/24 13:03:01
Done.
| |
| 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 xfBufBlockPos, |
| 189 float xfBuf[2][kExtendedNumPartitions * PART_LEN1], | |
| 190 float ef[2][PART_LEN1], | |
| 191 float wfBuf[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 |