[PATCH v2 0/3] Wall clocks and camera sync
David Plowman
david.plowman at raspberrypi.com
Wed Dec 18 19:03:07 CET 2024
Hi
Here's a first revision of previous wall clock and camera sync patch
sets. The functionality has been shifting around a bit so it doesn't
entirely correspond to any previous patch set, nonetheless I hope it's
clear that it does supercede everything prior.
The main differences here are:
* I've made most of the updates from reviews so far. I realise there's
still some stuff under discussion, but, you know, trying to make
progress where we can!
* THe clock recovery has been taken out of the V4l2VideoDevice, and
therefore wallclocks don't feature in buffer metadata either (I
think this was the preferred route?). This means that these patches
are the sum total of changes that affect core code.
Pipeline handlers will pick up some very small mods in subsequent
patches to derive wallclock values and forward them to the request
metadata.
Hope that makes sense!
Thanks
David
David Plowman (3):
controls: Add FrameWallClock control
libcamera: Add ClockRecovery class to generate wallclock timestamps
controls: Add camera synchronisation controls
include/libcamera/internal/clock_recovery.h | 68 ++++++
include/libcamera/internal/meson.build | 1 +
src/libcamera/clock_recovery.cpp | 230 ++++++++++++++++++++
src/libcamera/control_ids_core.yaml | 127 ++++++++++-
src/libcamera/meson.build | 1 +
5 files changed, 424 insertions(+), 3 deletions(-)
create mode 100644 include/libcamera/internal/clock_recovery.h
create mode 100644 src/libcamera/clock_recovery.cpp
--
2.39.5
More information about the libcamera-devel
mailing list