diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2021-09-08 16:51:15 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2021-09-10 10:32:57 +0900 |
commit | 69cffe70127e3d0e7ba17a9aa24bed4b88992dbf (patch) | |
tree | db53cd99a796d362f2566192edf6bd4654bf02fb /test/public-api.cpp | |
parent | 9f9c224c7bb91e0123b75901a7ccf54d1226504d (diff) |
v4l2: v4l2_camera_proxy: Report the proper format name in enum_fmt
Now that libcamera has the V4L2 format names, retrieve and report those
names in ENUM_FMT. While at it, refactor the code slightly with
PixelFormatInfo.
This fixes the test failures on v4l2-compliance with the v4l2
compatilibity layer that were observed in version v4l2-compliance
version 1.21.0-4838.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Diffstat (limited to 'test/public-api.cpp')
0 files changed, 0 insertions, 0 deletions