Hirokazu Honda has uploaded the change for review![Open in Gerrit]()
Commit message
Reland "media/gpu/vaapiWrapper: Add native pixmap validation"
> This CL introduces more rigorous validation for plane metadata when
> populating VADRMPRIMESurfaceDescriptor:
>
> - Verifying that plane pitch is at least the minimum required stride.
> - Ensuring that the plane's memory range (offset + size) stays within
> the bounds of the DMA-buf.
>
> Bug: 495819067
> Test: webrtc.RTCPeerConnection.*
> Change-Id: I5d27d3a21ab692367931406e9c345a4a61ee2bb6
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7834744
> Reviewed-by: Ted (Chromium) Meyer <tmath...@chromium.org>
> Commit-Queue: Kai Ninomiya <kai...@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1631660}
Bug: 495819067
Test: video_decode_accelerator_tests
Change-Id: Ie3b60a2e066c86b6bff7e85b115f90d9d8a3c259
Change information
Files:
- M media/gpu/vaapi/BUILD.gn
- M media/gpu/vaapi/vaapi_wrapper.cc
Change size: M
Delta: 2 files changed, 78 insertions(+), 17 deletions(-)
Open in GerritRelated details
Attention set is empty
Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie3b60a2e066c86b6bff7e85b115f90d9d8a3c259
Gerrit-Change-Number: 7855566
Gerrit-PatchSet: 1