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>
This commit is contained in:
@@ -8,11 +8,6 @@
|
||||
#ifndef __LIBCAMERA_V4L2_CONTROLS_H__
|
||||
#define __LIBCAMERA_V4L2_CONTROLS_H__
|
||||
|
||||
#include <map>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <linux/videodev2.h>
|
||||
|
||||
#include <libcamera/controls.h>
|
||||
@@ -31,15 +26,6 @@ public:
|
||||
V4L2ControlRange(const struct v4l2_query_ext_ctrl &ctrl);
|
||||
};
|
||||
|
||||
class V4L2ControlList : public ControlList
|
||||
{
|
||||
public:
|
||||
V4L2ControlList(const ControlInfoMap &info)
|
||||
: ControlList(info.idmap())
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
||||
#endif /* __LIBCAMERA_V4L2_CONTROLS_H__ */
|
||||
|
||||
Reference in New Issue
Block a user