OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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_VIDEO_INCLUDE_VIDEO_FRAME_BUFFER_H_ | 11 #ifndef WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_BUFFER_H_ |
12 #define WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_BUFFER_H_ | 12 #define WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_BUFFER_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
16 #include "webrtc/api/video/video_frame_buffer.h" | 16 #include "webrtc/api/video/video_frame_buffer.h" |
17 #include "webrtc/rtc_base/callback.h" | 17 #include "webrtc/base/callback.h" |
18 #include "webrtc/rtc_base/scoped_ref_ptr.h" | 18 #include "webrtc/base/scoped_ref_ptr.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 | 21 |
22 // Deprecated. Please use WrapI420Buffer(...) instead. | 22 // Deprecated. Please use WrapI420Buffer(...) instead. |
23 class WrappedI420Buffer : public I420BufferInterface { | 23 class WrappedI420Buffer : public I420BufferInterface { |
24 public: | 24 public: |
25 WrappedI420Buffer(int width, | 25 WrappedI420Buffer(int width, |
26 int height, | 26 int height, |
27 const uint8_t* y_plane, | 27 const uint8_t* y_plane, |
28 int y_stride, | 28 int y_stride, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 int y_stride, | 86 int y_stride, |
87 const uint8_t* u_plane, | 87 const uint8_t* u_plane, |
88 int u_stride, | 88 int u_stride, |
89 const uint8_t* v_plane, | 89 const uint8_t* v_plane, |
90 int v_stride, | 90 int v_stride, |
91 const rtc::Callback0<void>& no_longer_used); | 91 const rtc::Callback0<void>& no_longer_used); |
92 | 92 |
93 } // namespace webrtc | 93 } // namespace webrtc |
94 | 94 |
95 #endif // WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_BUFFER_H_ | 95 #endif // WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_FRAME_BUFFER_H_ |
OLD | NEW |