[v4,0/3] gstreamer: Generate controls from control_ids_*.yaml files
mbox series

Message ID 20241021164946.11111-1-jaslo@ziska.de
Headers show
Series
  • gstreamer: Generate controls from control_ids_*.yaml files
Related show

Message

Jaslo Ziska Oct. 21, 2024, 4:45 p.m. UTC
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