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

Issue 1828033002: media: Lazily reconfigure MediaCodecs in AVDA for JellyBean (Closed)

Created:
4 years, 9 months ago by watk
Modified:
4 years, 6 months ago
CC:
liberato (no reviews please), chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Lazily reconfigure MediaCodecs in AVDA for JellyBean Previously, on Jellybean only, AVDA::Reset() released its MediaCodec and created a new one. MediaCodec creation can take 100-200 ms so to avoid doing unless it's necessary, now it will be created lazily on the next call to Decode(). BUG=599288 TEST=manual

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rebase only #

Patch Set 3 : moved reinit to Decode #

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

Messages

Total messages: 12 (4 generated)
watk
https://codereview.chromium.org/1828033002/diff/1/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/1828033002/diff/1/content/common/gpu/media/android_video_decode_accelerator.cc#newcode414 content/common/gpu/media/android_video_decode_accelerator.cc:414: } else if (state_ == PENDING_CODEC_RECONFIGURE) { Should probably ...
4 years, 9 months ago (2016-03-24 01:02:59 UTC) #1
ddorwin
drive-by comments: * Please explain why, especially why only on <18. in the description and/or ...
4 years, 9 months ago (2016-03-24 02:14:06 UTC) #3
watk
On 2016/03/24 02:14:06, ddorwin wrote: > drive-by comments: > * Please explain why, especially why ...
4 years, 9 months ago (2016-03-24 02:36:10 UTC) #4
watk
4 years, 8 months ago (2016-03-28 23:54:35 UTC) #5
liberato (no reviews please)
https://codereview.chromium.org/1828033002/diff/1/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/1828033002/diff/1/content/common/gpu/media/android_video_decode_accelerator.cc#newcode414 content/common/gpu/media/android_video_decode_accelerator.cc:414: } else if (state_ == PENDING_CODEC_RECONFIGURE) { On 2016/03/24 ...
4 years, 8 months ago (2016-03-29 14:54:40 UTC) #7
liberato (no reviews please)
lgtm.
4 years, 8 months ago (2016-03-31 16:24:56 UTC) #10
watk
Closing in favor of https://codereview.chromium.org/2000833003/
4 years, 6 months ago (2016-05-24 19:44:15 UTC) #11
watk
4 years, 6 months ago (2016-05-24 19:44:18 UTC) #12

Powered by Google App Engine
This is Rietveld 408576698