[libcamera-devel] [PATCH v4 0/4] Clean up V4L2Device code

Hirokazu Honda hiroh at chromium.org
Thu Apr 22 04:18:05 CEST 2021


This basically cleans up V4L2Device code related to controls,
getControls(), setControls() and updateControls().

Hirokazu Honda (4):
  libcamera: V4L2Device: Remove the controls order assumption in
    updateControls()
  libcamera: V4L2Device: Use std::vector for v4l2_ext_control in
    getControls()
  libcamera: V4L2Device: Use std::vector for v4l2_ext_control in
    setControls()
  libcamera: V4L2Device: Use Span in updateControls()

 include/libcamera/internal/v4l2_device.h |   4 +-
 src/libcamera/v4l2_device.cpp            | 105 ++++++++++-------------
 2 files changed, 47 insertions(+), 62 deletions(-)

--
2.31.1.368.gbe11c130af-goog


More information about the libcamera-devel mailing list