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

Issue 1982983003: VideoAdapter: Drop frames based on actual fps instead of expected fps (Closed)

Created:
4 years, 7 months ago by magjed_webrtc
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

VideoAdapter: Drop frames based on actual fps instead of expected fps Pass timestamps to VideoAdapter instead of setting expected input frame rate, and use that to calculate when frames should be dropped. BUG=webrtc:4938 TEST=Enable quality slider and HUD in debug settings. Request low fps with the quality slider and observe dropped frames. Committed: https://crrev.com/604abe09f1d8bffc9e0d52c09484371f063cc2cd Cr-Commit-Position: refs/heads/master@{#12811}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Use rtc::Optional for next timestamp instead #

Total comments: 4

Patch Set 3 : use std::abs #

Total comments: 2

Patch Set 4 : Add jitter test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -119 lines) Patch
M webrtc/media/base/videoadapter.h View 1 2 chunks +6 lines, -7 lines 0 comments Download
M webrtc/media/base/videoadapter.cc View 1 2 3 6 chunks +32 lines, -28 lines 0 comments Download
M webrtc/media/base/videoadapter_unittest.cc View 1 2 3 47 chunks +226 lines, -79 lines 0 comments Download
M webrtc/media/base/videocapturer.h View 1 chunk +0 lines, -5 lines 0 comments Download
M webrtc/media/base/videocapturer.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
magjed_webrtc
Please take a look.
4 years, 7 months ago (2016-05-18 09:04:50 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/1982983003/diff/20001/webrtc/media/base/videoadapter.cc File webrtc/media/base/videoadapter.cc (right): https://codereview.webrtc.org/1982983003/diff/20001/webrtc/media/base/videoadapter.cc#newcode121 webrtc/media/base/videoadapter.cc:121: previous_timestamp_ns_(0), Please make it an rtc::Optional, instead of using ...
4 years, 7 months ago (2016-05-18 11:44:00 UTC) #6
magjed_webrtc
https://codereview.webrtc.org/1982983003/diff/20001/webrtc/media/base/videoadapter.cc File webrtc/media/base/videoadapter.cc (right): https://codereview.webrtc.org/1982983003/diff/20001/webrtc/media/base/videoadapter.cc#newcode121 webrtc/media/base/videoadapter.cc:121: previous_timestamp_ns_(0), On 2016/05/18 11:44:00, nisse-webrtc wrote: > Please make ...
4 years, 7 months ago (2016-05-18 16:35:23 UTC) #7
nisse-webrtc
lgtm https://codereview.webrtc.org/1982983003/diff/40001/webrtc/media/base/videoadapter.cc File webrtc/media/base/videoadapter.cc (right): https://codereview.webrtc.org/1982983003/diff/40001/webrtc/media/base/videoadapter.cc#newcode144 webrtc/media/base/videoadapter.cc:144: time_until_next_frame_ns >= requested_format_->interval) { Can you use std::abs? ...
4 years, 7 months ago (2016-05-19 07:02:36 UTC) #8
magjed_webrtc
https://codereview.webrtc.org/1982983003/diff/40001/webrtc/media/base/videoadapter.cc File webrtc/media/base/videoadapter.cc (right): https://codereview.webrtc.org/1982983003/diff/40001/webrtc/media/base/videoadapter.cc#newcode144 webrtc/media/base/videoadapter.cc:144: time_until_next_frame_ns >= requested_format_->interval) { On 2016/05/19 07:02:36, nisse-webrtc wrote: ...
4 years, 7 months ago (2016-05-19 08:52:19 UTC) #9
nisse-webrtc
lgtm
4 years, 7 months ago (2016-05-19 09:01:58 UTC) #10
perkj_webrtc
lgtm if test below is added and can you please add a TEST= and describe ...
4 years, 7 months ago (2016-05-19 10:02:41 UTC) #11
magjed_webrtc
https://codereview.webrtc.org/1982983003/diff/60001/webrtc/media/base/videoadapter_unittest.cc File webrtc/media/base/videoadapter_unittest.cc (right): https://codereview.webrtc.org/1982983003/diff/60001/webrtc/media/base/videoadapter_unittest.cc#newcode200 webrtc/media/base/videoadapter_unittest.cc:200: } On 2016/05/19 10:02:41, perkj_webrtc wrote: > Can you ...
4 years, 7 months ago (2016-05-19 11:35:32 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982983003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982983003/80001
4 years, 7 months ago (2016-05-19 11:35:37 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 7 months ago (2016-05-19 13:05:44 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 13:05:53 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/604abe09f1d8bffc9e0d52c09484371f063cc2cd
Cr-Commit-Position: refs/heads/master@{#12811}

Powered by Google App Engine
This is Rietveld 408576698