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:
parent
290ebeb595
commit
ef38cbe9de
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue