[libcamera-devel] [PATCH v2 0/5] py: Misc changes & move to mainline pybind11
Tomi Valkeinen
tomi.valkeinen at ideasonboard.com
Tue May 30 14:01:28 CEST 2023
Hi,
v2 with small changes:
- Drop extra linefeed
- Drop the pybind11 subproject, and rely solely on system provided
pybind11
- Improve the commit message wrt. PyCameraManager
Tomi
Tomi Valkeinen (5):
py: Fix CameraManager.version property
py: Move ColorSpace and Transform classes to separate files
py: Use exceptions instead of returning error codes
py: unittests.py: Add weakref helpers and use del
py: Move to mainline pybind11 version
src/py/cam/cam.py | 16 +-
src/py/examples/simple-cam.py | 15 +-
src/py/examples/simple-capture.py | 21 +-
src/py/examples/simple-continuous-capture.py | 21 +-
src/py/libcamera/meson.build | 12 +-
src/py/libcamera/py_camera_manager.h | 2 +-
src/py/libcamera/py_color_space.cpp | 70 ++++++
src/py/libcamera/py_controls_generated.cpp.in | 2 +-
src/py/libcamera/py_enums.cpp | 2 +-
src/py/libcamera/py_formats_generated.cpp.in | 2 +-
src/py/libcamera/py_geometry.cpp | 2 +-
src/py/libcamera/py_helpers.h | 2 +-
src/py/libcamera/py_main.cpp | 230 ++++++++----------
.../libcamera/py_properties_generated.cpp.in | 2 +-
src/py/libcamera/py_transform.cpp | 81 ++++++
subprojects/.gitignore | 2 +-
subprojects/pybind11.wrap | 11 -
test/py/unittests.py | 140 +++++------
18 files changed, 354 insertions(+), 279 deletions(-)
create mode 100644 src/py/libcamera/py_color_space.cpp
create mode 100644 src/py/libcamera/py_transform.cpp
delete mode 100644 subprojects/pybind11.wrap
--
2.34.1
More information about the libcamera-devel
mailing list