Patch Detail
Show a patch.
GET /api/patches/1363/?format=api
{ "id": 1363, "url": "https://patchwork.libcamera.org/api/patches/1363/?format=api", "web_url": "https://patchwork.libcamera.org/patch/1363/", "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": "<20190605221817.966-3-paul.elder@ideasonboard.com>", "date": "2019-06-05T22:18:09", "name": "[libcamera-devel,RFC,02/10] libcamera: ipa_module: add path getter", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "36f22e404ca29955ce85cbc0c34c2a406ac30eb0", "submitter": { "id": 17, "url": "https://patchwork.libcamera.org/api/people/17/?format=api", "name": "Paul Elder", "email": "paul.elder@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/1363/mbox/", "series": [ { "id": 339, "url": "https://patchwork.libcamera.org/api/series/339/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=339", "date": "2019-06-05T22:18:07", "name": "Add IPA process isolation", "version": 1, "mbox": "https://patchwork.libcamera.org/series/339/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/1363/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/1363/checks/", "tags": {}, "headers": { "Return-Path": "<paul.elder@ideasonboard.com>", "Received": [ "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 59DCE64608\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 6 Jun 2019 00:18:29 +0200 (CEST)", "from localhost.localdomain (unknown [96.44.9.117])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id A806984;\n\tThu, 6 Jun 2019 00:18:28 +0200 (CEST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1559773109;\n\tbh=so+lnPNN9ud5ole5bqrKe2TboIM9D+ocCQzrji9VjnU=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=ONwaOhXRuuMkFbwnC4b9tA5GdCg6DKECT/oXdmVJc+mS0YevEoyNuDFGUncJjdJDV\n\t47r/ijqiaP+v/ZQQvo3kEDFUeW3B1jxsg3hOIktX7J0H6UqHB0gOIbHQKNiLhdn957\n\tJbNMRH+3B6jLlu4qB4tzqY29Ydjmesr/yrgCbLRQ=", "From": "Paul Elder <paul.elder@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Wed, 5 Jun 2019 18:18:09 -0400", "Message-Id": "<20190605221817.966-3-paul.elder@ideasonboard.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20190605221817.966-1-paul.elder@ideasonboard.com>", "References": "<20190605221817.966-1-paul.elder@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [RFC PATCH 02/10] libcamera: ipa_module: add path\n\tgetter", "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": "Wed, 05 Jun 2019 22:18:29 -0000" }, "content": "Add a method to IPAModule to get the path of the IPA module shared\nobject that the IPAModule was constructed from.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\n---\n src/libcamera/include/ipa_module.h | 1 +\n src/libcamera/ipa_module.cpp | 13 +++++++++++++\n 2 files changed, 14 insertions(+)", "diff": "diff --git a/src/libcamera/include/ipa_module.h b/src/libcamera/include/ipa_module.h\nindex fec4237..f6904fa 100644\n--- a/src/libcamera/include/ipa_module.h\n+++ b/src/libcamera/include/ipa_module.h\n@@ -26,6 +26,7 @@ public:\n \tbool isValid() const;\n \n \tconst struct IPAModuleInfo &info() const;\n+\tconst char *path() const;\n \n \tbool load();\n \ndiff --git a/src/libcamera/ipa_module.cpp b/src/libcamera/ipa_module.cpp\nindex 2663b9e..e1d4b27 100644\n--- a/src/libcamera/ipa_module.cpp\n+++ b/src/libcamera/ipa_module.cpp\n@@ -321,6 +321,19 @@ const struct IPAModuleInfo &IPAModule::info() const\n \treturn info_;\n }\n \n+/**\n+ * \\brief Retrieve the IPA module path\n+ *\n+ * The IPA module path is the file name and path of the IPA module shared\n+ * object from which the IPA module was created.\n+ *\n+ * \\return the IPA module path\n+ */\n+const char *IPAModule::path() const\n+{\n+\treturn libPath_.c_str();\n+}\n+\n /**\n * \\brief Load the IPA implementation factory from the shared object\n *\n", "prefixes": [ "libcamera-devel", "RFC", "02/10" ] }