[libcamera-devel] [RFC 0/3] v4l2-device: set and get format

Jacopo Mondi jacopo at jmondi.org
Sat Jan 26 16:13:15 CET 2019


Hello,
  simple implementations for set/get format on a v4l2 device.

Sending as RFC as this is based on a development branch, that allowed me to test
format configuration on UVC camera before capturing.

Thanks
   j

Jacopo Mondi (3):
  libcamera: stream: Add setters for image sizes and format
  libcamera: v4l2_device: Add methods to get/set format
  [HACK] libcamera: uvc: set format on v4l2 device

 include/libcamera/stream.h          |   4 +
 src/libcamera/include/v4l2_device.h |  13 +++
 src/libcamera/pipeline/uvcvideo.cpp |   3 +
 src/libcamera/v4l2_device.cpp       | 131 ++++++++++++++++++++++++++++
 4 files changed, 151 insertions(+)

--
2.20.1



More information about the libcamera-devel mailing list