[libcamera-devel] [PATCH v3 00/18] Misc Python bindings patches
Tomi Valkeinen
tomi.valkeinen at ideasonboard.com
Wed May 18 15:13:11 CEST 2022
Hi,
Changes to v2:
- Added "py: meson: use files() for custom_target input files" to the
series. It's already separately on the list, but this series conflicts
with it.
- Dropped pystubs generation for now
- Added libcamera.formats for pixel formats, and use it in cam_qt
- A few cleanup patches that came up with the libcamera.formats work
Tomi
Tomi Valkeinen (18):
py: meson: use files() for custom_target input files
py: meson: fix comment about stubs
py: add comment about the symlinks
py: pymain: fix indent
py: unittests: fix selector fd use
py: unittests: verify that cam and cm are freed
py: unittests: make typechecker happy
py: cam.py: exit on exception
py: cam_kms: support multiplanar formats
py: cam_kms: fix multistream display
py: cam_qt: cosmetic cleanups
py: implement PixelFormat class
py: add geometry classes
py: use geometry classes
py: rename pyxyz to py_xyz
py: clean up control enums generation
py: generate pixel formats list
py: cam_qt: use libcamera.formats
src/py/cam/cam.py | 32 +++--
src/py/cam/cam_kms.py | 31 ++---
src/py/cam/cam_qt.py | 86 ++++---------
src/py/cam/cam_qtgl.py | 20 +--
src/py/cam/gl_helpers.py | 8 --
src/py/libcamera/gen-py-formats.py | 56 +++++++++
src/py/libcamera/meson.build | 35 ++++--
...p.in => py_control_enums_generated.cpp.in} | 8 +-
.../libcamera/{pyenums.cpp => py_enums.cpp} | 2 +-
...ted.cpp.in => py_formats_generated.cpp.in} | 12 +-
src/py/libcamera/py_geometry.cpp | 119 ++++++++++++++++++
src/py/libcamera/{pymain.cpp => py_main.cpp} | 92 ++++++--------
test/py/unittests.py | 23 +++-
13 files changed, 330 insertions(+), 194 deletions(-)
create mode 100755 src/py/libcamera/gen-py-formats.py
copy src/py/libcamera/{pyenums_generated.cpp.in => py_control_enums_generated.cpp.in} (63%)
rename src/py/libcamera/{pyenums.cpp => py_enums.cpp} (96%)
rename src/py/libcamera/{pyenums_generated.cpp.in => py_formats_generated.cpp.in} (58%)
create mode 100644 src/py/libcamera/py_geometry.cpp
rename src/py/libcamera/{pymain.cpp => py_main.cpp} (89%)
--
2.34.1
More information about the libcamera-devel
mailing list