Commit f8c3c280 authored by Miguel Casas's avatar Miguel Casas Committed by Commit Bot

media/gpu/vaapi: Disable VP9 Profile 2 and 3 decoding

This CL disables support for VP9.2 and VP9.3 in Vaapi so that decoding
of these profiles falls back automatically to libvpx. This is because
the majority of content in those formats is also HDR, and Vaapi does
not support on ToT colorspace information nor high bit depth.

Bug: 1011469, 1011454

Cq-depend-on-chromium:1845616 (CrOs tast repo).

Change-Id: I1cb1d9c4f91181b7049caab961d2dec2427f360c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1842564
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Reviewed-by: default avatarDavid Staessens <dstaessens@chromium.org>
Reviewed-by: default avatarAndres Calderon Jaramillo <andrescj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704823}
parent cf6b0582
...@@ -142,8 +142,10 @@ static const struct { ...@@ -142,8 +142,10 @@ static const struct {
{VP8PROFILE_ANY, VAProfileVP8Version0_3}, {VP8PROFILE_ANY, VAProfileVP8Version0_3},
{VP9PROFILE_PROFILE0, VAProfileVP9Profile0}, {VP9PROFILE_PROFILE0, VAProfileVP9Profile0},
{VP9PROFILE_PROFILE1, VAProfileVP9Profile1}, {VP9PROFILE_PROFILE1, VAProfileVP9Profile1},
{VP9PROFILE_PROFILE2, VAProfileVP9Profile2}, // TODO(crbug.com/1011454, crbug.com/1011469): Reenable VP9PROFILE_PROFILE2
{VP9PROFILE_PROFILE3, VAProfileVP9Profile3}, // and _PROFILE3 when P010 is completely supported.
//{VP9PROFILE_PROFILE2, VAProfileVP9Profile2},
//{VP9PROFILE_PROFILE3, VAProfileVP9Profile3},
}; };
constexpr const char* kMesaGalliumDriverPrefix = "Mesa Gallium driver"; constexpr const char* kMesaGalliumDriverPrefix = "Mesa Gallium driver";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment