diff options
author | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-14 02:35:16 +0000 |
---|---|---|
committer | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-14 02:35:16 +0000 |
commit | 611c31573a92d6db8b3117f15c5bf26c66923f82 (patch) | |
tree | b57678064bd1ff4b7b9d112e71a635fd2771bcb1 /remoting/proto/video.proto | |
parent | 6cb8334d0d92097a3a91d0499223b59868ffac51 (diff) | |
download | chromium_src-611c31573a92d6db8b3117f15c5bf26c66923f82.zip chromium_src-611c31573a92d6db8b3117f15c5bf26c66923f82.tar.gz chromium_src-611c31573a92d6db8b3117f15c5bf26c66923f82.tar.bz2 |
Add DPI information to video packets.
The intention is that capturers can add this information and the client can
make use of it to up-scale the desktop if it DPI is larger than that of the
host by an integer multiple. For example, a standard-DPI host viewed on a
retina-display Macbook Pro would no longer look tiny.
BUG=135089
TEST=EncoderVp8Test.TestDpiPropagation
Review URL: https://chromiumcodereview.appspot.com/10736046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146715 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto/video.proto')
-rw-r--r-- | remoting/proto/video.proto | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/proto/video.proto b/remoting/proto/video.proto index 14415af..01c57d4 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. |