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

Issue 2740723002: Rewrite frame generator capturer to use TaskQueue instead of EventTimeWrapper (Closed)

Created:
3 years, 9 months ago by ilnik
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Rewrite frame generator capturer to use TaskQueue instead of EventTimeWrapper BUG=webrtc:7301 Review-Url: https://codereview.webrtc.org/2740723002 Cr-Commit-Position: refs/heads/master@{#17161} Committed: https://chromium.googlesource.com/external/webrtc/+/7c5503a8b30ae43a8ccaa18518e3114c1b8babe3

Patch Set 1 #

Total comments: 5

Patch Set 2 : Move QueuedTask related code from header to .cc file #

Total comments: 6

Patch Set 3 : Implement Sprang@ comments #

Total comments: 2

Patch Set 4 : Implement Tommi@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -22 lines) Patch
M webrtc/test/frame_generator_capturer.h View 1 2 4 chunks +6 lines, -5 lines 0 comments Download
M webrtc/test/frame_generator_capturer.cc View 1 2 3 7 chunks +41 lines, -17 lines 0 comments Download

Messages

Total messages: 38 (16 generated)
ilnik
It's needed for cases then we create a lot of VideoSendStream's and FrameGeneratorCapturer's on windows ...
3 years, 9 months ago (2017-03-08 10:09:39 UTC) #2
kjellander_webrtc
I'll give a rubberstamp lgtm for webrtc/test so please have sprang@ review this, as I've ...
3 years, 9 months ago (2017-03-08 10:28:47 UTC) #3
ilnik
On 2017/03/08 10:28:47, kjellander_webrtc wrote: > I'll give a rubberstamp lgtm for webrtc/test so please ...
3 years, 9 months ago (2017-03-09 14:03:54 UTC) #4
sprang_webrtc
https://codereview.webrtc.org/2740723002/diff/1/webrtc/test/frame_generator_capturer.h File webrtc/test/frame_generator_capturer.h (right): https://codereview.webrtc.org/2740723002/diff/1/webrtc/test/frame_generator_capturer.h#newcode89 webrtc/test/frame_generator_capturer.h:89: }; Don't need to declare this here. Move it ...
3 years, 9 months ago (2017-03-09 17:40:05 UTC) #5
tommi
https://codereview.webrtc.org/2740723002/diff/1/webrtc/test/frame_generator_capturer.h File webrtc/test/frame_generator_capturer.h (right): https://codereview.webrtc.org/2740723002/diff/1/webrtc/test/frame_generator_capturer.h#newcode88 webrtc/test/frame_generator_capturer.h:88: bool repeat_; nit: this could be made const. However, ...
3 years, 9 months ago (2017-03-09 17:46:52 UTC) #7
tommi
On 2017/03/08 10:09:39, ilnik wrote: > It's needed for cases then we create a lot ...
3 years, 9 months ago (2017-03-09 17:48:19 UTC) #8
ilnik
https://codereview.webrtc.org/2740723002/diff/1/webrtc/test/frame_generator_capturer.h File webrtc/test/frame_generator_capturer.h (right): https://codereview.webrtc.org/2740723002/diff/1/webrtc/test/frame_generator_capturer.h#newcode88 webrtc/test/frame_generator_capturer.h:88: bool repeat_; On 2017/03/09 17:46:52, tommi (webrtc) wrote: > ...
3 years, 9 months ago (2017-03-09 18:25:56 UTC) #9
tommi
https://codereview.webrtc.org/2740723002/diff/1/webrtc/test/frame_generator_capturer.h File webrtc/test/frame_generator_capturer.h (right): https://codereview.webrtc.org/2740723002/diff/1/webrtc/test/frame_generator_capturer.h#newcode89 webrtc/test/frame_generator_capturer.h:89: }; On 2017/03/09 18:25:56, ilnik wrote: > On 2017/03/09 ...
3 years, 9 months ago (2017-03-09 18:56:02 UTC) #10
ilnik
On 2017/03/09 18:56:02, tommi (webrtc) wrote: > https://codereview.webrtc.org/2740723002/diff/1/webrtc/test/frame_generator_capturer.h > File webrtc/test/frame_generator_capturer.h (right): > > https://codereview.webrtc.org/2740723002/diff/1/webrtc/test/frame_generator_capturer.h#newcode89 ...
3 years, 9 months ago (2017-03-10 08:53:46 UTC) #11
sprang_webrtc
looks good, just some nits https://codereview.webrtc.org/2740723002/diff/20001/webrtc/test/frame_generator_capturer.cc File webrtc/test/frame_generator_capturer.cc (right): https://codereview.webrtc.org/2740723002/diff/20001/webrtc/test/frame_generator_capturer.cc#newcode48 webrtc/test/frame_generator_capturer.cc:48: webrtc::test::FrameGeneratorCapturer* frame_generator_capturer_; nit: webrtc::test::FrameGeneratorCapturer* ...
3 years, 9 months ago (2017-03-10 09:18:45 UTC) #14
ilnik
https://codereview.webrtc.org/2740723002/diff/20001/webrtc/test/frame_generator_capturer.cc File webrtc/test/frame_generator_capturer.cc (right): https://codereview.webrtc.org/2740723002/diff/20001/webrtc/test/frame_generator_capturer.cc#newcode49 webrtc/test/frame_generator_capturer.cc:49: const uint32_t repeat_interval_ms_; On 2017/03/10 09:18:45, språng wrote: > ...
3 years, 9 months ago (2017-03-10 09:27:20 UTC) #17
sprang_webrtc
lgtm https://codereview.webrtc.org/2740723002/diff/20001/webrtc/test/frame_generator_capturer.cc File webrtc/test/frame_generator_capturer.cc (right): https://codereview.webrtc.org/2740723002/diff/20001/webrtc/test/frame_generator_capturer.cc#newcode49 webrtc/test/frame_generator_capturer.cc:49: const uint32_t repeat_interval_ms_; On 2017/03/10 09:27:19, ilnik wrote: ...
3 years, 9 months ago (2017-03-10 09:34:43 UTC) #18
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/2740723002/40001
3 years, 9 months ago (2017-03-10 09:35:25 UTC) #21
tommi
lgtm. nice change and thanks for removing one more use of EventTimerWrapper :) https://codereview.webrtc.org/2740723002/diff/40001/webrtc/test/frame_generator_capturer.cc File ...
3 years, 9 months ago (2017-03-10 09:36:33 UTC) #22
ilnik
https://codereview.webrtc.org/2740723002/diff/40001/webrtc/test/frame_generator_capturer.cc File webrtc/test/frame_generator_capturer.cc (right): https://codereview.webrtc.org/2740723002/diff/40001/webrtc/test/frame_generator_capturer.cc#newcode29 webrtc/test/frame_generator_capturer.cc:29: // Repeats in |repeat_interval_ms|. One-time if |repeat_interval_ms| <= 0. ...
3 years, 9 months ago (2017-03-10 09:39:41 UTC) #26
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/2740723002/60001
3 years, 9 months ago (2017-03-10 09:40:15 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/external/webrtc/+/7c5503a8b30ae43a8ccaa18518e3114c1b8babe3
3 years, 9 months ago (2017-03-10 10:21:59 UTC) #32
mbonadei
On 2017/03/10 10:21:59, commit-bot: I haz the power wrote: > Committed patchset #4 (id:60001) as ...
3 years, 9 months ago (2017-03-10 11:35:38 UTC) #33
sprang_webrtc
On 2017/03/10 11:35:38, mbonadei wrote: > On 2017/03/10 10:21:59, commit-bot: I haz the power wrote: ...
3 years, 9 months ago (2017-03-10 11:49:44 UTC) #35
ilnik
On 2017/03/10 11:35:38, mbonadei wrote: > On 2017/03/10 10:21:59, commit-bot: I haz the power wrote: ...
3 years, 9 months ago (2017-03-10 12:00:51 UTC) #36
ilnik
On 2017/03/10 12:00:51, ilnik wrote: > On 2017/03/10 11:35:38, mbonadei wrote: > > On 2017/03/10 ...
3 years, 9 months ago (2017-03-10 12:03:52 UTC) #37
ilnik
3 years, 9 months ago (2017-03-10 12:04:30 UTC) #38
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.webrtc.org/2739393002/ by ilnik@webrtc.org.

The reason for reverting is: Less precise FrameGeneratorCapturer broke
CallPerfTest.ReceivesCpuOveruseAndUnderuse on Android.

Powered by Google App Engine
This is Rietveld 408576698