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

Side by Side Diff: talk/media/base/videoframe.h

Issue 1418913006: common_video: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 5 years, 1 month 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 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 12 matching lines...) Expand all
23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #ifndef TALK_MEDIA_BASE_VIDEOFRAME_H_ 28 #ifndef TALK_MEDIA_BASE_VIDEOFRAME_H_
29 #define TALK_MEDIA_BASE_VIDEOFRAME_H_ 29 #define TALK_MEDIA_BASE_VIDEOFRAME_H_
30 30
31 #include "webrtc/base/basictypes.h" 31 #include "webrtc/base/basictypes.h"
32 #include "webrtc/base/stream.h" 32 #include "webrtc/base/stream.h"
33 #include "webrtc/common_video/interface/video_frame_buffer.h" 33 #include "webrtc/common_video/include/video_frame_buffer.h"
34 #include "webrtc/common_video/rotation.h" 34 #include "webrtc/common_video/rotation.h"
35 35
36 namespace cricket { 36 namespace cricket {
37 37
38 // Represents a YUV420 (a.k.a. I420) video frame. 38 // Represents a YUV420 (a.k.a. I420) video frame.
39 class VideoFrame { 39 class VideoFrame {
40 public: 40 public:
41 VideoFrame() {} 41 VideoFrame() {}
42 virtual ~VideoFrame() {} 42 virtual ~VideoFrame() {}
43 43
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // Creates an empty frame. 211 // Creates an empty frame.
212 virtual VideoFrame *CreateEmptyFrame(int w, int h, size_t pixel_width, 212 virtual VideoFrame *CreateEmptyFrame(int w, int h, size_t pixel_width,
213 size_t pixel_height, 213 size_t pixel_height,
214 int64_t time_stamp) const = 0; 214 int64_t time_stamp) const = 0;
215 virtual void SetRotation(webrtc::VideoRotation rotation) = 0; 215 virtual void SetRotation(webrtc::VideoRotation rotation) = 0;
216 }; 216 };
217 217
218 } // namespace cricket 218 } // namespace cricket
219 219
220 #endif // TALK_MEDIA_BASE_VIDEOFRAME_H_ 220 #endif // TALK_MEDIA_BASE_VIDEOFRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698