Reland "media/gpu/V4L2IP: Reconfigure V4L2 queues on the first Process()"
This is a reland of 1343d831 The original CL is reverted as breaking vda test fails on hana. The issue is mainly due to V4L2(S)VDA code. So I submit the original CL as-is and separately land a VDA fix CL, crrev.com/c/2131968. Original change's description: > 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} Bug: 1033799 Change-Id: I7d74e66f6c543009a65dde9d7af14b38c3089aa6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132556 Auto-Submit: Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by:Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#756202}
Showing
Please register or sign in to comment