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

Issue 2448453004: scale video threads with resolution (Closed)

Created:
4 years, 1 month ago by hubbe
Modified:
4 years, 1 month ago
Reviewers:
Dale Curtis, DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

scale video threads with resolution This allows 4k video to play smoothly on high-end machines, even when software-decoded. Most machines today have 2-8 execution contexts, using more cores generally doesn't seem to increase power usage and allows us to decode video faster. The number of threads we use proportional to the number of pixels, normalized so that 1080p gets three threads. Examples: 4k: 12 threads 1440p: 5 threads 1080p: 3 threads anything lower than 1080p: 2 threads BUG= Committed: https://crrev.com/c99cc371fad707aed0f0e3d90b889be24e907b91 Cr-Commit-Position: refs/heads/master@{#428214}

Patch Set 1 #

Patch Set 2 : always slice #

Patch Set 3 : bugfix #

Patch Set 4 : comment update #

Total comments: 4

Patch Set 5 : comments updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -8 lines) Patch
M media/filters/ffmpeg_video_decoder.cc View 1 2 3 4 4 chunks +25 lines, -8 lines 0 comments Download

Messages

Total messages: 31 (23 generated)
hubbe
4 years, 1 month ago (2016-10-27 17:38:24 UTC) #16
DaleCurtis
https://codereview.chromium.org/2448453004/diff/60001/media/filters/ffmpeg_video_decoder.cc File media/filters/ffmpeg_video_decoder.cc (right): https://codereview.chromium.org/2448453004/diff/60001/media/filters/ffmpeg_video_decoder.cc#newcode32 media/filters/ffmpeg_video_decoder.cc:32: // Always try to use three threads for video ...
4 years, 1 month ago (2016-10-27 18:11:35 UTC) #18
hubbe
https://codereview.chromium.org/2448453004/diff/60001/media/filters/ffmpeg_video_decoder.cc File media/filters/ffmpeg_video_decoder.cc (right): https://codereview.chromium.org/2448453004/diff/60001/media/filters/ffmpeg_video_decoder.cc#newcode32 media/filters/ffmpeg_video_decoder.cc:32: // Always try to use three threads for video ...
4 years, 1 month ago (2016-10-27 20:36:47 UTC) #20
DaleCurtis
lgtm
4 years, 1 month ago (2016-10-27 20:40:42 UTC) #22
DaleCurtis
Please copy some of the comment text into the commit message.
4 years, 1 month ago (2016-10-27 20:40:54 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.chromium.org/2448453004/80001
4 years, 1 month ago (2016-10-27 22:54:58 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-10-27 23:35:55 UTC) #29
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 23:39:39 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c99cc371fad707aed0f0e3d90b889be24e907b91
Cr-Commit-Position: refs/heads/master@{#428214}

Powered by Google App Engine
This is Rietveld 408576698