Show a patch.

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

{
    "id": 22884,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/22884/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/22884/",
    "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": "<20250227105733.187611-2-keke.li@amlogic.com>",
    "date": "2025-02-27T10:57:23",
    "name": "[v3,01/11] include: linux: Add C3 ISP Stats and Params V4L2 format",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "694417f1cb2d853ca030cbfb4565a5c03685c3a4",
    "submitter": {
        "id": 217,
        "url": "https://patchwork.libcamera.org/api/1.1/people/217/?format=api",
        "name": "Keke Li",
        "email": "keke.li@amlogic.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/22884/mbox/",
    "series": [
        {
            "id": 5027,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5027/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5027",
            "date": "2025-02-27T10:57:22",
            "name": "Add Amlogic C3 ISP pipeline handler and IPA",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/5027/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/22884/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/22884/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 185D3BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 27 Feb 2025 10:57:46 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4DC5A68756;\n\tThu, 27 Feb 2025 11:57:42 +0100 (CET)",
            "from mail-sh.amlogic.com (unknown [58.32.228.46])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5329468749\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 27 Feb 2025 11:57:40 +0100 (CET)",
            "from droid10.amlogic.com (10.18.11.213) by mail-sh.amlogic.com\n\t(10.18.11.5) with Microsoft SMTP Server id 15.1.2507.39;\n\tThu, 27 Feb 2025 18:57:36 +0800"
        ],
        "From": "Keke Li <keke.li@amlogic.com>",
        "To": "<libcamera-devel@lists.libcamera.org>",
        "CC": "<kieran.bingham@ideasonboard.com>, <laurent.pinchart@ideasonboard.com>, \n\t<dan.scally@ideasonboard.com>, Keke Li <keke.li@amlogic.com>",
        "Subject": "[PATCH v3 01/11] include: linux: Add C3 ISP Stats and Params V4L2\n\tformat",
        "Date": "Thu, 27 Feb 2025 18:57:23 +0800",
        "Message-ID": "<20250227105733.187611-2-keke.li@amlogic.com>",
        "X-Mailer": "git-send-email 2.29.0",
        "In-Reply-To": "<20250227105733.187611-1-keke.li@amlogic.com>",
        "References": "<20250227105733.187611-1-keke.li@amlogic.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.18.11.213]",
        "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": "Add the new format describing the C3 ISP Statistics and Parameters\nto videodev2. These come from the v6 of the C3 ISP kernel driver\nseries[1]. Once the kernel driver is merged we can replace these\ntemporary manual additions with updates to the scripts that merge\nin the kernel headers.\n\n[1] https://lore.kernel.org/linux-media/20250227-c3isp-v6-6-f72e19084d0d@amlogic.com/\n\nSigned-off-by: Keke Li <keke.li@amlogic.com>\n---\n include/linux/videodev2.h | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h\nindex 317d063a..a9f73438 100644\n--- a/include/linux/videodev2.h\n+++ b/include/linux/videodev2.h\n@@ -843,6 +843,10 @@ struct v4l2_pix_format {\n #define V4L2_META_FMT_MALI_C55_PARAMS\tv4l2_fourcc('C', '5', '5', 'P') /* ARM Mali-C55 Parameters */\n #define V4L2_META_FMT_MALI_C55_3A_STATS        v4l2_fourcc('C', '5', '5', 'S') /* ARM Mali-C55 3A Statistics */\n \n+/* Vendor specific - used for C3 ISP */\n+#define V4L2_META_FMT_C3ISP_PARAMS\tv4l2_fourcc('C', '3', 'P', 'M') /* Amlogic C3 ISP Parameters */\n+#define V4L2_META_FMT_C3ISP_STATS\tv4l2_fourcc('C', '3', 'S', 'T') /* Amlogic C3 ISP Statistics */\n+\n /*\n  * Line-based metadata formats. Remember to update v4l_fill_fmtdesc() when\n  * adding new ones!\n",
    "prefixes": [
        "v3",
        "01/11"
    ]
}