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

Unified Diff: remoting/base/capture_data.h

Issue 4476003: Add VideoPacket struct for video packets. Refactor Decode interface to use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/base/capture_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/capture_data.h
diff --git a/remoting/base/capture_data.h b/remoting/base/capture_data.h
index 97631abc52a29256cd2d79620e7657f01b8943eb..f399e709a9ff772e702318d7ec1e4d3179e4eace 100644
--- a/remoting/base/capture_data.h
+++ b/remoting/base/capture_data.h
@@ -9,8 +9,8 @@
#include "base/basictypes.h"
#include "base/ref_counted.h"
+#include "media/base/video_frame.h"
#include "remoting/base/types.h"
-#include "remoting/proto/video.pb.h"
namespace remoting {
@@ -29,7 +29,7 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
CaptureData(const DataPlanes &data_planes,
int width,
int height,
- PixelFormat format);
+ media::VideoFrame::Format format);
// Get the data_planes data of the last capture.
const DataPlanes& data_planes() const { return data_planes_; }
@@ -45,7 +45,7 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
int height() const { return height_; }
// Get the pixel format of the image captured.
- PixelFormat pixel_format() const { return pixel_format_; }
+ media::VideoFrame::Format pixel_format() const { return pixel_format_; }
// Mutating methods.
InvalidRects& mutable_dirty_rects() { return dirty_rects_; }
@@ -55,7 +55,7 @@ class CaptureData : public base::RefCountedThreadSafe<CaptureData> {
InvalidRects dirty_rects_;
int width_;
int height_;
- PixelFormat pixel_format_;
+ media::VideoFrame::Format pixel_format_;
friend class base::RefCountedThreadSafe<CaptureData>;
virtual ~CaptureData();
« no previous file with comments | « no previous file | remoting/base/capture_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698