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

Issue 1690013002: Remove --tab-capture-upscale/downscale-quality. (Closed)

Created:
4 years, 10 months ago by xjz
Modified:
4 years, 8 months ago
Reviewers:
miu, piman
CC:
chromium-reviews, extensions-reviews_chromium.org, kalyank, oshima+watch_chromium.org, posciak+watch_chromium.org, jam, dzhioev+watch_chromium.org, achuith+watch_chromium.org, mcasas+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, piman+watch_chromium.org, chromium-apps-reviews_chromium.org, danakj+watch_chromium.org, davemoore+watch_chromium.org, miu+watch_chromium.org, hubbe
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove --tab-capture-upscale/downscale-quality. Historically three scalers were designed for tab-capture upscaling and downscaling: fast, good, best. Experiments show that "good" or "best" down-scalers may cause downstream encoders to perform much worse, as the detail they maintain adds excessive entropy to the images. This change removes the command-line switches and always uses "fast" for video down-scaling and "best" for upscaling. BUG=350135 Committed: https://crrev.com/9000b88d353b4929a21b4cc5fcb2b87abadd37a1 Cr-Commit-Position: refs/heads/master@{#385626}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Rebased. Addressed Yuri's comments. #

Total comments: 7

Patch Set 3 : Address Yuri's comments. #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Total comments: 4

