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

Unified Diff: remoting/proto/video.proto

Issue 10736046: Add DPI information to video packets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer comments. Created 8 years, 5 months 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/base/encoder_vp8_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/proto/video.proto
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto
index 14415af4585e55ceb3f54a346d99c525de748a5d..01c57d44a0c6b3c84e2668d22b7c0974dc6f5119 100644
--- a/remoting/proto/video.proto
+++ b/remoting/proto/video.proto
@@ -33,6 +33,11 @@ message VideoPacketFormat {
// Width and height of the whole screen.
optional int32 screen_width = 6;
optional int32 screen_height = 7;
+
+ // Horizontal and vertical DPI of the screen. If either of these is zero or
+ // unset, the corresponding DPI should be assumed to be 96 (Windows' default)
+ optional int32 x_dpi = 8;
+ optional int32 y_dpi = 9;
}
// TODO(hclam): Remove this message once we can obtain dirty rects from libvpx.
« no previous file with comments | « remoting/base/encoder_vp8_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698