| 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 |
| 11 /* | 11 /* |
| 12 * The core AEC algorithm, which is presented with time-aligned signals. | 12 * The core AEC algorithm, which is presented with time-aligned signals. |
| 13 */ | 13 */ |
| 14 | 14 |
| 15 #include "webrtc/modules/audio_processing/aec/aec_core.h" | 15 #include "webrtc/modules/audio_processing/aec/aec_core.h" |
| 16 | 16 |
| 17 #include <math.h> | 17 #include <math.h> |
| 18 | 18 |
| 19 extern "C" { | 19 extern "C" { |
| 20 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" | 20 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" |
| 21 } | 21 } |
| 22 #include "webrtc/modules/audio_processing/aec/aec_core_internal.h" | 22 #include "webrtc/modules/audio_processing/aec/aec_core_internal.h" |
| 23 extern "C" { | |
| 24 #include "webrtc/modules/audio_processing/aec/aec_rdft.h" | 23 #include "webrtc/modules/audio_processing/aec/aec_rdft.h" |
| 25 } | |
| 26 | 24 |
| 27 namespace webrtc { | 25 namespace webrtc { |
| 28 | 26 |
| 29 extern const float WebRtcAec_weightCurve[65]; | 27 extern const float WebRtcAec_weightCurve[65]; |
| 30 extern const float WebRtcAec_overDriveCurve[65]; | 28 extern const float WebRtcAec_overDriveCurve[65]; |
| 31 | 29 |
| 32 void WebRtcAec_ComfortNoise_mips(AecCore* aec, | 30 void WebRtcAec_ComfortNoise_mips(AecCore* aec, |
| 33 float efw[2][PART_LEN1], | 31 float efw[2][PART_LEN1], |
| 34 float comfortNoiseHband[2][PART_LEN1], | 32 float comfortNoiseHband[2][PART_LEN1], |
| 35 const float* noisePow, | 33 const float* noisePow, |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 } | 775 } |
| 778 | 776 |
| 779 void WebRtcAec_InitAec_mips(void) { | 777 void WebRtcAec_InitAec_mips(void) { |
| 780 WebRtcAec_FilterFar = WebRtcAec_FilterFar_mips; | 778 WebRtcAec_FilterFar = WebRtcAec_FilterFar_mips; |
| 781 WebRtcAec_FilterAdaptation = WebRtcAec_FilterAdaptation_mips; | 779 WebRtcAec_FilterAdaptation = WebRtcAec_FilterAdaptation_mips; |
| 782 WebRtcAec_ScaleErrorSignal = WebRtcAec_ScaleErrorSignal_mips; | 780 WebRtcAec_ScaleErrorSignal = WebRtcAec_ScaleErrorSignal_mips; |
| 783 WebRtcAec_ComfortNoise = WebRtcAec_ComfortNoise_mips; | 781 WebRtcAec_ComfortNoise = WebRtcAec_ComfortNoise_mips; |
| 784 WebRtcAec_OverdriveAndSuppress = WebRtcAec_OverdriveAndSuppress_mips; | 782 WebRtcAec_OverdriveAndSuppress = WebRtcAec_OverdriveAndSuppress_mips; |
| 785 } | 783 } |
| 786 } // namespace webrtc | 784 } // namespace webrtc |
| OLD | NEW |