Commit 69d2af89 authored by Andres Calderon Jaramillo's avatar Andres Calderon Jaramillo Committed by Commit Bot

media: Increase the largest max. surface size for VAAPI JPEG decoding.

This CL increases the largest maximum size that we expect a VAAPI driver
to report for JPEG decoding. The reason is that eve is reporting support
for a larger size than expected (16384x16384).

Test: VaapiJpegDecoderTest.* pass on eve.
Bug: 944369
Change-Id: I856c83e014a24c8c57236ec7d754444d9567b8ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1539916
Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org>
Auto-Submit: Andres Calderon Jaramillo <andrescj@chromium.org>
Reviewed-by: default avatarMiguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#644392}
parent c87eb976
......@@ -73,7 +73,7 @@ constexpr int k420MCUSize = 16;
// The largest maximum supported surface size we expect a driver to report for
// JPEG decoding.
constexpr gfx::Size kLargestSupportedSize(8192, 8192);
constexpr gfx::Size kLargestSupportedSize(16 * 1024, 16 * 1024);
// Compares the result of sw decoding |encoded_image| with |decoded_image| using
// SSIM. Returns true if all conversions work and SSIM is above a given
......
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