summaryrefslogtreecommitdiff
path: root/include/libcamera/controls.h
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 /include/libcamera/controls.h
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 'include/libcamera/controls.h')
-rw-r--r--include/libcamera/controls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h
index 80414c6f..0d279d50 100644
--- a/include/libcamera/controls.h
+++ b/include/libcamera/controls.h
@@ -170,6 +170,7 @@ private:
public:
ControlList(const ControlIdMap &idmap, ControlValidator *validator = nullptr);
+ ControlList(const ControlInfoMap &info, ControlValidator *validator = nullptr);
using iterator = ControlListMap::iterator;
using const_iterator = ControlListMap::const_iterator;