summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/v4l2_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/v4l2_device.h')
-rw-r--r--include/libcamera/internal/v4l2_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libcamera/internal/v4l2_device.h b/include/libcamera/internal/v4l2_device.h
index b82e2a14..c318e976 100644
--- a/include/libcamera/internal/v4l2_device.h
+++ b/include/libcamera/internal/v4l2_device.h
@@ -56,6 +56,11 @@ protected:
int fd() const { return fd_; }
private:
+ static ControlType v4l2CtrlType(uint32_t ctrlType);
+ static std::unique_ptr<ControlId> v4l2ControlId(const v4l2_query_ext_ctrl &ctrl);
+ ControlInfo v4l2ControlInfo(const v4l2_query_ext_ctrl &ctrl);
+ ControlInfo v4l2MenuControlInfo(const v4l2_query_ext_ctrl &ctrl);
+
void listControls();
void updateControls(ControlList *ctrls,
Span<const v4l2_ext_control> v4l2Ctrls);