[libcamera-devel,0/2] libcamera: Add support for required controls
mbox series

Message ID 20231221150157.584264-1-jacopo.mondi@ideasonboard.com
Headers show
Series
  • libcamera: Add support for required controls
Related show

Message

Jacopo Mondi Dec. 21, 2023, 3:01 p.m. UTC
This patch plumbs in libcamera the ability to define some controls and
properties as required. "Required" properties and controls are mandatory to be
supported by a Camera in order to comply with the libcamera API specification.

The second DNI commit only serves to validate the implementation.

Jacopo Mondi (2):
  libcamera: Add 'required' property to controls
  [DNI] apps: cam: Print require properties

 Documentation/guides/pipeline-handler.rst | 13 ++++++++----
 include/libcamera/controls.h              | 10 ++++++----
 include/libcamera/ipa/ipa_controls.h      |  3 ++-
 src/apps/cam/camera_session.cpp           |  3 ++-
 src/libcamera/control_serializer.cpp      |  4 +++-
 src/libcamera/controls.cpp                | 24 +++++++++++++++++------
 src/libcamera/ipa_controls.cpp            |  2 ++
 src/libcamera/property_ids_core.yaml      |  2 ++
 src/libcamera/v4l2_device.cpp             |  2 +-
 utils/gen-controls.py                     |  8 +++++++-
 10 files changed, 52 insertions(+), 19 deletions(-)

--
2.41.0