Show a patch.

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

{
    "id": 13330,
    "url": "https://patchwork.libcamera.org/api/patches/13330/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/13330/",
    "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": "<20210812165243.276977-3-jeanmichel.hautbois@ideasonboard.com>",
    "date": "2021-08-12T16:52:35",
    "name": "[libcamera-devel,v2,02/10] ipa: ipu3: Introduce a Context structure",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "903e7a3be3a021f66ab406361da4bd0841ee41f9",
    "submitter": {
        "id": 75,
        "url": "https://patchwork.libcamera.org/api/people/75/?format=api",
        "name": "Jean-Michel Hautbois",
        "email": "jeanmichel.hautbois@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/13330/mbox/",
    "series": [
        {
            "id": 2347,
            "url": "https://patchwork.libcamera.org/api/series/2347/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2347",
            "date": "2021-08-12T16:52:33",
            "name": "IPU3: Introduce modularity for algorithms",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/2347/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/13330/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/13330/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 A19A0C3241\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 12 Aug 2021 16:52:51 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B8FA7688D2;\n\tThu, 12 Aug 2021 18:52:50 +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 3F08268886\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 12 Aug 2021 18:52:47 +0200 (CEST)",
            "from tatooine.ideasonboard.com (unknown\n\t[IPv6:2a01:e0a:169:7140:3d6d:7284:3c48:5edc])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id DD338F49;\n\tThu, 12 Aug 2021 18:52:46 +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=\"osEFlxUv\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1628787167;\n\tbh=IbwUJCWjDBTZ9PmeeYyA/cYLrH0famVDqDWbUtCIzBE=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=osEFlxUv/8cxEoaxebEblSDQFsg+eCwHNCTKnlykfdZnoKAXXRTp84yqiJRkiVQGo\n\tjI2nOiVCCzf50SgwEjr37nJ6Mu/buMY5GM5eDuPu0Ns0xhXbUkTNbHqhDmsWC3R/Dd\n\twrVMW+d/1NBEGz2zviTdWfdPrTdJ/La893VFZcmE=",
        "From": "Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 12 Aug 2021 18:52:35 +0200",
        "Message-Id": "<20210812165243.276977-3-jeanmichel.hautbois@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20210812165243.276977-1-jeanmichel.hautbois@ideasonboard.com>",
        "References": "<20210812165243.276977-1-jeanmichel.hautbois@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 02/10] 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 | 40 ++++++++++++++++++++++++++++++++++++++\n 1 file changed, 40 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..0a197a41\n--- /dev/null\n+++ b/src/ipa/ipu3/ipa_context.h\n@@ -0,0 +1,40 @@\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+ * Context information shared between the algorithms\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+/* Fixed configuration of the IPA */\n+struct IPAConfiguration {\n+};\n+\n+/*\n+ * Context of a frame for each algorithms\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+ */\n+struct IPAFrameContext {\n+};\n+\n+/* Global context of the IPA */\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",
        "v2",
        "02/10"
    ]
}