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

Issue 2334223009: Don't use AVDA for <360p VPx content. (Closed)

Created:
4 years, 3 months ago by liberato (no reviews please)
Modified:
4 years, 3 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't use AVDA for <360p VPx content. Power measurements on a nexus 5 show that there's very little difference below 360p between hardware and libvpx decoding. This CL switches to libvpx decoding for <360p, even if it could be hardware accelerated by AVDA. This saves a hardware codec instance, and avoids potential stability issues with lots of MediaCodecs in use at once. BUG=647259, 642948 TEST=manually checked 240p and 360p. Committed: https://crrev.com/cbf3eb056e5d75a33379bff11c117a9453db6715 Cr-Commit-Position: refs/heads/master@{#418964}

Patch Set 1 #

Patch Set 2 : supported profiles #

Patch Set 3 : comments! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M media/gpu/android_video_decode_accelerator.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
liberato (no reviews please)
viva libvpx. -fl
4 years, 3 months ago (2016-09-15 15:57:31 UTC) #3
DaleCurtis
You can specify this is the SupportedProfiles section to avoid GPU hop.
4 years, 3 months ago (2016-09-15 16:23:16 UTC) #4
liberato (no reviews please)
oops, didn't think about it. thanks! -fl
4 years, 3 months ago (2016-09-15 16:57:36 UTC) #6
DaleCurtis
lgtm, but add a comment explaining why. Did we want to do this for vp9 ...
4 years, 3 months ago (2016-09-15 17:08:37 UTC) #7
liberato (no reviews please)
On 2016/09/15 17:08:37, DaleCurtis wrote: > lgtm, but add a comment explaining why. Did we ...
4 years, 3 months ago (2016-09-15 17:32:15 UTC) #8
liberato (no reviews please)
On 2016/09/15 17:32:15, liberato wrote: > On 2016/09/15 17:08:37, DaleCurtis wrote: > > lgtm, but ...
4 years, 3 months ago (2016-09-15 18:09:39 UTC) #9
DaleCurtis
lgtm, I'd tag this against the mediaserver drain fix as well since all users seem ...
4 years, 3 months ago (2016-09-15 19:03:03 UTC) #10
DaleCurtis
(16x16 vp8 specifically)
4 years, 3 months ago (2016-09-15 19:03:19 UTC) #11
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/2334223009/60001
4 years, 3 months ago (2016-09-15 19:42:28 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 3 months ago (2016-09-15 20:50:35 UTC) #16
DaleCurtis
Hmm, just realized this may break EME content if any such exists below <360p on ...
4 years, 3 months ago (2016-09-15 20:51:03 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 20:52:56 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cbf3eb056e5d75a33379bff11c117a9453db6715
Cr-Commit-Position: refs/heads/master@{#418964}

Powered by Google App Engine
This is Rietveld 408576698