libcamera: Allow access to v4l2_query_ext_ctrl structure for a V4L2 control
The V4L2Device::controlInfo method simply returns a pointer to the v4l2_query_ext_ctrl structure for the given control, which has already been retrieved and stored. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
15a98fab79
commit
d522ad2549
@@ -29,6 +29,8 @@ public:
|
||||
ControlList getControls(const std::vector<uint32_t> &ids);
|
||||
int setControls(ControlList *ctrls);
|
||||
|
||||
const struct v4l2_query_ext_ctrl *controlInfo(uint32_t id) const;
|
||||
|
||||
const std::string &deviceNode() const { return deviceNode_; }
|
||||
std::string devicePath() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user