{"id":3446,"url":"https://patchwork.libcamera.org/api/covers/3446/?format=json","web_url":"https://patchwork.libcamera.org/cover/3446/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20200413212700.1373247-1-niklas.soderlund@ragnatech.se>","date":"2020-04-13T21:26:52","name":"[libcamera-devel,v4,0/8] libcamera: ipa_manager: Proxy open-source IPAs to a thread","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/cover/3446/mbox/","series":[{"id":805,"url":"https://patchwork.libcamera.org/api/series/805/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=805","date":"2020-04-13T21:26:52","name":"libcamera: ipa_manager: Proxy open-source IPAs to a thread","version":4,"mbox":"https://patchwork.libcamera.org/series/805/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/3446/comments/","headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net\n\t[195.74.38.227])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E3F0B6279B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 13 Apr 2020 23:27:07 +0200 (CEST)","from bismarck.berto.se (p4fca2392.dip0.t-ipconnect.de\n\t[79.202.35.146]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA\n\tid 8088c57f-7dcd-11ea-aeed-005056917f90;\n\tMon, 13 Apr 2020 23:26:59 +0200 (CEST)"],"X-Halon-ID":"8088c57f-7dcd-11ea-aeed-005056917f90","Authorized-sender":"niklas@soderlund.pp.se","From":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 13 Apr 2020 23:26:52 +0200","Message-Id":"<20200413212700.1373247-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.26.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v4 0/8] libcamera: ipa_manager: Proxy\n\topen-source IPAs to a thread","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Mon, 13 Apr 2020 21:27:08 -0000"},"content":"Hello,\n\nThis series tries to solve some issues discovered by testing Laurent's\npatch (8/8 in this series). The main change is to extend the\nIPAInterface with a start() and stop() method that can deal with things\nas starting threads or allocating resources needed by the IPA in tandem\nwith the camera start and stop.\n\nThe series is a mix of patches to the rkisp1 pipeline handler solving\nissues uncovered by running the IPA in a separate thread, adding the IPA\nstart() and stop() methods and integrating them with Laurent's work to\nrun open-source IPAs in a thread.\n\nLaurent Pinchart (1):\n  libcamera: ipa_manager: Proxy open-source IPAs to a thread\n\nNiklas Söderlund (7):\n  ipa: Add start() and stop() operations\n  libcamera: pipeline: rkisp1: Queue parameters even if they are not\n    ready\n  libcamera: pipeline: rkisp1: Initialize IPA\n  libcamera: pipeline: rkisp1: Add clear() to RkISP1Frames\n  libcamera: pipeline: rkisp1: Do not try to process cancelled frames\n  libcamera: pipeline: rkisp1: Call IPA start() and stop()\n  libcamera: pipeline: vimc: Call IPA start() and stop()\n\n include/ipa/ipa_interface.h                 |   4 +\n include/ipa/ipa_vimc.h                      |   2 +\n src/ipa/libipa/ipa_interface_wrapper.cpp    |  16 ++\n src/ipa/libipa/ipa_interface_wrapper.h      |   2 +\n src/ipa/rkisp1/rkisp1.cpp                   |   2 +\n src/ipa/vimc/vimc.cpp                       |  20 +++\n src/libcamera/include/ipa_context_wrapper.h |   2 +\n src/libcamera/ipa_context_wrapper.cpp       |  22 +++\n src/libcamera/ipa_interface.cpp             |  35 +++++\n src/libcamera/ipa_manager.cpp               |  48 +++---\n src/libcamera/pipeline/rkisp1/rkisp1.cpp    |  63 +++++++-\n src/libcamera/pipeline/vimc/vimc.cpp        |   8 +\n src/libcamera/proxy/ipa_proxy_linux.cpp     |   2 +\n src/libcamera/proxy/ipa_proxy_thread.cpp    | 162 ++++++++++++++++++++\n src/libcamera/proxy/meson.build             |   1 +\n test/ipa/ipa_interface_test.cpp             |  22 +++\n test/ipa/ipa_wrappers_test.cpp              |  33 +++-\n 17 files changed, 410 insertions(+), 34 deletions(-)\n create mode 100644 src/libcamera/proxy/ipa_proxy_thread.cpp"}