libcamera: camera_sensor_properties: Add sensor control delays

Add properties covering the sensor control application delays to both
the static CameraSensorProperties definitions. The values used are
taken from Raspberry Pi's CamHelper class definitions. Where no more
specific values are known the delay struct is defined as empty and
defaults supplied through the getter function.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
This commit is contained in:
Daniel Scally
2024-11-15 07:46:27 +00:00
parent f5db849732
commit ca64f0514a
5 changed files with 155 additions and 0 deletions

View File

@@ -336,6 +336,18 @@ CameraSensor::~CameraSensor() = default;
* pattern mode for every frame thus incurs no performance penalty.
*/
/**
* \fn CameraSensor::sensorDelays()
* \brief Fetch the sensor delay values
*
* This function retrieves the delays that the sensor applies to controls. If
* the static properties database doesn't specifiy control delay values for the
* sensor, default delays that may be suitable are returned and a warning is
* logged.
*
* \return The sensor delay values
*/
/**
* \class CameraSensorFactoryBase
* \brief Base class for camera sensor factories