31 const std::string &
model()
const {
return model_; }
41 int validateLensDriver();
44 std::unique_ptr<V4L2Subdevice> subdev_;
Utilities to help constructing class interfaces.
int setFocusPosition(int32_t position)
This function sets the focal point of the lens to a specific position.
Definition: camera_lens.cpp:87
CameraLens(const MediaEntity *entity)
Construct a CameraLens.
Definition: camera_lens.cpp:38
Base class to support log message extensions.
Definition: log.h:90
Top-level libcamera namespace.
Definition: backtrace.h:17
~CameraLens()
Destroy a CameraLens.
const ControlInfoMap & controls() const
Retrieve the V4L2 controls of the lens' subdev.
Definition: camera_lens.cpp:148
int init()
Initialize the camera lens instance.
Definition: camera_lens.cpp:56
A map of ControlId to ControlInfo.
Definition: controls.h:336
#define LIBCAMERA_DISABLE_COPY_AND_MOVE(klass)
Disable copy and move construction and assignment of the klass.
const std::string & model() const
Retrieve the lens model name.
Definition: camera_lens.h:31
std::string logPrefix() const override
Retrieve a string to be prefixed to the log message.
Definition: camera_lens.cpp:137
A camera lens based on V4L2 subdevices.
Definition: camera_lens.h:22
Framework to manage controls related to an object.