[libcamera-devel] [PATCH v2 0/3] V4L2Device Try format support
Kieran Bingham
kieran.bingham at ideasonboard.com
Thu May 23 15:58:57 CEST 2019
Extend V4L2Device to provide a tryFormat function. This can be used to check a
format against a V4L2 Device to determine a suitable configuration.
Utilise this in the UVC pipeline handler so that we can validate configurations
on any UVC web cam.
Kieran Bingham (3):
libcamera: v4l2_device: Add tryFormat support
test: v4l2_device: Extend formats test with tryFromat()
libcamera: pipeline: uvc: Use the device to validate formats
src/libcamera/include/v4l2_device.h | 7 ++++--
src/libcamera/pipeline/uvcvideo.cpp | 36 +++++++++++++++++++++--------
src/libcamera/v4l2_device.cpp | 29 ++++++++++++++++++-----
test/v4l2_device/formats.cpp | 16 +++++++++++++
4 files changed, 70 insertions(+), 18 deletions(-)
--
2.20.1
More information about the libcamera-devel
mailing list