[PATCH v3 0/3] gstreamer: Generate controls from control_ids_*.yaml files
Jaslo Ziska
jaslo at ziska.de
Thu Oct 17 19:04:12 CEST 2024
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
More information about the libcamera-devel
mailing list