From b1f09c013a01a82c739f0e30b71fd8d000ef5655 Mon Sep 17 00:00:00 2001 From: Benjamin Mugnier Date: Tue, 28 Oct 2025 09:46:50 +0100 Subject: [PATCH] ipa: rpi: vd56g3: Fix frameIntegrationDiff value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the vd56g3 user manual : MAX_EXPOSURE_COARSE = FRAME_LENGTH − EXP_COARSE_INTG_MARGIN − 7 EXP_COARSE_INTG_MARGIN >= 68 Therefore, frameIntegrationDiff is EXP_COARSE_INTG_MARGIN + 7, equals 75. This value is coherent with the VD56G3_EXPOSURE_MARGIN in the kernel driver source code. Reported-by: Jacopo Mondi Signed-off-by: Benjamin Mugnier Reviewed-by: Jacopo Mondi Reviewed-by: Kieran Bingham Reviewed-by: Naushir Patuck Signed-off-by: Kieran Bingham --- src/ipa/rpi/cam_helper/cam_helper_vd56g3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/rpi/cam_helper/cam_helper_vd56g3.cpp b/src/ipa/rpi/cam_helper/cam_helper_vd56g3.cpp index 140aabd8..8a58bc74 100644 --- a/src/ipa/rpi/cam_helper/cam_helper_vd56g3.cpp +++ b/src/ipa/rpi/cam_helper/cam_helper_vd56g3.cpp @@ -23,7 +23,7 @@ private: * Smallest difference between the frame length and integration time, * in units of lines. */ - static constexpr int frameIntegrationDiff = 61; + static constexpr int frameIntegrationDiff = 75; }; CamHelperVd56g3::CamHelperVd56g3()