diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-09-04 05:14:17 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-09-28 05:41:15 +0300 |
commit | ef38cbe9de93aa22a2232a56017aecfeed5ed232 (patch) | |
tree | 9f8d17ffdabd5ec98b8340c533e9e8cc70e8bf3d | |
parent | 290ebeb59525eb7fdcc6f815d8dee6cbe3d8a314 (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>
-rw-r--r-- | src/ipa/rkisp1/ipa_context.h | 2 |
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; |