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

Issue 10736046: Add DPI information to video packets. (Closed)

Created:
8 years, 5 months ago by Jamie
Modified:
8 years, 5 months ago
Reviewers:
Sergey Ulanov, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146715

Patch Set 1 #

Total comments: 5

Patch Set 2 : Moved DPI into VideoPacketFormat and set x and y independently. #

Patch Set 3 : Use different test values for x and y DPI. #

Total comments: 15

Patch Set 4 : Reviewer comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -1 line) Patch
M remoting/base/capture_data.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M remoting/base/capture_data.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M remoting/base/encoder_row_based.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/base/encoder_vp8.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M remoting/base/encoder_vp8_unittest.cc View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M remoting/proto/video.proto View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Jamie
ptal
8 years, 5 months ago (2012-07-12 01:34:10 UTC) #1
Sergey Ulanov
https://chromiumcodereview.appspot.com/10736046/diff/1/remoting/proto/video.proto File remoting/proto/video.proto (right): https://chromiumcodereview.appspot.com/10736046/diff/1/remoting/proto/video.proto#newcode99 remoting/proto/video.proto:99: optional int32 dpi = 10; would it be better ...
8 years, 5 months ago (2012-07-12 01:39:36 UTC) #2
Wez
https://chromiumcodereview.appspot.com/10736046/diff/1/remoting/proto/video.proto File remoting/proto/video.proto (right): https://chromiumcodereview.appspot.com/10736046/diff/1/remoting/proto/video.proto#newcode99 remoting/proto/video.proto:99: optional int32 dpi = 10; On 2012/07/12 01:39:36, sergeyu ...
8 years, 5 months ago (2012-07-12 18:15:49 UTC) #3
alexeypa (please no reviews)
On 2012/07/12 18:15:49, Wez wrote: > We should provide separate X & Y DPI values, ...
8 years, 5 months ago (2012-07-12 18:20:32 UTC) #4
Jamie
On 2012/07/12 01:39:36, sergeyu wrote: > https://chromiumcodereview.appspot.com/10736046/diff/1/remoting/proto/video.proto > File remoting/proto/video.proto (right): > > https://chromiumcodereview.appspot.com/10736046/diff/1/remoting/proto/video.proto#newcode99 > ...
8 years, 5 months ago (2012-07-12 21:22:55 UTC) #5
Jamie
On 2012/07/12 18:20:32, alexeypa wrote: > On 2012/07/12 18:15:49, Wez wrote: > > We should ...
8 years, 5 months ago (2012-07-12 21:24:51 UTC) #6
Jamie
ptal https://chromiumcodereview.appspot.com/10736046/diff/1/remoting/proto/video.proto File remoting/proto/video.proto (right): https://chromiumcodereview.appspot.com/10736046/diff/1/remoting/proto/video.proto#newcode99 remoting/proto/video.proto:99: optional int32 dpi = 10; On 2012/07/12 18:15:49, ...
8 years, 5 months ago (2012-07-13 19:59:44 UTC) #7
Wez
https://chromiumcodereview.appspot.com/10736046/diff/4002/remoting/base/capture_data.h File remoting/base/capture_data.h (right): https://chromiumcodereview.appspot.com/10736046/diff/4002/remoting/base/capture_data.h#newcode62 remoting/base/capture_data.h:62: SkIPoint dpi() const { return dpi_; } nit: Should ...
8 years, 5 months ago (2012-07-13 21:49:01 UTC) #8
Jamie
https://chromiumcodereview.appspot.com/10736046/diff/4002/remoting/base/capture_data.h File remoting/base/capture_data.h (right): https://chromiumcodereview.appspot.com/10736046/diff/4002/remoting/base/capture_data.h#newcode62 remoting/base/capture_data.h:62: SkIPoint dpi() const { return dpi_; } On 2012/07/13 ...
8 years, 5 months ago (2012-07-13 22:17:13 UTC) #9
Wez
lgtm https://chromiumcodereview.appspot.com/10736046/diff/4002/remoting/base/capture_data.h File remoting/base/capture_data.h (right): https://chromiumcodereview.appspot.com/10736046/diff/4002/remoting/base/capture_data.h#newcode62 remoting/base/capture_data.h:62: SkIPoint dpi() const { return dpi_; } On ...
8 years, 5 months ago (2012-07-14 00:55:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/10736046/20001
8 years, 5 months ago (2012-07-14 01:01:01 UTC) #11
commit-bot: I haz the power
8 years, 5 months ago (2012-07-14 02:35:17 UTC) #12
Change committed as 146715

Powered by Google App Engine
This is Rietveld 408576698