| 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_optimized_methods.h" |
| 23 #include "webrtc/modules/audio_processing/aec/aec_rdft.h" | 23 #include "webrtc/modules/audio_processing/aec/aec_rdft.h" |
| 24 | 24 |
| 25 namespace webrtc { | 25 namespace webrtc { |
| 26 | 26 |
| 27 extern const float WebRtcAec_weightCurve[65]; | 27 extern const float WebRtcAec_weightCurve[65]; |
| 28 extern const float WebRtcAec_overDriveCurve[65]; | 28 extern const float WebRtcAec_overDriveCurve[65]; |
| 29 | 29 |
| 30 void WebRtcAec_FilterFar_mips( | 30 void WebRtcAec_FilterFar_mips( |
| 31 int num_partitions, | 31 int num_partitions, |
| 32 int x_fft_buf_block_pos, | 32 int x_fft_buf_block_pos, |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 } | 480 } |
| 481 | 481 |
| 482 void WebRtcAec_InitAec_mips(void) { | 482 void WebRtcAec_InitAec_mips(void) { |
| 483 WebRtcAec_FilterFar = WebRtcAec_FilterFar_mips; | 483 WebRtcAec_FilterFar = WebRtcAec_FilterFar_mips; |
| 484 WebRtcAec_FilterAdaptation = WebRtcAec_FilterAdaptation_mips; | 484 WebRtcAec_FilterAdaptation = WebRtcAec_FilterAdaptation_mips; |
| 485 WebRtcAec_ScaleErrorSignal = WebRtcAec_ScaleErrorSignal_mips; | 485 WebRtcAec_ScaleErrorSignal = WebRtcAec_ScaleErrorSignal_mips; |
| 486 WebRtcAec_Overdrive = WebRtcAec_Overdrive_mips; | 486 WebRtcAec_Overdrive = WebRtcAec_Overdrive_mips; |
| 487 WebRtcAec_Suppress = WebRtcAec_Suppress_mips; | 487 WebRtcAec_Suppress = WebRtcAec_Suppress_mips; |
| 488 } | 488 } |
| 489 } // namespace webrtc | 489 } // namespace webrtc |
| OLD | NEW |