summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/cam_helper/cam_helper.cpp
diff options
context:
space:
mode:
authorDaniel Scally <dan.scally@ideasonboard.com>2024-11-27 13:32:33 +0000
committerDaniel Scally <dan.scally@ideasonboard.com>2024-12-17 22:35:58 +0000
commite4178d7943e16ffb18074a24e6c4fe0143f6c730 (patch)
tree71f7e99ffa399c3cad3653383c28222de1c2eaaa /src/ipa/rpi/cam_helper/cam_helper.cpp
parentfb02bbf7d952092d1ce81fedaf5f56a9fabcb0d7 (diff)
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>
Diffstat (limited to 'src/ipa/rpi/cam_helper/cam_helper.cpp')
-rw-r--r--src/ipa/rpi/cam_helper/cam_helper.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ipa/rpi/cam_helper/cam_helper.cpp b/src/ipa/rpi/cam_helper/cam_helper.cpp
index 6493e882..8c720652 100644
--- a/src/ipa/rpi/cam_helper/cam_helper.cpp
+++ b/src/ipa/rpi/cam_helper/cam_helper.cpp
@@ -156,19 +156,6 @@ void CamHelper::setCameraMode(const CameraMode &mode)
}
}
-void CamHelper::getDelays(int &exposureDelay, int &gainDelay,
- int &vblankDelay, int &hblankDelay) const
-{
- /*
- * These values are correct for many sensors. Other sensors will
- * need to over-ride this function.
- */
- exposureDelay = 2;
- gainDelay = 1;
- vblankDelay = 2;
- hblankDelay = 2;
-}
-
bool CamHelper::sensorEmbeddedDataPresent() const
{
return false;