mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-12 23:09:45 +03:00
controls: Add FrameWallClock control
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@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
4a277906a4
commit
6a09deaf7d
1 changed files with 16 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
||||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
||||||
#
|
|
||||||
# Copyright (C) 2019, Google Inc.
|
|
||||||
#
|
#
|
||||||
%YAML 1.1
|
%YAML 1.1
|
||||||
---
|
---
|
||||||
|
@ -1268,4 +1266,19 @@ controls:
|
||||||
description: |
|
description: |
|
||||||
Enable or disable the debug metadata.
|
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.
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue