Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: webrtc/modules/audio_processing/aecm/aecm_core_c.c

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "webrtc/modules/audio_processing/aecm/aecm_core.h" 11 #include "webrtc/modules/audio_processing/aecm/aecm_core.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 #include <stddef.h> 14 #include <stddef.h>
15 #include <stdlib.h> 15 #include <stdlib.h>
16 16
17 #include "webrtc/common_audio/ring_buffer.h" 17 #include "webrtc/common_audio/ring_buffer.h"
18 #include "webrtc/common_audio/signal_processing/include/real_fft.h" 18 #include "webrtc/common_audio/signal_processing/include/real_fft.h"
19 #include "webrtc/modules/audio_processing/aecm/include/echo_control_mobile.h" 19 #include "webrtc/modules/audio_processing/aecm/include/echo_control_mobile.h"
20 #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h" 20 #include "webrtc/modules/audio_processing/utility/delay_estimator_wrapper.h"
21 #include "webrtc/system_wrappers/interface/compile_assert_c.h" 21 #include "webrtc/system_wrappers/include/compile_assert_c.h"
22 #include "webrtc/system_wrappers/interface/cpu_features_wrapper.h" 22 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h"
23 #include "webrtc/typedefs.h" 23 #include "webrtc/typedefs.h"
24 24
25 // Square root of Hanning window in Q14. 25 // Square root of Hanning window in Q14.
26 #if defined(WEBRTC_DETECT_NEON) || defined(WEBRTC_HAS_NEON) 26 #if defined(WEBRTC_DETECT_NEON) || defined(WEBRTC_HAS_NEON)
27 // Table is defined in an ARM assembly file. 27 // Table is defined in an ARM assembly file.
28 extern const ALIGN8_BEG int16_t WebRtcAecm_kSqrtHanning[] ALIGN8_END; 28 extern const ALIGN8_BEG int16_t WebRtcAecm_kSqrtHanning[] ALIGN8_END;
29 #else 29 #else
30 static const ALIGN8_BEG int16_t WebRtcAecm_kSqrtHanning[] ALIGN8_END = { 30 static const ALIGN8_BEG int16_t WebRtcAecm_kSqrtHanning[] ALIGN8_END = {
31 0, 399, 798, 1196, 1594, 1990, 2386, 2780, 3172, 31 0, 399, 798, 1196, 1594, 1990, 2386, 2780, 3172,
32 3562, 3951, 4337, 4720, 5101, 5478, 5853, 6224, 32 3562, 3951, 4337, 4720, 5101, 5478, 5853, 6224,
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 } 762 }
763 uImag[PART_LEN] = 0; 763 uImag[PART_LEN] = 0;
764 764
765 for (i = 0; i < PART_LEN1; i++) 765 for (i = 0; i < PART_LEN1; i++)
766 { 766 {
767 out[i].real = WebRtcSpl_AddSatW16(out[i].real, uReal[i]); 767 out[i].real = WebRtcSpl_AddSatW16(out[i].real, uReal[i]);
768 out[i].imag = WebRtcSpl_AddSatW16(out[i].imag, uImag[i]); 768 out[i].imag = WebRtcSpl_AddSatW16(out[i].imag, uImag[i]);
769 } 769 }
770 } 770 }
771 771
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aecm/aecm_core.c ('k') | webrtc/modules/audio_processing/agc/agc_manager_direct.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698