[libcamera-devel] [PATCH v6 0/6] Add support for V4L2 controls
Jacopo Mondi
jacopo at jmondi.org
Mon Jun 24 16:28:53 CEST 2019
Hello,
*) Rename V4L2Controls in V4L2ControlList
*) Drop V4L2ControlList::operator[]
*) Replace get/setControls documentation
*) Handle errors better in get/setControls
*) Make V4L2ControlList::add() refuse duplicated elements at the expense
of iterating the control list
Thanks
j
Jacopo Mondi (6):
libcamera: Add V4L2Controls
libcamera: v4l2_device: List valid controls at open
libcamera: v4l2_device: Implement get and set controls
libcamera: camera_sensor: Add V4L2 control operations
libcamera: ipu3: Set pipe_mode based on stream configuration
[HACK] ipu3: Set and get a few sensor controls
src/libcamera/camera_sensor.cpp | 69 +++++++
src/libcamera/include/camera_sensor.h | 6 +
src/libcamera/include/v4l2_controls.h | 79 ++++++++
src/libcamera/include/v4l2_device.h | 17 ++
src/libcamera/meson.build | 1 +
src/libcamera/pipeline/ipu3/ipu3.cpp | 59 ++++++
src/libcamera/v4l2_controls.cpp | 281 ++++++++++++++++++++++++++
src/libcamera/v4l2_device.cpp | 243 ++++++++++++++++++++++
8 files changed, 755 insertions(+)
create mode 100644 src/libcamera/include/v4l2_controls.h
create mode 100644 src/libcamera/v4l2_controls.cpp
--
2.21.0
More information about the libcamera-devel
mailing list