summaryrefslogtreecommitdiff
path: root/src/ipa/mali-c55/ipa_context.h
diff options
context:
space:
mode:
authorDaniel Scally <dan.scally@ideasonboard.com>2024-11-15 12:25:38 +0000
committerDaniel Scally <dan.scally@ideasonboard.com>2024-12-17 22:35:59 +0000
commit2f952179170aeee13078813935ae4be3c30b1f14 (patch)
tree326069168bd645c3a7d81a01c2baa9c60e44b014 /src/ipa/mali-c55/ipa_context.h
parentfbea6a4c023cd0757c0a7e812763c1193916fc61 (diff)
ipa: mali-c55: Add AWB Algorithm
Add a simple grey-world auto white balance algorithm to the mali-c55 IPA. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Acked-by: Nayden Kanchev <nayden.kanchev@arm.com> Co-developed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Diffstat (limited to 'src/ipa/mali-c55/ipa_context.h')
-rw-r--r--src/ipa/mali-c55/ipa_context.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ipa/mali-c55/ipa_context.h b/src/ipa/mali-c55/ipa_context.h
index af1c3d96..5e3e2fbd 100644
--- a/src/ipa/mali-c55/ipa_context.h
+++ b/src/ipa/mali-c55/ipa_context.h
@@ -51,6 +51,11 @@ struct IPAActiveState {
uint32_t exposureMode;
uint32_t temperatureK;
} agc;
+
+ struct {
+ double rGain;
+ double bGain;
+ } awb;
};
struct IPAFrameContext : public FrameContext {
@@ -59,6 +64,11 @@ struct IPAFrameContext : public FrameContext {
double sensorGain;
double ispGain;
} agc;
+
+ struct {
+ double rGain;
+ double bGain;
+ } awb;
};
struct IPAContext {