[PATCH v1 0/4] libcamera: controls: Misc. changes

Barnabás Pőcze barnabas.pocze at ideasonboard.com
Tue Apr 1 15:19:35 CEST 2025


First, this patch series addresses https://bugs.libcamera.org/show_bug.cgi?id=255
that is, strings are now considered arrays both in `ControlValue`s and `ControlId`s.

Second, arrays of arrays are disabled in the template machinery because
they are not supported by `ControlValue`.

Third, some code simplification using `if constexpr` instead of SFINAE + overloads.

Barnabás Pőcze (4):
  libcamera: controls: Simplify SFINAE template parameter
  libcamera: controls: Strings are arrays
  libcamera: controls: Arrays of arrays are not supported
  libcamera: controls: Simplify ControlValue::{ControlValue,get,set}

 include/libcamera/controls.h    | 81 ++++++++++-----------------------
 src/apps/cam/capture_script.cpp |  4 --
 2 files changed, 23 insertions(+), 62 deletions(-)

--
2.49.0


More information about the libcamera-devel mailing list