[libcamera-devel,v9,0/4] generate and use fixed-sized Span Control types
mbox series

Message ID 20220704233217.54769-1-Rauch.Christian@gmx.de
Headers show
Series
  • generate and use fixed-sized Span Control types
Related show

Message

Christian Rauch July 4, 2022, 11:32 p.m. UTC
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