Patch Detail
Show a patch.
GET /api/patches/1904/?format=api
{ "id": 1904, "url": "https://patchwork.libcamera.org/api/patches/1904/?format=api", "web_url": "https://patchwork.libcamera.org/patch/1904/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20190831210220.29819-3-niklas.soderlund@ragnatech.se>", "date": "2019-08-31T21:02:16", "name": "[libcamera-devel,2/6] libcamera: ipa: Add signal to transferee meta data", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "c71cf561eee6bddb24f41346bf85aaf54ba33088", "submitter": { "id": 5, "url": "https://patchwork.libcamera.org/api/people/5/?format=api", "name": "Niklas Söderlund", "email": "niklas.soderlund@ragnatech.se" }, "delegate": { "id": 16, "url": "https://patchwork.libcamera.org/api/users/16/?format=api", "username": "neg", "first_name": "Niklas", "last_name": "Söderlund", "email": "niklas.soderlund@ragnatech.se" }, "mbox": "https://patchwork.libcamera.org/patch/1904/mbox/", "series": [ { "id": 476, "url": "https://patchwork.libcamera.org/api/series/476/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=476", "date": "2019-08-31T21:02:14", "name": "libcamera: ipa: Add IPA meta data", "version": 1, "mbox": "https://patchwork.libcamera.org/series/476/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/1904/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/1904/checks/", "tags": {}, "headers": { "Return-Path": "<niklas.soderlund@ragnatech.se>", "Received": [ "from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net\n\t[195.74.38.229])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2FE2560BB2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 31 Aug 2019 23:03:00 +0200 (CEST)", "from bismarck.berto.se (unknown [84.172.84.18])\n\tby bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA\n\tid b55c4361-cc32-11e9-903a-005056917f90;\n\tSat, 31 Aug 2019 23:02:58 +0200 (CEST)" ], "X-Halon-ID": "b55c4361-cc32-11e9-903a-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": "Sat, 31 Aug 2019 23:02:16 +0200", "Message-Id": "<20190831210220.29819-3-niklas.soderlund@ragnatech.se>", "X-Mailer": "git-send-email 2.22.1", "In-Reply-To": "<20190831210220.29819-1-niklas.soderlund@ragnatech.se>", "References": "<20190831210220.29819-1-niklas.soderlund@ragnatech.se>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH 2/6] libcamera: ipa: Add signal to\n\ttransferee meta data", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.23", "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": "Sat, 31 Aug 2019 21:03:00 -0000" }, "content": "Add a signal which will be emitted once the IPA have processed the\nstatistics and translated it into meta data libcamera can understand.\n\nSigned-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n---\n include/libcamera/ipa/ipa_interface.h | 2 ++\n src/libcamera/ipa_interface.cpp | 10 ++++++++++\n 2 files changed, 12 insertions(+)", "diff": "diff --git a/include/libcamera/ipa/ipa_interface.h b/include/libcamera/ipa/ipa_interface.h\nindex 38e16ff37214f7b9..eace4d3ea97943d0 100644\n--- a/include/libcamera/ipa/ipa_interface.h\n+++ b/include/libcamera/ipa/ipa_interface.h\n@@ -16,6 +16,7 @@ namespace libcamera {\n \n class Buffer;\n class Request;\n+struct IPAMetaData;\n \n class IPAInterface\n {\n@@ -30,6 +31,7 @@ public:\n \n \tSignal<V4L2ControlList> updateSensor;\n \tSignal<const void *> queueRequest;\n+\tSignal<const void *, IPAMetaData> metaDataReady;\n };\n \n } /* namespace libcamera */\ndiff --git a/src/libcamera/ipa_interface.cpp b/src/libcamera/ipa_interface.cpp\nindex be9eab3cda32379d..3222ae09e5750030 100644\n--- a/src/libcamera/ipa_interface.cpp\n+++ b/src/libcamera/ipa_interface.cpp\n@@ -92,4 +92,14 @@ namespace libcamera {\n * controls.\n */\n \n+/**\n+ * \\var IPAInterface::metaDataReady\n+ * \\brief Signal emitted when the IPA is done processing statistics\n+ *\n+ * This signal is emitted when the IPA have finished processing the statistics\n+ * buffer and have created an IPAMetaData object which are ready to be consumed\n+ * by the pipeline handler. The request cookie and the meta data is passed as\n+ * parameters.\n+ */\n+\n } /* namespace libcamera */\n", "prefixes": [ "libcamera-devel", "2/6" ] }