OSDN Git Service

mediatek: provide NV12 buffers for video decoding for MT8183
authorAlexandre Courbot <acourbot@chromium.org>
Tue, 1 Oct 2019 07:07:31 +0000 (16:07 +0900)
committerchrome-bot <chrome-bot@chromium.org>
Wed, 2 Oct 2019 12:23:07 +0000 (05:23 -0700)
commit6ad6382539c2bb113c5b2682023247c9fe7c4d35
treecbb88649e9fac428ff9b2db57b23e1daae42e78d
parentc062c3b8e12f9a99bd835acaa996602d920e531d
mediatek: provide NV12 buffers for video decoding for MT8183

crrev.com/c/1767450 changed the default android flexible buffer format
back to YV12, but the video decoding scenario on MT8183 requires NV12
buffers. Add an exception for this case.

BUG=b:141732718
TEST=Play H.264 video with acceleration using both Chrome and Android's
Youtube.

Change-Id: Ie4b80389b22650450ea45f5cdea36a00360899a9
Reviewed-on: https://chromium-review.googlesource.com/1833362
Tested-by: Alexandre Courbot <acourbot@chromium.org>
Commit-Ready: Alexandre Courbot <acourbot@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
mediatek.c