libcamera: controls: Add SensorTemperature control

Add a SensorTemperature control to return the temperature of the camera sensor
in Celsius. This control will only be present in the Request metadata if a
thermal sensor is available to the camera sensor.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Naushir Patuck 2022-06-29 09:57:19 +01:00 committed by Kieran Bingham
parent 1c9dc0fd89
commit 71fb654918

View file

@ -367,6 +367,16 @@ controls:
size: [2]
- SensorTemperature:
type: float
description: |
Temperature measure from the camera sensor in Celsius. This is typically
obtained by a thermal sensor present on-die or in the camera module. The
range of reported temperatures is device dependent.
The SensorTemperature control will only be returned in metadata if a
themal sensor is present.
- SensorTimestamp:
type: int64_t
description: |