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

Side by Side Diff: remoting/capturer/video_frame.h

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « remoting/capturer/video_capturer_mock_objects.cc ('k') | remoting/capturer/video_frame.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_VIDEO_FRAME_H_ 5 #ifndef REMOTING_CAPTURER_VIDEO_FRAME_H_
6 #define REMOTING_HOST_VIDEO_FRAME_H_ 6 #define REMOTING_CAPTURER_VIDEO_FRAME_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "remoting/base/shared_buffer.h" 11 #include "remoting/capturer/shared_buffer.h"
12 #include "third_party/skia/include/core/SkSize.h"
12 #include "third_party/skia/include/core/SkTypes.h" 13 #include "third_party/skia/include/core/SkTypes.h"
13 #include "third_party/skia/include/core/SkSize.h"
14 14
15 namespace remoting { 15 namespace remoting {
16 16
17 // Represents a video frame. 17 // Represents a video frame.
18 class VideoFrame { 18 class VideoFrame {
19 public: 19 public:
20 virtual ~VideoFrame(); 20 virtual ~VideoFrame();
21 21
22 int bytes_per_row() const { return bytes_per_row_; } 22 int bytes_per_row() const { return bytes_per_row_; }
23 const SkISize& dimensions() const { return dimensions_; } 23 const SkISize& dimensions() const { return dimensions_; }
(...skipping 29 matching lines...) Expand all
53 uint8* pixels_; 53 uint8* pixels_;
54 54
55 // Points to an optional shared memory buffer that backs up |pixels_| buffer. 55 // Points to an optional shared memory buffer that backs up |pixels_| buffer.
56 scoped_refptr<SharedBuffer> shared_buffer_; 56 scoped_refptr<SharedBuffer> shared_buffer_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(VideoFrame); 58 DISALLOW_COPY_AND_ASSIGN(VideoFrame);
59 }; 59 };
60 60
61 } // namespace remoting 61 } // namespace remoting
62 62
63 #endif // REMOTING_HOST_VIDEO_FRAME_H_ 63 #endif // REMOTING_CAPTURER_VIDEO_FRAME_H_
OLDNEW
« no previous file with comments | « remoting/capturer/video_capturer_mock_objects.cc ('k') | remoting/capturer/video_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698