From 931556c37c251ea00404915669cc45a04a25cd2d Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 3 Mar 2022 23:49:52 +0000 Subject: libcamera: camera_lens: Add function to fetch subdev controls Add a function to the CameraLens class to fetch the V4L2 controls for its V4L2 subdev Reviewed-by: Laurent Pinchart Signed-off-by: Daniel Scally Reviewed-by: Jean-Michel Hautbois Signed-off-by: Kieran Bingham --- include/libcamera/internal/camera_lens.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/libcamera') diff --git a/include/libcamera/internal/camera_lens.h b/include/libcamera/internal/camera_lens.h index ff4d066e..277417da 100644 --- a/include/libcamera/internal/camera_lens.h +++ b/include/libcamera/internal/camera_lens.h @@ -12,6 +12,8 @@ #include #include +#include + namespace libcamera { class MediaEntity; @@ -28,6 +30,8 @@ public: const std::string &model() const { return model_; } + const ControlInfoMap &controls() const; + protected: std::string logPrefix() const override; -- cgit v1.2.1