[libcamera-devel] [PATCH 0/5] More misc Python patches
Tomi Valkeinen
tomi.valkeinen at ideasonboard.com
Thu May 19 12:33:42 CEST 2022
So, this is v1 as most of the patches from the previous series were
merged, and this has some new ones.
I changed the pixel format list to use a "dummy" class. I think it's
better, as it gives us read-only properties and pyright or
pybind11-stubgen likes it. But I dropped the signed-off-bys, as the
solution is different.
Tomi
Tomi Valkeinen (5):
py: Generate pixel formats list
py: cam_qt: Use libcamera.formats
py: cam: Cleanups
py: Fix SceneFlicker enum values
py: Fix None value in ControlType enum
src/py/cam/cam.py | 2 +-
src/py/cam/cam_qt.py | 29 ++++------
src/py/cam/cam_qtgl.py | 9 +---
src/py/libcamera/gen-py-control-enums.py | 3 ++
src/py/libcamera/gen-py-formats.py | 56 ++++++++++++++++++++
src/py/libcamera/meson.build | 12 +++++
src/py/libcamera/py_enums.cpp | 2 +-
src/py/libcamera/py_formats_generated.cpp.in | 23 ++++++++
src/py/libcamera/py_main.cpp | 3 ++
9 files changed, 111 insertions(+), 28 deletions(-)
create mode 100755 src/py/libcamera/gen-py-formats.py
create mode 100644 src/py/libcamera/py_formats_generated.cpp.in
--
2.34.1
More information about the libcamera-devel
mailing list