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

Side by Side Diff: webrtc/modules/audio_processing/aec/aec_core_optimized_methods.h

Issue 2348213002: Move the aec_rdft* files to a more proper place beneath APM and make them thread-safe. (Closed)
Patch Set: Rebase Created 4 years, 2 months 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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 13 matching lines...) Expand all
24 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], 24 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1],
25 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1], 25 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1],
26 float y_fft[2][PART_LEN1]); 26 float y_fft[2][PART_LEN1]);
27 extern WebRtcAecFilterFar WebRtcAec_FilterFar; 27 extern WebRtcAecFilterFar WebRtcAec_FilterFar;
28 typedef void (*WebRtcAecScaleErrorSignal)(float mu, 28 typedef void (*WebRtcAecScaleErrorSignal)(float mu,
29 float error_threshold, 29 float error_threshold,
30 float x_pow[PART_LEN1], 30 float x_pow[PART_LEN1],
31 float ef[2][PART_LEN1]); 31 float ef[2][PART_LEN1]);
32 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; 32 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal;
33 typedef void (*WebRtcAecFilterAdaptation)( 33 typedef void (*WebRtcAecFilterAdaptation)(
34 const OouraFft& ooura_fft,
34 int num_partitions, 35 int num_partitions,
35 int x_fft_buf_block_pos, 36 int x_fft_buf_block_pos,
36 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1], 37 float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1],
37 float e_fft[2][PART_LEN1], 38 float e_fft[2][PART_LEN1],
38 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]); 39 float h_fft_buf[2][kExtendedNumPartitions * PART_LEN1]);
39 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation; 40 extern WebRtcAecFilterAdaptation WebRtcAec_FilterAdaptation;
40 41
41 typedef void (*WebRtcAecOverdrive)(float overdrive_scaling, 42 typedef void (*WebRtcAecOverdrive)(float overdrive_scaling,
42 const float hNlFb, 43 const float hNlFb,
43 float hNl[PART_LEN1]); 44 float hNl[PART_LEN1]);
(...skipping 26 matching lines...) Expand all
70 typedef void (*WebRtcAecStoreAsComplex)(const float* data, 71 typedef void (*WebRtcAecStoreAsComplex)(const float* data,
71 float data_complex[2][PART_LEN1]); 72 float data_complex[2][PART_LEN1]);
72 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex; 73 extern WebRtcAecStoreAsComplex WebRtcAec_StoreAsComplex;
73 74
74 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x); 75 typedef void (*WebRtcAecWindowData)(float* x_windowed, const float* x);
75 extern WebRtcAecWindowData WebRtcAec_WindowData; 76 extern WebRtcAecWindowData WebRtcAec_WindowData;
76 77
77 } // namespace webrtc 78 } // namespace webrtc
78 79
79 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_OPTIMIZED_METHODS_H_ 80 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_OPTIMIZED_METHODS_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec/aec_core_neon.cc ('k') | webrtc/modules/audio_processing/aec/aec_core_sse2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698