[libcamera-devel] [PATCH 0/2] draft controls and properties support
Kieran Bingham
kieran.bingham at ideasonboard.com
Wed Oct 7 20:57:17 CEST 2020
This provides support to allow namespaced draft controls and properties.
I feared this may be a contentious topic, but I think it helps clarify
the state of the 'draft' controls/properties.
Also by having a dedicated flag/key - it means we can (more) easily do
things like potentially highlight the items in doxygen or flag them in a
certain way - or even simply be able to generate a report of 'these are
the controls which are available - but not confirmed yet'.
First patch adds the support, second patch demonstrates it by converting
the rotation property into a draft property ;-) (Not for merge of course
hehe).
Kieran Bingham (2):
properties: Support draft controls and properties
DNI: How to use a draft control
include/libcamera/control_ids.h.in | 6 ++++
include/libcamera/property_ids.h.in | 6 ++++
src/libcamera/camera_sensor.cpp | 2 +-
.../pipeline/raspberrypi/raspberrypi.cpp | 2 +-
src/libcamera/property_ids.cpp.in | 13 +++++++
src/libcamera/property_ids.yaml | 1 +
utils/gen-controls.py | 36 ++++++++++++++-----
7 files changed, 56 insertions(+), 10 deletions(-)
--
2.25.1
More information about the libcamera-devel
mailing list