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

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

Issue 1665603003: Move gtest_prod_util.h out of webrtc/test tree. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 10 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
« no previous file with comments | « webrtc/common.gyp ('k') | webrtc/common_audio/resampler/sinc_resampler.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_MODULES_AUDIO_PROCESSING_CHANNEL_BUFFER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_CHANNEL_BUFFER_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_CHANNEL_BUFFER_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_CHANNEL_BUFFER_H_
13 13
14 #include <string.h> 14 #include <string.h>
15 15
16 #include "webrtc/base/checks.h" 16 #include "webrtc/base/checks.h"
17 #include "webrtc/base/gtest_prod_util.h"
17 #include "webrtc/base/scoped_ptr.h" 18 #include "webrtc/base/scoped_ptr.h"
18 #include "webrtc/common_audio/include/audio_util.h" 19 #include "webrtc/common_audio/include/audio_util.h"
19 #include "webrtc/test/testsupport/gtest_prod_util.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 22
23 // Helper to encapsulate a contiguous data buffer, full or split into frequency 23 // Helper to encapsulate a contiguous data buffer, full or split into frequency
24 // bands, with access to a pointer arrays of the deinterleaved channels and 24 // bands, with access to a pointer arrays of the deinterleaved channels and
25 // bands. The buffer is zero initialized at creation. 25 // bands. The buffer is zero initialized at creation.
26 // 26 //
27 // The buffer structure is showed below for a 2 channel and 2 bands case: 27 // The buffer structure is showed below for a 2 channel and 2 bands case:
28 // 28 //
29 // |data_|: 29 // |data_|:
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 mutable bool ivalid_; 161 mutable bool ivalid_;
162 mutable ChannelBuffer<int16_t> ibuf_; 162 mutable ChannelBuffer<int16_t> ibuf_;
163 mutable bool fvalid_; 163 mutable bool fvalid_;
164 mutable ChannelBuffer<float> fbuf_; 164 mutable ChannelBuffer<float> fbuf_;
165 }; 165 };
166 166
167 } // namespace webrtc 167 } // namespace webrtc
168 168
169 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_CHANNEL_BUFFER_H_ 169 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_CHANNEL_BUFFER_H_
OLDNEW
« no previous file with comments | « webrtc/common.gyp ('k') | webrtc/common_audio/resampler/sinc_resampler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698