summaryrefslogtreecommitdiff
path: root/src/ipa/simple/ipa_context.cpp
diff options
context:
space:
mode:
authorMilan Zamazal <mzamazal@redhat.com>2024-09-27 15:46:23 +0200
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-09-27 15:01:57 +0100
commitfb8ad13dc3e38a1bb056c209f692af53588c7b84 (patch)
tree48b94e98c2b932cb711a2b7bc9177e7725fe767a /src/ipa/simple/ipa_context.cpp
parent54fb3bba81e6ac79e5ac5881e33be4baf96cf6f3 (diff)
libcamera: software_isp: Move exposure+gain to an algorithm module
This is the last step to fully convert software ISP to Algorithm-based processing. The newly introduced frameContext.sensor parameters are set, and the updated code moved, before calling Algorithm::process() to have the values up-to-date in stats processing. Resolves software ISP TODO #10. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/simple/ipa_context.cpp')
-rw-r--r--src/ipa/simple/ipa_context.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ipa/simple/ipa_context.cpp b/src/ipa/simple/ipa_context.cpp
index 5fa492cb..3f94bbeb 100644
--- a/src/ipa/simple/ipa_context.cpp
+++ b/src/ipa/simple/ipa_context.cpp
@@ -78,6 +78,17 @@ namespace libcamera::ipa::soft {
*/
/**
+ * \var IPAActiveState::agc
+ * \brief Context for the AGC algorithm
+ *
+ * \var IPAActiveState::agc.exposure
+ * \brief Current exposure value
+ *
+ * \var IPAActiveState::agc.again
+ * \brief Current analog gain value
+ */
+
+/**
* \var IPAActiveState::gamma
* \brief Context for gamma in the Colors algorithm
*