[libcamera-devel,v4,0/6] Vendor controls and properties
mbox series

Message ID 20231130142534.2075-1-naush@raspberrypi.com
Headers show
Series
  • Vendor controls and properties
Related show

Message

Naushir Patuck Nov. 30, 2023, 2:25 p.m. UTC
Hi,

Version 4 of this series encompasses all the minor fixes and suggestions.  One
notable change is that I've removed the commit adding the Raspberry Pi vendor
controls file.  This will be re-introduced when we merge the Pi 5 pipeline
handler.

Thanks,
Naush

Naushir Patuck (6):
  controls: Add vendor control/property support to generation scripts
  controls: Update argument handling for controls generation scripts
  build: controls: Rework how controls and properties are generated
  libcamera: control: Add vendor control id range reservation
  libcamera: controls: Use vendor tags for draft controls and properties
  documentation: Document vendor specific controls and properties
    handling

 Documentation/guides/pipeline-handler.rst     |  60 ++++-
 include/libcamera/control_ids.h.in            |   6 +-
 include/libcamera/meson.build                 |  55 ++++-
 include/libcamera/property_ids.h.in           |   8 +-
 meson.build                                   |   2 +
 src/ipa/rpi/common/ipa_base.cpp               |   2 +-
 src/ipa/rpi/vc4/vc4.cpp                       |   2 +-
 src/libcamera/control_ids.cpp.in              |  14 +-
 ...control_ids.yaml => control_ids_core.yaml} | 233 +-----------------
 src/libcamera/control_ids_draft.yaml          | 230 +++++++++++++++++
 src/libcamera/control_ranges.yaml             |  18 ++
 src/libcamera/meson.build                     |  25 +-
 src/libcamera/property_ids.cpp.in             |  14 +-
 ...operty_ids.yaml => property_ids_core.yaml} |  34 +--
 src/libcamera/property_ids_draft.yaml         |  39 +++
 src/py/libcamera/gen-py-controls.py           |  87 ++++---
 src/py/libcamera/meson.build                  |  26 +-
 src/py/libcamera/py_controls_generated.cpp.in |   6 +-
 .../libcamera/py_properties_generated.cpp.in  |   6 +-
 utils/gen-controls.py                         | 147 +++++++----
 20 files changed, 595 insertions(+), 419 deletions(-)
 rename src/libcamera/{control_ids.yaml => control_ids_core.yaml} (79%)
 create mode 100644 src/libcamera/control_ids_draft.yaml
 create mode 100644 src/libcamera/control_ranges.yaml
 rename src/libcamera/{property_ids.yaml => property_ids_core.yaml} (96%)
 create mode 100644 src/libcamera/property_ids_draft.yaml