summaryrefslogtreecommitdiff
path: root/src/libcamera/v4l2_controls.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-10-14 02:18:34 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-10-15 22:33:34 +0300
commitba9a62c836a84d2dbcdd2543f849c87b9278c9b0 (patch)
treed59b8134c04f904b6ff9f72d34a470c75db7e575 /src/libcamera/v4l2_controls.cpp
parent319d6ae8e3ad1a47a674e85015de9ea811e84564 (diff)
libcamera: v4l2_controls: Remove V4L2ControlList class
The V4L2ControlList class only provides a convenience constructor for the ControlList, which can easily be moved to the ControlList class and may benefit it later (to construct a ControlList from controls supported by a camera). Move the constructor and remove V4L2ControlList. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/libcamera/v4l2_controls.cpp')
-rw-r--r--src/libcamera/v4l2_controls.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/libcamera/v4l2_controls.cpp b/src/libcamera/v4l2_controls.cpp
index 37ff034e..2462c3e2 100644
--- a/src/libcamera/v4l2_controls.cpp
+++ b/src/libcamera/v4l2_controls.cpp
@@ -126,24 +126,4 @@ V4L2ControlRange::V4L2ControlRange(const struct v4l2_query_ext_ctrl &ctrl)
static_cast<int32_t>(ctrl.maximum)));
}
-/**
- * \class V4L2ControlList
- * \brief A list of controls for a V4L2 device
- *
- * This class specialises the ControList class for use with V4L2 devices. It
- * offers a convenience API to create a ControlList from a ControlInfoMap.
- *
- * V4L2ControlList allows easy construction of a ControlList containing V4L2
- * controls for a device. It can be used to construct the list of controls
- * passed to the V4L2Device::getControls() and V4L2Device::setControls()
- * methods. The class should however not be used in place of ControlList in
- * APIs.
- */
-
-/**
- * \fn V4L2ControlList::V4L2ControlList(const ControlInfoMap &info)
- * \brief Construct a V4L2ControlList associated with a V4L2 device
- * \param[in] info The V4L2 device control info map
- */
-
} /* namespace libcamera */