media/gpu/v4l2: Abstract buffer usage inside reference
The writable buffer references are passing their buffers to the decode surface to set the controls, requests or config store settings which is making the writable buffer references aware of the decoded surface. This patch removes references to the decode surfaces in the writable buffer reference and at the same time simplifies to the decode surface submission. BUG=chromium:1009921 TEST=ran tast with video.DecodeAccelVD.vp8_resolution_switch on veyron_minnie. TEST=ran tast with video.DecodeAccelVD.h264_resolution_switch on veyron_minnie. TEST=ran tast with video.DecodeAccelVD.vp8 on veyron_minnie. TEST=ran tast with video.DecodeAccelVD.h264 on veyron_minnie. TEST=ran tast with video.DecodeAccel.vp8 on veyron_minnie. TEST=ran tast with video.DecodeAccel.h264 on veyron_minnie. TEST=ran tast with video.DecodeAccelVD.vp8_resolution_switch on kevin. TEST=ran tast with video.DecodeAccelVD.h264_resolution_switch on kevin. TEST=ran tast with video.DecodeAccelVD.vp8 on kevin. TEST=ran tast with video.DecodeAccelVD.h264 on kevin. TEST=ran tast with video.DecodeAccel.vp8 on kevin. TEST=ran tast with video.DecodeAccel.h264 on kevin. Signed-off-by:Francois Buergisser <fbuergisser@chromium.org> Change-Id: I5097a2bb9b2ce1ede7e7ad573d37a47d15dfaf26 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1969411Reviewed-by:
Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#730065}
Showing
Please register or sign in to comment