[libcamera-devel] [PATCH v2 0/7] Add support for V4L2 array controls

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sat Mar 21 01:36:33 CET 2020


Hello,

This is the second version of Jacopo's "[PATCH 00/11] Adda support for
V4L2 array control and strings". Support for string controls has since
then been merged, so the series now focusses solely on V4L2 array
controls.

Compared to v1, a patch has been added to introduce a zero-copy set API
for ControlValue (1/7). Subsequent patches have been adapted to use this
new API, and review comments on v1 have been addressed. Please see
individual patches for details.

The series is based on the latest master branch.

Jacopo Mondi (6):
  libcamera: v4l2_controls: Cache query control information
  libcamera: v4l2_device: Support writing array U8 controls
  libcamera: v4l2_device: Support reading U8 array controls
  libcamera: v4l2_controls: Support U8 array controls
  libcamera: v4l2_device: Enable enumeration of U8 controls
  test: v4l2_videodevice: Test U8 array controls

Laurent Pinchart (1):
  libcamera: controls: Add zero-copy set API for ControlValue

 include/libcamera/controls.h               |  4 ++
 src/libcamera/control_serializer.cpp       | 61 ++----------------
 src/libcamera/controls.cpp                 | 54 ++++++++++++----
 src/libcamera/include/control_serializer.h |  3 -
 src/libcamera/include/v4l2_device.h        |  1 +
 src/libcamera/v4l2_controls.cpp            |  9 +++
 src/libcamera/v4l2_device.cpp              | 75 +++++++++++++++++-----
 test/v4l2_videodevice/controls.cpp         | 30 ++++++++-
 8 files changed, 148 insertions(+), 89 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list