media/gpu/V4L2IP: Reconfigure V4L2 queues on the first Process()
The client of ImageProcessor feeds ImageProcessor VideoFrame in import mode. The underlying buffer of the fed VideoFrame can have a different stride and size from the expectation of ImageProcessor. The difference is critical in V4L2ImageProcessor. It is necessary to reconfigure the v4l2 image processor driver by VIDIOC_S_FMT with the stride and height of the fed VideoFrame. Bug: 1033799 Test: ip_test --gtest_filter=NV12* on kukui Change-Id: I73050718f6a95a1eaa3d9c7a60eeea1bc791f04e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2097857 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#754835}
Showing
Please register or sign in to comment