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

Side by Side Diff: webrtc/modules/audio_processing/aec3/block_framer.h

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: rebase Created 3 years, 3 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
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_FRAMER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_FRAMER_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_FRAMER_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_FRAMER_H_
13 13
14 #include <vector> 14 #include <vector>
15 15
16 #include "webrtc/api/array_view.h"
16 #include "webrtc/modules/audio_processing/aec3/aec3_common.h" 17 #include "webrtc/modules/audio_processing/aec3/aec3_common.h"
17 #include "webrtc/rtc_base/array_view.h"
18 #include "webrtc/rtc_base/constructormagic.h" 18 #include "webrtc/rtc_base/constructormagic.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 // Class for producing frames consisting of 1 or 2 subframes of 80 samples each 22 // Class for producing frames consisting of 1 or 2 subframes of 80 samples each
23 // from 64 sample blocks. The class is designed to work together with the 23 // from 64 sample blocks. The class is designed to work together with the
24 // FrameBlocker class which performs the reverse conversion. Used together with 24 // FrameBlocker class which performs the reverse conversion. Used together with
25 // that, this class produces output frames are the same rate as frames are 25 // that, this class produces output frames are the same rate as frames are
26 // received by the FrameBlocker class. Note that the internal buffers will 26 // received by the FrameBlocker class. Note that the internal buffers will
27 // overrun if any other rate of packets insertion is used. 27 // overrun if any other rate of packets insertion is used.
(...skipping 10 matching lines...) Expand all
38 38
39 private: 39 private:
40 const size_t num_bands_; 40 const size_t num_bands_;
41 std::vector<std::vector<float>> buffer_; 41 std::vector<std::vector<float>> buffer_;
42 42
43 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(BlockFramer); 43 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(BlockFramer);
44 }; 44 };
45 } // namespace webrtc 45 } // namespace webrtc
46 46
47 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_FRAMER_H_ 47 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_FRAMER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec3/aec_state.cc ('k') | webrtc/modules/audio_processing/aec3/cascaded_biquad_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698