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

Issue 2789483002: Make sure we observe enough frames before scaling. (Closed)

Created:
3 years, 8 months ago by kthelgason
Modified:
3 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman, magjed_webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make sure we observe enough frames before scaling. If the encoder takes a long time to start up and emit frames the polling interval of the quality scaler would get out of sync. This causes it to sometimes make scaling decisions based on only a handful of frames. This CL ensures that we have observed some minimum number of frames before deciding to scale up or down. BUG=b/36734056 Review-Url: https://codereview.webrtc.org/2789483002 Cr-Commit-Position: refs/heads/master@{#17523} Committed: https://chromium.googlesource.com/external/webrtc/+/55a01354841fa9ab2bcbb4623c1176dfc560fbdc

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : Add test for new behaviour #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -5 lines) Patch
M webrtc/modules/video_coding/utility/quality_scaler.cc View 1 2 chunks +7 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/utility/quality_scaler_unittest.cc View 1 2 3 chunks +29 lines, -5 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
kthelgason
Erik, PTAL.
3 years, 8 months ago (2017-03-30 08:17:58 UTC) #8
magjed_webrtc
https://codereview.webrtc.org/2789483002/diff/20001/webrtc/modules/video_coding/utility/quality_scaler_unittest.cc File webrtc/modules/video_coding/utility/quality_scaler_unittest.cc (right): https://codereview.webrtc.org/2789483002/diff/20001/webrtc/modules/video_coding/utility/quality_scaler_unittest.cc#newcode151 webrtc/modules/video_coding/utility/quality_scaler_unittest.cc:151: Can you add a test targeting the specific issue, ...
3 years, 8 months ago (2017-03-30 11:15:03 UTC) #12
kthelgason
https://codereview.webrtc.org/2789483002/diff/20001/webrtc/modules/video_coding/utility/quality_scaler_unittest.cc File webrtc/modules/video_coding/utility/quality_scaler_unittest.cc (right): https://codereview.webrtc.org/2789483002/diff/20001/webrtc/modules/video_coding/utility/quality_scaler_unittest.cc#newcode151 webrtc/modules/video_coding/utility/quality_scaler_unittest.cc:151: On 2017/03/30 11:15:02, magjed_webrtc wrote: > Can you add ...
3 years, 8 months ago (2017-03-31 08:12:58 UTC) #15
magjed_webrtc
lgtm
3 years, 8 months ago (2017-03-31 08:37:00 UTC) #18
kthelgason
+Henrik for owner approval.
3 years, 8 months ago (2017-04-04 07:12:28 UTC) #20
henrika_webrtc
lgtm
3 years, 8 months ago (2017-04-04 08:00:17 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2789483002/40001
3 years, 8 months ago (2017-04-04 09:08:50 UTC) #23
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 09:31:47 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/55a01354841fa9ab2bcbb4623...

Powered by Google App Engine
This is Rietveld 408576698