summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/raspberrypi')
-rw-r--r--src/ipa/raspberrypi/cam_helper_imx477.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ipa/raspberrypi/cam_helper_imx477.cpp b/src/ipa/raspberrypi/cam_helper_imx477.cpp
index eaa7be16..419f8e77 100644
--- a/src/ipa/raspberrypi/cam_helper_imx477.cpp
+++ b/src/ipa/raspberrypi/cam_helper_imx477.cpp
@@ -37,6 +37,7 @@ public:
CamHelperImx477();
uint32_t GainCode(double gain) const override;
double Gain(uint32_t gain_code) const override;
+ void GetDelays(int &exposure_delay, int &gain_delay) const override;
bool SensorEmbeddedDataPresent() const override;
private:
@@ -62,6 +63,12 @@ double CamHelperImx477::Gain(uint32_t gain_code) const
return 1024.0 / (1024 - gain_code);
}
+void CamHelperImx477::GetDelays(int &exposure_delay, int &gain_delay) const
+{
+ exposure_delay = 2;
+ gain_delay = 2;
+}
+
bool CamHelperImx477::SensorEmbeddedDataPresent() const
{
return true;