[PATCH v2 0/2] libcamera: Add support for dumping capture script

Paul Elder paul.elder at ideasonboard.com
Fri Oct 4 14:05:15 CEST 2024


This patch series adds support to the libcamera core for dumping capture
scripts, metadata, and camera configuration. This allows "replays" of
captures and can help in debugging.

Patch 2/2 adds support to cam for loading the camera configuration from
the capture script.

v2 notably adds support for creating new dump files when capture is
restarted.

Paul Elder (2):
  pipeline: Add support for dumping capture script and metadata
  apps: cam: Add support for loading configuration from capture script

 Documentation/environment_variables.rst       |  26 +++
 include/libcamera/internal/camera.h           |   2 +
 include/libcamera/internal/pipeline_handler.h |  19 ++
 src/apps/cam/camera_session.cpp               |  26 +--
 src/apps/cam/capture_script.cpp               | 163 ++++++++++++++++++
 src/apps/cam/capture_script.h                 |   9 +
 src/apps/cam/main.cpp                         |   4 +-
 src/libcamera/camera.cpp                      |  13 ++
 src/libcamera/pipeline_handler.cpp            |  85 ++++++++-
 9 files changed, 335 insertions(+), 12 deletions(-)

-- 
2.39.2



More information about the libcamera-devel mailing list