Show a patch.

GET /api/1.1/patches/13390/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 13390,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/13390/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/13390/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20210818155403.268694-3-jeanmichel.hautbois@ideasonboard.com>",
    "date": "2021-08-18T15:53:56",
    "name": "[libcamera-devel,v3,2/9] ipa: ipu3: Introduce a Context structure",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "f0f2d121a8e5cc24cf4776195b95b48a3db5221d",
    "submitter": {
        "id": 75,
        "url": "https://patchwork.libcamera.org/api/1.1/people/75/?format=api",
        "name": "Jean-Michel Hautbois",
        "email": "jeanmichel.hautbois@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/13390/mbox/",
    "series": [
        {
            "id": 2370,
            "url": "https://patchwork.libcamera.org/api/1.1/series/2370/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2370",
            "date": "2021-08-18T15:53:54",
            "name": "IPU3: Introduce modularity for algorithms",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/2370/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/13390/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/13390/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id C42F9BD87C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 18 Aug 2021 15:54:14 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 65FD1688A6;\n\tWed, 18 Aug 2021 17:54:14 +0200 (CEST)",
            "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 8F4CD68890\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Aug 2021 17:54:09 +0200 (CEST)",
            "from tatooine.ideasonboard.com (unknown\n\t[IPv6:2a01:e0a:169:7140:946e:2bbb:370e:41e4])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 2E360F1;\n\tWed, 18 Aug 2021 17:54:09 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"T7qGSFMf\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1629302049;\n\tbh=wwrgTHKy2CdyyyI3wyOynvu4iR2y/MegybHoDf442Vc=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=T7qGSFMfh++oElU5epqPIBxocEBFys4USFDPcV8bhuQaXYQD7AAVsZJZNChUKUGq1\n\t0qGnIdWphBiN87ZtcDZEIl6dc9HPA4qrCtHwFgA62zF96aiFcTsaxrjIjqxPPqYHjl\n\tpQUq/FLeWi+CZ65vFmkmSJpbkPrf27LUALV55Ti4=",
        "From": "Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Wed, 18 Aug 2021 17:53:56 +0200",
        "Message-Id": "<20210818155403.268694-3-jeanmichel.hautbois@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20210818155403.268694-1-jeanmichel.hautbois@ideasonboard.com>",
        "References": "<20210818155403.268694-1-jeanmichel.hautbois@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 2/9] ipa: ipu3: Introduce a Context\n\tstructure",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "An increasing amount of data and information needs to be shared between\nthe components that build up to implement image processing algorithms.\n\nCreate a context structure which will allow us to work towards calling\nalgorithms in a modular way, and sharing information between the modules.\n\nThe IPA context is a global context set at configure time (IPAConfiguration)\nand a per-frame context (IPAFrameContext) used while streaming.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nSigned-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>\n---\n src/ipa/ipu3/ipa_context.h | 53 ++++++++++++++++++++++++++++++++++++++\n 1 file changed, 53 insertions(+)\n create mode 100644 src/ipa/ipu3/ipa_context.h",
    "diff": "diff --git a/src/ipa/ipu3/ipa_context.h b/src/ipa/ipu3/ipa_context.h\nnew file mode 100644\nindex 00000000..76534f7f\n--- /dev/null\n+++ b/src/ipa/ipu3/ipa_context.h\n@@ -0,0 +1,53 @@\n+/* SPDX-License-Identifier: LGPL-2.1-or-later */\n+/*\n+ * Copyright (C) 2021, Google Inc.\n+ *\n+ * ipu3_ipa_context.h - IPU3 IPA Context\n+ *\n+ */\n+#ifndef __LIBCAMERA_IPU3_IPA_CONTEXT_H__\n+#define __LIBCAMERA_IPU3_IPA_CONTEXT_H__\n+\n+#include <linux/intel-ipu3.h>\n+\n+namespace libcamera {\n+\n+namespace ipa::ipu3 {\n+\n+/**\n+ * Fixed configuration of the IPA\n+ *\n+ * This structure contains data set at the configure state of the IPA.\n+ * It can't be modified while streaming.\n+ */\n+struct IPAConfiguration {\n+};\n+\n+/**\n+ * Context of a frame for each algorithms\n+ *\n+ * This may be stored in a way that is associated with a given request\n+ * lifetime, though for now a single instance is used.\n+ * It contains informations updated while streaming by the algorithms.\n+ */\n+struct IPAFrameContext {\n+};\n+\n+/**\n+ * Context information shared between the algorithms\n+ *\n+ * The global context structure contains:\n+ * - a configuration structure set while the IPA is configured, and not\n+ * modified when streaming\n+ * - a frameContext structure updated by the algorithms while streaming\n+ */\n+struct IPAContext {\n+\tIPAConfiguration configuration;\n+\tIPAFrameContext frameContext;\n+};\n+\n+} /* namespace ipa::ipu3 */\n+\n+} /* namespace libcamera*/\n+\n+#endif /* __LIBCAMERA_IPU3_IPA_CONTEXT_H__ */\n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "2/9"
    ]
}