[libcamera-devel,v4,0/4] Clean up V4L2Device code
mbox series

Message ID 20210422021809.520675-1-hiroh@chromium.org
Headers show
Series
  • Clean up V4L2Device code
Related show

Message

Hirokazu Honda April 22, 2021, 2:18 a.m. UTC
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