Hello,
this series defines a V4L2DeviceFormat format exchange class to be used
to provide a V4L2Device an image format configuration request.
I went with V4L2DeviceFormat name as we'll likely need V4L2SubdeviceFormat.
On top of that implement format set and get for V4L2Device handling the single
and multi planar API use cases.
Thanks
j
Jacopo Mondi (2):
libcamera: v4l2-format: Add V4L2DeviceFormat
libcamera: v4l2_device: Add methods to get/set format
src/libcamera/include/v4l2_device.h | 24 ++++
src/libcamera/v4l2_device.cpp | 183 ++++++++++++++++++++++++++++
2 files changed, 207 insertions(+)
--
2.20.1