[PATCH v4 0/3] gstreamer: Generate controls from control_ids_*.yaml files
Jaslo Ziska
jaslo at ziska.de
Mon Oct 21 18:45:30 CEST 2024
Hi everyone,
this revision changes the following things:
- do not expose controls which are read-only as the generator can't
differentiate those yet
- fix a printf-style formatting string
- add an indent_str filter to the generator because older Jinja versions can't
indent by string
Best regards,
Jaslo
Jaslo Ziska (3):
gstreamer: Remove auto-focus-mode property from device provider
gstreamer: Remove auto-focus-mode property from libcamerasrc
gstreamer: Generate controls from control_ids_*.yaml files
src/gstreamer/gstlibcamera-controls.cpp.in | 332 +++++++++++++++++++++
src/gstreamer/gstlibcamera-controls.h | 43 +++
src/gstreamer/gstlibcameraprovider.cpp | 15 -
src/gstreamer/gstlibcamerasrc.cpp | 50 ++--
src/gstreamer/gstlibcamerasrc.h | 31 --
src/gstreamer/meson.build | 10 +
utils/codegen/controls.py | 8 +
utils/codegen/gen-gst-controls.py | 182 +++++++++++
utils/codegen/meson.build | 1 +
9 files changed, 595 insertions(+), 77 deletions(-)
create mode 100644 src/gstreamer/gstlibcamera-controls.cpp.in
create mode 100644 src/gstreamer/gstlibcamera-controls.h
create mode 100755 utils/codegen/gen-gst-controls.py
--
2.47.0
More information about the libcamera-devel
mailing list