OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 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_RTC_BASE_TRANSFORMADAPTER_H_ | 11 #ifndef WEBRTC_RTC_BASE_TRANSFORMADAPTER_H_ |
12 #define WEBRTC_RTC_BASE_TRANSFORMADAPTER_H_ | 12 #define WEBRTC_RTC_BASE_TRANSFORMADAPTER_H_ |
13 | 13 |
14 #include "webrtc/rtc_base/stream.h" | 14 #include "webrtc/base/stream.h" |
15 | 15 |
16 namespace rtc { | 16 namespace rtc { |
17 /////////////////////////////////////////////////////////////////////////////// | 17 /////////////////////////////////////////////////////////////////////////////// |
18 | 18 |
19 class TransformInterface { | 19 class TransformInterface { |
20 public: | 20 public: |
21 virtual ~TransformInterface() { } | 21 virtual ~TransformInterface() { } |
22 | 22 |
23 // Transform should convert the in_len bytes of input into the out_len-sized | 23 // Transform should convert the in_len bytes of input into the out_len-sized |
24 // output buffer. If flush is true, there will be no more data following | 24 // output buffer. If flush is true, there will be no more data following |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 char buffer_[BUFFER_SIZE]; | 76 char buffer_[BUFFER_SIZE]; |
77 size_t len_; | 77 size_t len_; |
78 }; | 78 }; |
79 | 79 |
80 /////////////////////////////////////////////////////////////////////////////// | 80 /////////////////////////////////////////////////////////////////////////////// |
81 | 81 |
82 } // namespace rtc | 82 } // namespace rtc |
83 | 83 |
84 #endif // WEBRTC_RTC_BASE_TRANSFORMADAPTER_H_ | 84 #endif // WEBRTC_RTC_BASE_TRANSFORMADAPTER_H_ |
OLD | NEW |