summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/controller/agc_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/rpi/controller/agc_status.h')
-rw-r--r--src/ipa/rpi/controller/agc_status.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ipa/rpi/controller/agc_status.h b/src/ipa/rpi/controller/agc_status.h
index 6c112e76..597eddd7 100644
--- a/src/ipa/rpi/controller/agc_status.h
+++ b/src/ipa/rpi/controller/agc_status.h
@@ -11,8 +11,10 @@
#include <libcamera/base/utils.h>
/*
- * The AGC algorithm should post the following structure into the image's
- * "agc.status" metadata.
+ * The AGC algorithm process method should post an AgcStatus into the image
+ * metadata under the tag "agc.status".
+ * The AGC algorithm prepare method should post an AgcPrepareStatus instead
+ * under "agc.prepare_status".
*/
/*
@@ -34,6 +36,9 @@ struct AgcStatus {
int floatingRegionEnable;
libcamera::utils::Duration fixedShutter;
double fixedAnalogueGain;
+};
+
+struct AgcPrepareStatus {
double digitalGain;
int locked;
};