summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/ipa_context.cpp
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2022-02-24 16:11:12 +0100
committerUmang Jain <umang.jain@ideasonboard.com>2022-03-11 20:47:32 +0530
commitb5d2adbeabeacdba6e887de2aef39aa320f4abe1 (patch)
treea02b36fb70092db8f5b0743dea243c64ef5669c3 /src/ipa/ipu3/ipa_context.cpp
parente3900d1bf9fdb7200cfda7b73e59b5aac03c6f18 (diff)
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 <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/ipa/ipu3/ipa_context.cpp')
-rw-r--r--src/ipa/ipu3/ipa_context.cpp8
1 files changed, 8 insertions, 0 deletions
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
@@ -87,6 +87,14 @@ namespace libcamera::ipa::ipu3 {
*/
/**
+ * \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
*