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>
This commit is contained in:
Laurent Pinchart 2022-09-04 05:14:17 +03:00
parent 290ebeb595
commit ef38cbe9de

View file

@ -100,7 +100,7 @@ struct IPAFrameContext : public FrameContext {
double blue; double blue;
} gains; } gains;
double temperatureK; unsigned int temperatureK;
bool autoEnabled; bool autoEnabled;
} awb; } awb;