Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M108] media/gpu: Add visible rect validation to LibYUV image processor
Add a check to the LibYUV image processor backend to make sure the visible rect is no larger than the input resolution. This check was already present in the V4L2 image processor, and its absence was causing issues with the GTS test "GtsMediaTestCases com.google.android.media.gts.MediaDrmStressTest#testL1H264PlaybackRecovery" (cherry picked from commit 9a2ec9f) Bug: b:258077770 Test: Tested on Corsola Change-Id: I1e7b9025f445b8d382c12227d980d4cee68321aa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4065500 Commit-Queue: Justin Green <greenjustin@google.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1077318} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4065622 Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org> Auto-Submit: Hsin-Yi Wang <hsinyi@chromium.org> Reviewed-by: Justin Green <greenjustin@google.com> Cr-Commit-Position: refs/branch-heads/5359@{#1046} Cr-Branched-From: 27d3765-refs/heads/main@{#1058933}
- Loading branch information