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

Issue 1732083002: VideoTrackRecorder: limit VP9 cpu usage and quality (Closed)

Created:
4 years, 10 months ago by mcasas
Modified:
4 years, 10 months ago
Reviewers:
miu
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

VideoTrackRecorder: limit VP9 cpu usage and quality Also this CL simplifies the way VideoTrackRecorderTests deals with the expectations, in the same way as MediaRecorderHandlerTest was simplified before in https://codereview.chromium.org/1579693006 BUG=589162 Committed: https://crrev.com/5033045bedc860eaddbd3b5f26b1777de829d83c Cr-Commit-Position: refs/heads/master@{#378085}

Patch Set 1 #

Patch Set 2 : VP8E_SET_CPUUSED fails in win_chromium_x64_rel_ng, win_chromium_rel_ng, s/DCHECK/DLOG_IF/ #

Patch Set 3 : Simplified video_track_unittests in the same way as media_recorder_handler_unittest #

Total comments: 4

Patch Set 4 : miu@s comments #

Total comments: 2

Patch Set 5 : Better configure VP8E_SET_CPUUSED #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -21 lines) Patch
M content/renderer/media/video_track_recorder.cc View 1 2 3 4 2 chunks +10 lines, -3 lines 0 comments Download
M content/renderer/media/video_track_recorder_unittest.cc View 1 2 3 chunks +8 lines, -18 lines 0 comments Download

Messages

Total messages: 23 (12 generated)
mcasas
miu@ PTAL
4 years, 10 months ago (2016-02-25 02:04:25 UTC) #8
miu
https://codereview.chromium.org/1732083002/diff/140001/content/renderer/media/video_track_recorder.cc File content/renderer/media/video_track_recorder.cc (right): https://codereview.chromium.org/1732083002/diff/140001/content/renderer/media/video_track_recorder.cc#newcode292 content/renderer/media/video_track_recorder.cc:292: result = vpx_codec_control(encoder_.get(), VP8E_SET_CPUUSED, kCpuUsage); 6 is actually a ...
4 years, 10 months ago (2016-02-25 20:22:09 UTC) #9
mcasas
PTAL https://codereview.chromium.org/1732083002/diff/140001/content/renderer/media/video_track_recorder.cc File content/renderer/media/video_track_recorder.cc (right): https://codereview.chromium.org/1732083002/diff/140001/content/renderer/media/video_track_recorder.cc#newcode292 content/renderer/media/video_track_recorder.cc:292: result = vpx_codec_control(encoder_.get(), VP8E_SET_CPUUSED, kCpuUsage); On 2016/02/25 20:22:09, ...
4 years, 10 months ago (2016-02-26 01:34:32 UTC) #10
miu
I'll lgtm to unblock, but do consider the following: https://codereview.chromium.org/1732083002/diff/160001/content/renderer/media/video_track_recorder.cc File content/renderer/media/video_track_recorder.cc (right): https://codereview.chromium.org/1732083002/diff/160001/content/renderer/media/video_track_recorder.cc#newcode291 content/renderer/media/video_track_recorder.cc:291: ...
4 years, 10 months ago (2016-02-26 19:27:49 UTC) #11
mcasas
https://codereview.chromium.org/1732083002/diff/160001/content/renderer/media/video_track_recorder.cc File content/renderer/media/video_track_recorder.cc (right): https://codereview.chromium.org/1732083002/diff/160001/content/renderer/media/video_track_recorder.cc#newcode291 content/renderer/media/video_track_recorder.cc:291: const int kCpuUsage = 10; On 2016/02/26 19:27:49, miu ...
4 years, 10 months ago (2016-02-26 22:18:22 UTC) #12
miu
On 2016/02/26 22:18:22, mcasas wrote: > Hmmm talking about implementation details > leaking... :) https://code.google.com/p/chromium/codesearch#chromium/src/third_party/libvpx_new/source/libvpx/vp8/encoder/rdopt.c&l=347 ...
4 years, 10 months ago (2016-02-26 23:55:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1732083002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1732083002/180001
4 years, 10 months ago (2016-02-27 00:19:40 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/187090)
4 years, 10 months ago (2016-02-27 01:20:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1732083002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1732083002/180001
4 years, 10 months ago (2016-02-27 01:33:16 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:180001)
4 years, 10 months ago (2016-02-27 02:22:43 UTC) #21
commit-bot: I haz the power
4 years, 10 months ago (2016-02-27 02:24:07 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5033045bedc860eaddbd3b5f26b1777de829d83c
Cr-Commit-Position: refs/heads/master@{#378085}

Powered by Google App Engine
This is Rietveld 408576698