diff options
Diffstat (limited to 'src/ipa/raspberrypi')
-rw-r--r-- | src/ipa/raspberrypi/cam_helper_imx296.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ipa/raspberrypi/cam_helper_imx296.cpp b/src/ipa/raspberrypi/cam_helper_imx296.cpp index ab1d157a..09f828ea 100644 --- a/src/ipa/raspberrypi/cam_helper_imx296.cpp +++ b/src/ipa/raspberrypi/cam_helper_imx296.cpp @@ -23,6 +23,7 @@ public: double gain(uint32_t gainCode) const override; uint32_t exposureLines(Duration exposure) const override; Duration exposure(uint32_t exposureLines) const override; + void getDelays(int &exposureDelay, int &gainDelay, int &vblankDelay) const override; private: static constexpr uint32_t maxGainCode = 239; @@ -61,6 +62,14 @@ Duration CamHelperImx296::exposure(uint32_t exposureLines) const return exposureLines * timePerLine + 14.26us; } +void CamHelperImx296::getDelays(int &exposureDelay, int &gainDelay, + int &vblankDelay) const +{ + exposureDelay = 2; + gainDelay = 2; + vblankDelay = 2; +} + static CamHelper *create() { return new CamHelperImx296(); |