| 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 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ |
| 13 | 13 |
| 14 #include "webrtc/common_audio/wav_file.h" | 14 #include "webrtc/common_audio/wav_file.h" |
| 15 #include "webrtc/modules/audio_processing/aec/aec_common.h" | 15 #include "webrtc/modules/audio_processing/aec/aec_common.h" |
| 16 #include "webrtc/modules/audio_processing/aec/aec_core.h" | 16 #include "webrtc/modules/audio_processing/aec/aec_core.h" |
| 17 #include "webrtc/modules/audio_processing/utility/block_mean_calculator.h" | 17 #include "webrtc/modules/audio_processing/utility/block_mean_calculator.h" |
| 18 extern "C" { |
| 18 #include "webrtc/modules/audio_processing/utility/ring_buffer.h" | 19 #include "webrtc/modules/audio_processing/utility/ring_buffer.h" |
| 20 } |
| 19 | 21 |
| 20 #include "webrtc/typedefs.h" | 22 #include "webrtc/typedefs.h" |
| 21 | 23 |
| 22 namespace webrtc { | 24 namespace webrtc { |
| 23 | 25 |
| 24 // Number of partitions for the extended filter mode. The first one is an enum | 26 // Number of partitions for the extended filter mode. The first one is an enum |
| 25 // to be used in array declarations, as it represents the maximum filter length. | 27 // to be used in array declarations, as it represents the maximum filter length. |
| 26 enum { kExtendedNumPartitions = 32 }; | 28 enum { kExtendedNumPartitions = 32 }; |
| 27 static const int kNormalNumPartitions = 12; | 29 static const int kNormalNumPartitions = 12; |
| 28 | 30 |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 typedef void (*WebRtcAecStoreAsComplex)(const float* data, | 227 typedef void (*WebRtcAecStoreAsComplex)(const float* data, |
| 226 float data_complex[2][PART_LEN1]); | 228 float data_complex[2][PART_LEN1]); |
| 227 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; | 229 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; |
| 228 | 230 |
| 229 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); | 231 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); |
| 230 extern WebRtcAecWindowData WebRtcAec_WindowData; | 232 extern WebRtcAecWindowData WebRtcAec_WindowData; |
| 231 | 233 |
| 232 } // namespace webrtc | 234 } // namespace webrtc |
| 233 | 235 |
| 234 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ | 236 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ |
| OLD | NEW |