libcamera: rpi: Draw sensor delays from CameraSensorProperties

Now that we have camera sensor control application delay values in
the CameraSensorProperties class, remove the duplicated definitions
in the RPi IPA's CameraSensorHelpers and update the pipeline handler
to use the values from CameraSensorProperties.

Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Daniel Scally
2024-11-27 13:32:33 +00:00
parent fb02bbf7d9
commit e4178d7943
16 changed files with 15 additions and 158 deletions
@@ -331,6 +331,14 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
{ "ov5647", {
.unitCellSize = { 1400, 1400 },
.testPatternModes = {},
/*
* We run this sensor in a mode where the gain delay is
* bumped up to 2. It seems to be the only way to make
* the delays "predictable".
*
* \todo Verify these delays properly, as the upstream
* driver appears to configure _no_ delay.
*/
.sensorDelays = {
.exposureDelay = 2,
.gainDelay = 2,