[libcamera-devel,v2,0/3] Expand mojom-based code generator
mbox series

Message ID 20210308074828.13228-1-paul.elder@ideasonboard.com
Headers show
Series
  • Expand mojom-based code generator
Related show

Message

Paul Elder March 8, 2021, 7:48 a.m. UTC
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(-)