summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2022-06-29 09:57:19 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-06-29 12:12:07 +0100
commit71fb6549183d1bd91289eb1e40fcbf69c74ce91d (patch)
tree3174eaeaad4940ce2c0f14f85cf47f3a37cb12f4
parent1c9dc0fd89cfb32d31e25c4d14501c891d329307 (diff)
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>
-rw-r--r--src/libcamera/control_ids.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml
index cd1d4512..ecab3ae9 100644
--- a/src/libcamera/control_ids.yaml
+++ b/src/libcamera/control_ids.yaml
@@ -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: |