[libcamera-devel] [PATCH 0/2] V4L2Device Try format support
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Fri May 3 19:13:19 CEST 2019
Hi Kieran,
Thank you for the patches.
On Fri, May 03, 2019 at 04:34:01PM +0100, Kieran Bingham wrote:
> 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 provide a valid default
> configuration on any UVC web cam.
I think this should be handled through format enumeration though, but
maybe also confirmed by trying it out. Niklas has developed patches that
are based on a series I haven't posted yet. I'll try to finalise it
ASAP so you can have a look.
> Kieran Bingham (2):
> libcamera: v4l2_device: Add tryFormat support
> libcamera: pipeline: uvc: Try a default format against the device
>
> src/libcamera/include/v4l2_device.h | 7 +++++--
> src/libcamera/pipeline/uvcvideo.cpp | 11 +++++++++--
> src/libcamera/v4l2_device.cpp | 29 +++++++++++++++++++++++------
> 3 files changed, 37 insertions(+), 10 deletions(-)
>
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list