Patch Set 6 : Address piman's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -108 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 2 chunks +0 lines, -31 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc View 1 5 chunks +0 lines, -49 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 2 3 4 5 1 chunk +13 lines, -16 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 37 (15 generated)
xjz
PTAL
4 years, 10 months ago (2016-02-11 22:25:26 UTC) #3
miu
https://codereview.chromium.org/1690013002/diff/20001/chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc File chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc (right): https://codereview.chromium.org/1690013002/diff/20001/chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc#newcode214 chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc:214: #if defined(USE_AURA) I think you'll want to remove all ...
4 years, 10 months ago (2016-02-19 01:47:59 UTC) #4
xjz
On 2016/02/19 01:47:59, miu wrote: > https://codereview.chromium.org/1690013002/diff/20001/chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc > File chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc > (right): > > https://codereview.chromium.org/1690013002/diff/20001/chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc#newcode214 ...
4 years, 10 months ago (2016-02-19 04:03:41 UTC) #5
miu
On 2016/02/19 04:03:41, xjz wrote: > On 2016/02/19 01:47:59, miu wrote: > > > https://codereview.chromium.org/1690013002/diff/20001/chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc ...
4 years, 10 months ago (2016-02-19 04:46:30 UTC) #6
xjz
PTAL https://codereview.chromium.org/1690013002/diff/20001/chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc File chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc (right): https://codereview.chromium.org/1690013002/diff/20001/chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc#newcode214 chrome/browser/extensions/api/tab_capture/tab_capture_performancetest.cc:214: #if defined(USE_AURA) On 2016/02/19 01:47:59, miu wrote: > ...
4 years, 8 months ago (2016-03-28 19:52:15 UTC) #8
miu
https://codereview.chromium.org/1690013002/diff/60001/content/browser/compositor/gl_helper.cc File content/browser/compositor/gl_helper.cc (right): https://codereview.chromium.org/1690013002/diff/60001/content/browser/compositor/gl_helper.cc#newcode1202 content/browser/compositor/gl_helper.cc:1202: // Tests show that the two up-scaling methods perform ...
4 years, 8 months ago (2016-03-29 20:08:52 UTC) #10
miu
cc: +hubbe hubbe FYI: xjz@ did some performance measurements in the lab, and after discussing, ...
4 years, 8 months ago (2016-03-29 20:10:57 UTC) #11
xjz
https://codereview.chromium.org/1690013002/diff/60001/content/browser/compositor/gl_helper.cc File content/browser/compositor/gl_helper.cc (right): https://codereview.chromium.org/1690013002/diff/60001/content/browser/compositor/gl_helper.cc#newcode1202 content/browser/compositor/gl_helper.cc:1202: // Tests show that the two up-scaling methods perform ...
4 years, 8 months ago (2016-03-29 21:14:50 UTC) #12
miu
lgtm % fixing that one comment in gl_helper.cc. https://codereview.chromium.org/1690013002/diff/60001/content/browser/compositor/gl_helper.cc File content/browser/compositor/gl_helper.cc (right): https://codereview.chromium.org/1690013002/diff/60001/content/browser/compositor/gl_helper.cc#newcode1202 content/browser/compositor/gl_helper.cc:1202: // ...
4 years, 8 months ago (2016-03-31 21:44:06 UTC) #13
xjz
https://codereview.chromium.org/1690013002/diff/60001/content/browser/compositor/gl_helper.cc File content/browser/compositor/gl_helper.cc (right): https://codereview.chromium.org/1690013002/diff/60001/content/browser/compositor/gl_helper.cc#newcode1202 content/browser/compositor/gl_helper.cc:1202: // Tests show that the two up-scaling methods perform ...
4 years, 8 months ago (2016-03-31 23:03:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690013002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690013002/80001
4 years, 8 months ago (2016-03-31 23:04:15 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/180326) ios_rel_device_gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-03-31 23:07:03 UTC) #19
xjz
ccameron: PTAL. Need owner's approval.
4 years, 8 months ago (2016-04-01 00:10:14 UTC) #22
xjz
PTAL ccameron: need owner's approval on content/browser/compositor/gl_helper.* changes. piman: need owner's approval on changes: chrome/browser/chromeos/login/chrome_restart_request.cc ...
4 years, 8 months ago (2016-04-06 18:25:42 UTC) #24
piman
https://codereview.chromium.org/1690013002/diff/120001/content/browser/compositor/gl_helper.cc File content/browser/compositor/gl_helper.cc (right): https://codereview.chromium.org/1690013002/diff/120001/content/browser/compositor/gl_helper.cc#newcode1215 content/browser/compositor/gl_helper.cc:1215: : GLHelper::SCALER_QUALITY_FAST; If SCALER_QUALITY_GOOD is not used any more, ...
4 years, 8 months ago (2016-04-06 18:32:47 UTC) #25
xjz
Thanks piman. Replied your comments: https://codereview.chromium.org/1690013002/diff/120001/content/browser/compositor/gl_helper.cc File content/browser/compositor/gl_helper.cc (right): https://codereview.chromium.org/1690013002/diff/120001/content/browser/compositor/gl_helper.cc#newcode1215 content/browser/compositor/gl_helper.cc:1215: : GLHelper::SCALER_QUALITY_FAST; On 2016/04/06 ...
4 years, 8 months ago (2016-04-06 18:44:05 UTC) #26
piman
https://codereview.chromium.org/1690013002/diff/120001/content/browser/compositor/gl_helper.cc File content/browser/compositor/gl_helper.cc (right): https://codereview.chromium.org/1690013002/diff/120001/content/browser/compositor/gl_helper.cc#newcode1215 content/browser/compositor/gl_helper.cc:1215: : GLHelper::SCALER_QUALITY_FAST; On 2016/04/06 18:44:05, xjz wrote: > On ...
4 years, 8 months ago (2016-04-06 19:20:08 UTC) #27
xjz
Addressed piman's comments. -ccameron@ as there is no change on gl_helper.* now. https://codereview.chromium.org/1690013002/diff/120001/content/browser/compositor/gl_helper.cc File content/browser/compositor/gl_helper.cc ...
4 years, 8 months ago (2016-04-06 23:03:38 UTC) #29
piman
LGTM, thanks!
4 years, 8 months ago (2016-04-06 23:10:45 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690013002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690013002/140001
4 years, 8 months ago (2016-04-06 23:13:15 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 8 months ago (2016-04-07 02:27:45 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 02:29:01 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9000b88d353b4929a21b4cc5fcb2b87abadd37a1
Cr-Commit-Position: refs/heads/master@{#385626}

Powered by Google App Engine
This is Rietveld 408576698