From b5d2adbeabeacdba6e887de2aef39aa320f4abe1 Mon Sep 17 00:00:00 2001 From: Jean-Michel Hautbois Date: Thu, 24 Feb 2022 16:11:12 +0100 Subject: ipa: ipu3: agc: Introduce lineDuration in IPASessionConfiguration Instead of having a local cached value for line duration, store it in the IPASessionConfiguration::sensor structure. While at it, configure the default analogue gain and shutter speed to controlled fixed values. The latter is set to be 10ms as it will in most cases be close to the one needed, making the AGC faster to converge. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Kieran Bingham Reviewed-by: Umang Jain Signed-off-by: Umang Jain --- src/ipa/ipu3/ipa_context.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ipa/ipu3/ipa_context.cpp') diff --git a/src/ipa/ipu3/ipa_context.cpp b/src/ipa/ipu3/ipa_context.cpp index 86794ac1..9c4ec936 100644 --- a/src/ipa/ipu3/ipa_context.cpp +++ b/src/ipa/ipu3/ipa_context.cpp @@ -86,6 +86,14 @@ namespace libcamera::ipa::ipu3 { * \brief Maximum analogue gain supported with the configured sensor */ +/** + * \var IPASessionConfiguration::sensor + * \brief Sensor-specific configuration of the IPA + * + * \var IPASessionConfiguration::sensor.lineDuration + * \brief Line duration in microseconds + */ + /** * \var IPAFrameContext::agc * \brief Context for the Automatic Gain Control algorithm -- cgit v1.2.1