summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/ipa_context.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-09-04 05:14:17 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-09-28 05:41:15 +0300
commitef38cbe9de93aa22a2232a56017aecfeed5ed232 (patch)
tree9f8d17ffdabd5ec98b8340c533e9e8cc70e8bf3d /src/ipa/rkisp1/ipa_context.h
parent290ebeb59525eb7fdcc6f815d8dee6cbe3d8a314 (diff)
ipa: rkisp1: awb: Store color temperature as an integer
The color temperature doesn't need floating point precision, and is calculated by Awb::estimateCCT() as an unsigned integer. Store it with the same data type in the frame context. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/ipa/rkisp1/ipa_context.h')
-rw-r--r--src/ipa/rkisp1/ipa_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h
index 88e8bbcc..ad357f25 100644
--- a/src/ipa/rkisp1/ipa_context.h
+++ b/src/ipa/rkisp1/ipa_context.h
@@ -100,7 +100,7 @@ struct IPAFrameContext : public FrameContext {
double blue;
} gains;
- double temperatureK;
+ unsigned int temperatureK;
bool autoEnabled;
} awb;