[PATCH v3 1/7] controls: Add FrameWallClock control
David Plowman
david.plowman at raspberrypi.com
Thu Jan 9 15:32:05 CET 2025
Add a FrameWallClock control that reports the same moment as the
frame's SensorTimestamp, but in wallclock units.
Signed-off-by: David Plowman <david.plowman at raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
Reviewed-by: Naushir Patuck <naush at raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
src/libcamera/control_ids_core.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml
index 1dfaee0c..b0555d76 100644
--- a/src/libcamera/control_ids_core.yaml
+++ b/src/libcamera/control_ids_core.yaml
@@ -1049,4 +1049,19 @@ controls:
description: |
Enable or disable the debug metadata.
+ - FrameWallClock:
+ type: int64_t
+ direction: out
+ description: |
+ This timestamp corresponds to the same moment in time as the
+ SensorTimestamp, but is represented as a wall clock time as measured by
+ the CLOCK_REALTIME clock.
+
+ Being a wall clock measurement, it can be used to synchronise timing
+ across different devices.
+
+ \sa SensorTimestamp
+
+ The FrameWallClock control can only be returned in metadata.
+
...
--
2.39.5
More information about the libcamera-devel
mailing list