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

Issue 2255463002: Change OverUseFrameDetector to use a task queue (Closed)

Created:
4 years, 4 months ago by perkj_webrtc
Modified:
4 years, 3 months ago
Reviewers:
åsapersson, mflodman
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@reland_taskq_in_encoder
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Change OverUseFrameDetector to use a task queue instead of ProcessThread to periodically check for overuse. It is made to only operate on a single task queue. With this cl, all methods are called on the video encoder task queue. BUG=webrtc:5687, webrtc:6289 TBR=mflodman@webrtc.org Committed: https://crrev.com/d52063fb071b1d8cbe698ea0f5de6e6dddfacd72 Cr-Commit-Position: refs/heads/master@{#14107}

Patch Set 1 #

Patch Set 2 : add Start #

Patch Set 3 : More self review. #

Patch Set 4 : Fix event.h include in unittest #

Total comments: 22

Patch Set 5 : Addressed code review comments. #

Patch Set 6 : Addressed review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -119 lines) Patch
M webrtc/video/overuse_frame_detector.h View 1 2 3 4 5 chunks +40 lines, -41 lines 0 comments Download
M webrtc/video/overuse_frame_detector.cc View 1 2 3 4 12 chunks +74 lines, -43 lines 0 comments Download
M webrtc/video/overuse_frame_detector_unittest.cc View 1 2 3 4 5 11 chunks +70 lines, -18 lines 0 comments Download
M webrtc/video/vie_encoder.h View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 2 3 4 5 11 chunks +25 lines, -14 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 29 (14 generated)
perkj_webrtc
please, when you have the time.
4 years, 4 months ago (2016-08-17 11:02:30 UTC) #3
åsapersson
https://codereview.webrtc.org/2255463002/diff/60001/webrtc/video/overuse_frame_detector.cc File webrtc/video/overuse_frame_detector.cc (right): https://codereview.webrtc.org/2255463002/diff/60001/webrtc/video/overuse_frame_detector.cc#newcode34 webrtc/video/overuse_frame_detector.cc:34: const int64_t ktCheckForOveruseIntervalMs = 5000; kCheck..? https://codereview.webrtc.org/2255463002/diff/60001/webrtc/video/overuse_frame_detector.cc#newcode231 webrtc/video/overuse_frame_detector.cc:231: RTC_DCHECK(!check_over_use_task_) ...
4 years, 4 months ago (2016-08-24 08:59:05 UTC) #4
perkj_webrtc
ptal https://codereview.webrtc.org/2255463002/diff/60001/webrtc/video/overuse_frame_detector.cc File webrtc/video/overuse_frame_detector.cc (right): https://codereview.webrtc.org/2255463002/diff/60001/webrtc/video/overuse_frame_detector.cc#newcode34 webrtc/video/overuse_frame_detector.cc:34: const int64_t ktCheckForOveruseIntervalMs = 5000; On 2016/08/24 08:59:04, ...
4 years, 3 months ago (2016-09-01 10:03:30 UTC) #5
åsapersson
lgtm
4 years, 3 months ago (2016-09-02 11:07:58 UTC) #7
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/2255463002/100001
4 years, 3 months ago (2016-09-02 12:18:52 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/8006)
4 years, 3 months ago (2016-09-02 13:01:39 UTC) #11
perkj_webrtc
Need you again Magnus.
4 years, 3 months ago (2016-09-02 19:12:33 UTC) #13
perkj_webrtc
mflodman - please take a look at this when you can.
4 years, 3 months ago (2016-09-07 07:48:04 UTC) #15
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/2255463002/100001
4 years, 3 months ago (2016-09-07 07:48:19 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_baremetal on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 3 months ago (2016-09-07 09:48:38 UTC) #19
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/2255463002/100001
4 years, 3 months ago (2016-09-07 12:19:34 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_baremetal on master.tryserver.webrtc (JOB_FAILED, no build URL)
4 years, 3 months ago (2016-09-07 12:55:13 UTC) #23
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/2255463002/100001
4 years, 3 months ago (2016-09-07 13:30:50 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-07 13:32:23 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 13:32:30 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d52063fb071b1d8cbe698ea0f5de6e6dddfacd72
Cr-Commit-Position: refs/heads/master@{#14107}

Powered by Google App Engine
This is Rietveld 408576698