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

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

Message

Jaslo Ziska Oct. 17, 2024, 5:04 p.m. UTC
Hi everyone,

this is the third revision of the patch set to implement gstreamer controls
from the yaml files.

This revision only changed the third patch and apart from minor code
improvements changed the following:
- only expose controls specified in the exposed_controls variable in Python
- added helper functions to get and set rectangles
- fixed accumulation of controls in GstCameraControls

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          | 166 +++++++++++
 utils/codegen/meson.build                  |   1 +
 9 files changed, 579 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.46.2