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

Issue 1830593003: Make QualityScaler more responsive to downgrades. (Closed)

Created:
4 years, 9 months ago by pbos-webrtc
Modified:
4 years, 8 months ago
Reviewers:
AlexG, stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make QualityScaler more responsive to downgrades. Permits going from HD to QVGA in 6 seconds instead of 10. Also adds windows for going up quickly in the beginning of a call (before any downscaling happens due to bad quality). BUG=webrtc:5678 R=glaznev@webrtc.org, stefan@webrtc.org Committed: https://crrev.com/85829fd90cc4e7a91c9857921b19e8fc126aeb60 Cr-Commit-Position: refs/heads/master@{#12219}

Patch Set 1 #

Total comments: 4

Patch Set 2 : feedback #

Total comments: 4

Patch Set 3 : remove extra height argument #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -43 lines) Patch
M webrtc/api/java/jni/androidmediaencoder_jni.cc View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/utility/quality_scaler.h View 1 2 chunks +9 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/utility/quality_scaler.cc View 1 9 chunks +35 lines, -14 lines 0 comments Download
M webrtc/modules/video_coding/utility/quality_scaler_unittest.cc View 7 chunks +94 lines, -19 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
pbos-webrtc
PTAL, I think this one should definitely be submitted "before the other one".
4 years, 9 months ago (2016-03-24 13:26:00 UTC) #1
pbos-webrtc
On 2016/03/24 13:26:00, pbos-webrtc wrote: > PTAL, I think this one should definitely be submitted ...
4 years, 9 months ago (2016-03-24 13:26:19 UTC) #2
AlexG
lgtm https://codereview.webrtc.org/1830593003/diff/1/webrtc/modules/video_coding/utility/quality_scaler.cc File webrtc/modules/video_coding/utility/quality_scaler.cc (right): https://codereview.webrtc.org/1830593003/diff/1/webrtc/modules/video_coding/utility/quality_scaler.cc#newcode183 webrtc/modules/video_coding/utility/quality_scaler.cc:183: ReportFramerate(framerate_); May worth to move num_samples_upscale_, num_samples_downscale_ update ...
4 years, 9 months ago (2016-03-24 18:13:49 UTC) #3
pbos-webrtc
feedback
4 years, 8 months ago (2016-03-29 10:26:08 UTC) #4
pbos-webrtc
https://codereview.webrtc.org/1830593003/diff/1/webrtc/modules/video_coding/utility/quality_scaler.cc File webrtc/modules/video_coding/utility/quality_scaler.cc (right): https://codereview.webrtc.org/1830593003/diff/1/webrtc/modules/video_coding/utility/quality_scaler.cc#newcode183 webrtc/modules/video_coding/utility/quality_scaler.cc:183: ReportFramerate(framerate_); On 2016/03/24 18:13:49, AlexG wrote: > May worth ...
4 years, 8 months ago (2016-03-29 10:37:22 UTC) #5
stefan-webrtc
https://codereview.webrtc.org/1830593003/diff/20001/webrtc/api/java/jni/androidmediaencoder_jni.cc File webrtc/api/java/jni/androidmediaencoder_jni.cc (right): https://codereview.webrtc.org/1830593003/diff/20001/webrtc/api/java/jni/androidmediaencoder_jni.cc#newcode387 webrtc/api/java/jni/androidmediaencoder_jni.cc:387: codec_settings->height, codec_settings->maxFramerate); Does this even build? Too many arguments ...
4 years, 8 months ago (2016-04-01 13:35:11 UTC) #6
pbos-webrtc
remove extra height argument
4 years, 8 months ago (2016-04-04 12:20:42 UTC) #7
pbos-webrtc
PTAL https://codereview.webrtc.org/1830593003/diff/20001/webrtc/api/java/jni/androidmediaencoder_jni.cc File webrtc/api/java/jni/androidmediaencoder_jni.cc (right): https://codereview.webrtc.org/1830593003/diff/20001/webrtc/api/java/jni/androidmediaencoder_jni.cc#newcode387 webrtc/api/java/jni/androidmediaencoder_jni.cc:387: codec_settings->height, codec_settings->maxFramerate); On 2016/04/01 13:35:10, stefan-webrtc (holmer) wrote: ...
4 years, 8 months ago (2016-04-04 12:32:39 UTC) #8
stefan-webrtc
lgtm
4 years, 8 months ago (2016-04-04 14:31:04 UTC) #9
pbos-webrtc
Committed patchset #3 (id:40001) manually as 85829fd90cc4e7a91c9857921b19e8fc126aeb60 (presubmit successful).
4 years, 8 months ago (2016-04-04 16:11:24 UTC) #11
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/85829fd90cc4e7a91c9857921b19e8fc126aeb60 Cr-Commit-Position: refs/heads/master@{#12219}
4 years, 8 months ago (2016-04-04 16:11:26 UTC) #13
phoglund
4 years, 8 months ago (2016-04-12 13:25:35 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.webrtc.org/1880103002/ by phoglund@webrtc.org.

The reason for reverting is: Speculative revert: want to see if this causes the
regression in https://crbug.com/602621.

Powered by Google App Engine
This is Rietveld 408576698