Added support for checking supported image formats to the VAAPI wrapper.
Currently the jpeg decoder always assumes the VAAPI will support decoding to the I420 format. As this might not be the case for all VAAPI implementations this change adds a method to the VAAPI wrapper to check whether a specific format is supported. Bug: 828119 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I8ad54a27b9e1d560f5590ae778e43f8d75bba8e9 Reviewed-on: https://chromium-review.googlesource.com/1102277 Commit-Queue: David Staessens <dstaessens@chromium.org> Reviewed-by:Miguel Casas <mcasas@chromium.org> Reviewed-by:
Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#580817}
Showing
Please register or sign in to comment