media/gpu/v4l2/V4L2JEA: Execute S_FMT for YUV420M and YUV420 separately
Formerly, V4L2JEA calls S_FMT one time for YUV420M and checks if the pixel format filled by driver is either YUV420 or YUV420M. Then, a driver can fill NV12 even if it supports YUV420. V4L2JEA would rather execute S_FMT for YUV420M and YUV420 separately and check if the returned format is exactly same as the specified one. Bug: 908357 Test: VEA unittest on kevin Change-Id: I15b5bae4f8d1c728f0db0bb961a1f5d39fed3c53 Reviewed-on: https://chromium-review.googlesource.com/c/1352074 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:Ricky Liang <jcliang@chromium.org> Cr-Commit-Position: refs/heads/master@{#612084}
Showing
Please register or sign in to comment