Relax NV12 format rejection for exo
# This is reland of crrev.com/c/1775190. # It has to use floored value instead of rounding to match what kernel expects. Applies the same restriction in other scenarios (web page/apps). * Reject iff - the buffer is cropped hirozontally, and - the cropped bounds' horizontal coordinates (x and width) doesn't fall into even pixel boundary Bug: 997821, b/141202973 Test: manually tested with netflix web/arc apps on eve. GtsYouTubeTestCases:com.google.android.youtube.gts.DecodePerformanceTest passed on octopus Change-Id: I7ce9e41b55a1f3c87e55ed680e17f9842388db51 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1847676Reviewed-by:Daniele Castagna <dcastagna@chromium.org> Commit-Queue: Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#704153}
Showing
Please register or sign in to comment