[libcamera-devel] [PATCH v2 0/3] Expand mojom-based code generator
Paul Elder
paul.elder at ideasonboard.com
Mon Mar 8 08:48:25 CET 2021
This patch series expands the mojom-based code generator to support
custom parameters to init(), and makes the first output parameter
directly return if it's int32. Also show a demo of this will work using
the raspberrypi pipeline handler.
Paul Elder (3):
utils: ipc: Support custom parameters to init()
utils: ipc, raspberrypi: Make first output parameter direct return if
int32
DEMO: raspberrypi: Use custom parameters to init()
include/libcamera/ipa/raspberrypi.mojom | 5 +-
src/ipa/raspberrypi/raspberrypi.cpp | 44 +++++++-------
.../pipeline/raspberrypi/raspberrypi.cpp | 10 ++--
.../module_ipa_proxy.cpp.tmpl | 22 +++++--
.../module_ipa_proxy_worker.cpp.tmpl | 8 +--
.../libcamera_templates/proxy_functions.tmpl | 17 +-----
.../generators/mojom_libcamera_generator.py | 57 ++++++++++---------
7 files changed, 85 insertions(+), 78 deletions(-)
--
2.27.0
More information about the libcamera-devel
mailing list