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

Issue 19151002: Add switches: "target_fps" and "disable_rendering" to video_decode_accelerator_unittest. (Closed)

Created:
7 years, 5 months ago by Owen Lin
Modified:
4 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add switches: "target_fps" and "disable_rendering" to video_decode_accelerator_unittest. 1. Add the switch "target_fps" to control the playing speed. This is used to measure the frame drop rate and CPU usage. 2. Also add a switch "disable_rendering" to disable rendering. This is used to measure just the decoding part. On parrot, using test video: "test-25fps.h264" with target FPS: 60, the CPU rate is about 12% and no dropped was frames. With target FPS as 300, the CPU rate goes to 47.34% and 4/250 frames are dropped. BUG=250718 TEST=run the unittest on link and parrot Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215874

Patch Set 1 #

Total comments: 22

Patch Set 2 : address review comments #

Patch Set 3 : initialize pending_rendering_ #

Patch Set 4 : Add ThrottlingVDAClient to control fps #

Patch Set 5 : address one more comment #

Total comments: 37

Patch Set 6 : address review comment #

Total comments: 8

Patch Set 7 : addressing review comments #

Patch Set 8 : rebase and git cl format #

Patch Set 9 : fix compiling errors on win_x64_rel #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -63 lines) Patch
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 5 6 7 8 20 chunks +278 lines, -63 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Owen Lin
PTAL. Thanks.
7 years, 5 months ago (2013-07-15 07:26:17 UTC) #1
Pawel Osciak
https://codereview.chromium.org/19151002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/19151002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode196 content/common/gpu/media/video_decode_accelerator_unittest.cc:196: CS_COMPLETE_RENDERING = 5, I'd call this RENDERED or RENDERING_DONE. ...
7 years, 5 months ago (2013-07-15 08:07:06 UTC) #2
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/19151002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/19151002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode92 content/common/gpu/media/video_decode_accelerator_unittest.cc:92: float target_fps = 0; "target_fps" is too vague IMO. ...
7 years, 5 months ago (2013-07-15 18:54:14 UTC) #3
Owen Lin
https://codereview.chromium.org/19151002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/19151002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode92 content/common/gpu/media/video_decode_accelerator_unittest.cc:92: float target_fps = 0; On 2013/07/15 18:54:14, Ami Fischman ...
7 years, 5 months ago (2013-07-16 10:46:54 UTC) #4
Ami GONE FROM CHROMIUM
> > https://codereview.chromium.**org/19151002/diff/1/content/** > common/gpu/media/video_decode_**accelerator_unittest.cc#**newcode196<https://codereview.chromium.org/19151002/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode196> > content/common/gpu/media/**video_decode_accelerator_**unittest.cc:196: > CS_COMPLETE_RENDERING = 5, > Are you suggesting ...
7 years, 5 months ago (2013-07-16 15:27:43 UTC) #5
owenlin_google
Hi, Thank you for the comments. I have modified the code accordingly. But it seems ...
7 years, 5 months ago (2013-07-24 06:25:17 UTC) #6
Owen Lin
PTAL. So many thanks. https://codereview.chromium.org/19151002/diff/14001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/19151002/diff/14001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode671 content/common/gpu/media/video_decode_accelerator_unittest.cc:671: if (reset_after_frame_num_ != MID_STREAM_RESET) This ...
7 years, 5 months ago (2013-07-24 06:30:45 UTC) #7
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/19151002/diff/14001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/19151002/diff/14001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode95 content/common/gpu/media/video_decode_accelerator_unittest.cc:95: bool disable_rendering = false; This is not mentioned in ...
7 years, 5 months ago (2013-07-24 18:23:16 UTC) #8
Owen Lin
PTAL. Thanks. https://codereview.chromium.org/19151002/diff/14001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/19151002/diff/14001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode95 content/common/gpu/media/video_decode_accelerator_unittest.cc:95: bool disable_rendering = false; On 2013/07/24 18:23:16, ...
7 years, 4 months ago (2013-07-31 10:01:36 UTC) #9
Ami GONE FROM CHROMIUM
Did you forget to upload a new patchset?
7 years, 4 months ago (2013-07-31 23:39:58 UTC) #10
Owen Lin
On 2013/07/31 23:39:58, Ami Fischman wrote: > Did you forget to upload a new patchset? ...
7 years, 4 months ago (2013-08-01 02:35:25 UTC) #11
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/19151002/diff/21001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/19151002/diff/21001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode33 content/common/gpu/media/video_decode_accelerator_unittest.cc:33: #include "base/md5.h" Please don't rebase while there are outstanding ...
7 years, 4 months ago (2013-08-02 00:33:21 UTC) #12
Owen Lin
https://codereview.chromium.org/19151002/diff/21001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/19151002/diff/21001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode33 content/common/gpu/media/video_decode_accelerator_unittest.cc:33: #include "base/md5.h" On 2013/08/02 00:33:22, Ami Fischman wrote: > ...
7 years, 4 months ago (2013-08-02 05:38:18 UTC) #13
Ami GONE FROM CHROMIUM
lgtm
7 years, 4 months ago (2013-08-02 06:10:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/owenlin@chromium.org/19151002/31001
7 years, 4 months ago (2013-08-05 08:21:14 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-05 09:28:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/owenlin@chromium.org/19151002/52001
7 years, 4 months ago (2013-08-06 09:39:20 UTC) #17
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 11:41:46 UTC) #18
Message was sent while issue was closed.
Change committed as 215874

Powered by Google App Engine
This is Rietveld 408576698