OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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_MEDIA_WEBRTC_WEBRTCVIDEOFRAME_H_ | 11 #ifndef WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOFRAME_H_ |
12 #define WEBRTC_MEDIA_WEBRTC_WEBRTCVIDEOFRAME_H_ | 12 #define WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOFRAME_H_ |
13 | 13 |
14 #include "webrtc/base/buffer.h" | 14 #include "webrtc/base/buffer.h" |
15 #include "webrtc/base/refcount.h" | 15 #include "webrtc/base/refcount.h" |
16 #include "webrtc/base/scoped_ref_ptr.h" | 16 #include "webrtc/base/scoped_ref_ptr.h" |
17 #include "webrtc/common_types.h" | 17 #include "webrtc/common_types.h" |
18 #include "webrtc/common_video/include/video_frame_buffer.h" | 18 #include "webrtc/common_video/include/video_frame_buffer.h" |
19 #include "webrtc/media/base/videoframe.h" | 19 #include "webrtc/media/base/videoframe.h" |
20 | 20 |
21 namespace cricket { | 21 namespace cricket { |
22 | 22 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 int64_t time_stamp_ns_; | 111 int64_t time_stamp_ns_; |
112 webrtc::VideoRotation rotation_; | 112 webrtc::VideoRotation rotation_; |
113 | 113 |
114 // This is mutable as the calculation is expensive but once calculated, it | 114 // This is mutable as the calculation is expensive but once calculated, it |
115 // remains const. | 115 // remains const. |
116 mutable rtc::scoped_ptr<VideoFrame> rotated_frame_; | 116 mutable rtc::scoped_ptr<VideoFrame> rotated_frame_; |
117 }; | 117 }; |
118 | 118 |
119 } // namespace cricket | 119 } // namespace cricket |
120 | 120 |
121 #endif // WEBRTC_MEDIA_WEBRTC_WEBRTCVIDEOFRAME_H_ | 121 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOFRAME_H_ |
OLD | NEW |