[libcamera-devel] [PATCH v9 0/4] generate and use fixed-sized Span Control types
Christian Rauch
Rauch.Christian at gmx.de
Tue Jul 5 01:32:13 CEST 2022
Hi,
I am sending a v9 of this since the recent changes to gstreamer required to add a "value_or" for the "controls::SensorTimestamp" metadata query.
@Laurent: Please add your fixes on top of this and post your new version as v10.
Best,
Christian Rauch (4):
libcamera: controls: Use std::optional to handle invalid control
values
libcamera: controls: Define size of array controls as a shape vector
libcamera: controls: Generate fixed- and variable-sized Span Controls
libcamera: controls: Apply explicit fixed-sized Span type casts
include/libcamera/controls.h | 7 ++--
src/android/camera_capabilities.cpp | 12 +++----
src/android/camera_device.cpp | 21 ++++++------
src/android/camera_hal_manager.cpp | 2 +-
src/cam/main.cpp | 4 +--
src/gstreamer/gstlibcamerasrc.cpp | 2 +-
src/ipa/raspberrypi/raspberrypi.cpp | 21 ++++++------
src/libcamera/control_ids.yaml | 4 +--
src/libcamera/pipeline/ipu3/ipu3.cpp | 9 +++---
.../pipeline/raspberrypi/raspberrypi.cpp | 9 +++---
src/libcamera/property_ids.yaml | 4 +--
src/qcam/dng_writer.cpp | 22 ++++++-------
utils/gen-controls.py | 32 +++++++++++++------
13 files changed, 81 insertions(+), 68 deletions(-)
--
2.34.1
More information about the libcamera-devel
mailing list