summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/ipa_context.h
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2022-08-18 18:01:08 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-08-19 18:14:16 +0300
commit3200bb635ccd64d5997bc372d9fa6bc894b2f9d0 (patch)
tree8c292ff45a868d26b000286607f848725f2753e1 /src/ipa/rkisp1/ipa_context.h
parentbf3dbaece91e7f9be00923a225a62a918bf71f5b (diff)
ipa: rkisp1: Add manual color gains
Add support for manually controlling the color gains on the rkisp1 IPA. To that end, add and plumb the AwbEnable and ColourGains controls. As per-frame controls aren't supported yet in the rkisp1 IPA, simply apply and perform checks on the controls immediately. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/ipa_context.h')
-rw-r--r--src/ipa/rkisp1/ipa_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h
index 2bdb6a81..68f92297 100644
--- a/src/ipa/rkisp1/ipa_context.h
+++ b/src/ipa/rkisp1/ipa_context.h
@@ -55,6 +55,7 @@ struct IPAFrameContext {
} gains;
double temperatureK;
+ bool autoEnabled;
} awb;
struct {