libcamera: camera_sensor: Add method to get sensor info
Add a method to retrieve the CameraSensorInfo to the CameraSensor class. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -61,6 +61,7 @@ public:
|
||||
int setControls(ControlList *ctrls);
|
||||
|
||||
const ControlList &properties() const { return properties_; }
|
||||
int sensorInfo(CameraSensorInfo *info) const;
|
||||
|
||||
protected:
|
||||
std::string logPrefix() const;
|
||||
|
||||
Reference in New Issue
Block a user