@@ -61,6 +61,8 @@ public:
ControlList getControls(const std::vector<uint32_t> &ids);
int setControls(ControlList *ctrls);
+ V4L2Subdevice *device() { return subdev_.get(); }
+
const ControlList &properties() const { return properties_; }
int sensorInfo(CameraSensorInfo *info) const;
@@ -514,6 +514,13 @@ ControlList CameraSensor::getControls(const std::vector<uint32_t> &ids)
return subdev_->getControls(ids);
}
+/**
+ * \fn CameraSensor::device()
+ * \brief Retrieve the camera sensor device
+ * \todo Remove this function by integrating DelayedControl with CameraSensor
+ * \return The camera sensor device
+ */
+
/**
* \fn CameraSensor::properties()
* \brief Retrieve the camera sensor properties