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

Unified Diff: remoting/host/capturer.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 | « remoting/client/rectangle_update_decoder.cc ('k') | remoting/host/capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/capturer.h
diff --git a/remoting/host/capturer.h b/remoting/host/capturer.h
index 8a11ed505c880d66864b7013784dc89cfef6ec63..f9e967afe310a4cf2ab010fdf39a9df673ef65c0 100644
--- a/remoting/host/capturer.h
+++ b/remoting/host/capturer.h
@@ -49,13 +49,13 @@ class Capturer {
virtual void ScreenConfigurationChanged() = 0;
// Return the width of the screen.
- virtual int width() const { return width_; }
+ virtual int width() const;
// Return the height of the screen.
- virtual int height() const { return height_; }
+ virtual int height() const;
// Return the pixel format of the screen.
- virtual PixelFormat pixel_format() const { return pixel_format_; }
+ virtual media::VideoFrame::Format pixel_format() const;
// Clear out the list of invalid rects.
void ClearInvalidRects();
@@ -116,7 +116,7 @@ class Capturer {
int height_;
// Format of pixels returned in buffer.
- PixelFormat pixel_format_;
+ media::VideoFrame::Format pixel_format_;
int bytes_per_row_;
// The current buffer with valid data for reading.
« no previous file with comments | « remoting/client/rectangle_update_decoder.cc ('k') | remoting/host/capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698