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

Side by Side Diff: webrtc/common_audio/lapped_transform.h

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
« no previous file with comments | « webrtc/common_audio/fir_filter_sse.cc ('k') | webrtc/common_audio/real_fourier.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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_COMMON_AUDIO_LAPPED_TRANSFORM_H_ 11 #ifndef WEBRTC_COMMON_AUDIO_LAPPED_TRANSFORM_H_
12 #define WEBRTC_COMMON_AUDIO_LAPPED_TRANSFORM_H_ 12 #define WEBRTC_COMMON_AUDIO_LAPPED_TRANSFORM_H_
13 13
14 #include <complex> 14 #include <complex>
15 15
16 #include "webrtc/base/scoped_ptr.h" 16 #include "webrtc/base/scoped_ptr.h"
17 #include "webrtc/common_audio/blocker.h" 17 #include "webrtc/common_audio/blocker.h"
18 #include "webrtc/common_audio/real_fourier.h" 18 #include "webrtc/common_audio/real_fourier.h"
19 #include "webrtc/system_wrappers/interface/aligned_array.h" 19 #include "webrtc/system_wrappers/include/aligned_array.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 22
23 // Helper class for audio processing modules which operate on frequency domain 23 // Helper class for audio processing modules which operate on frequency domain
24 // input derived from the windowed time domain audio stream. 24 // input derived from the windowed time domain audio stream.
25 // 25 //
26 // The input audio chunk is sliced into possibly overlapping blocks, multiplied 26 // The input audio chunk is sliced into possibly overlapping blocks, multiplied
27 // by a window and transformed with an FFT implementation. The transformed data 27 // by a window and transformed with an FFT implementation. The transformed data
28 // is supplied to the given callback for processing. The processed output is 28 // is supplied to the given callback for processing. The processed output is
29 // then inverse transformed into the time domain and spliced back into a chunk 29 // then inverse transformed into the time domain and spliced back into a chunk
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const size_t cplx_length_; 114 const size_t cplx_length_;
115 AlignedArray<float> real_buf_; 115 AlignedArray<float> real_buf_;
116 AlignedArray<std::complex<float> > cplx_pre_; 116 AlignedArray<std::complex<float> > cplx_pre_;
117 AlignedArray<std::complex<float> > cplx_post_; 117 AlignedArray<std::complex<float> > cplx_post_;
118 }; 118 };
119 119
120 } // namespace webrtc 120 } // namespace webrtc
121 121
122 #endif // WEBRTC_COMMON_AUDIO_LAPPED_TRANSFORM_H_ 122 #endif // WEBRTC_COMMON_AUDIO_LAPPED_TRANSFORM_H_
123 123
OLDNEW
« no previous file with comments | « webrtc/common_audio/fir_filter_sse.cc ('k') | webrtc/common_audio/real_fourier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698