Show a patch.

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

{
    "id": 22826,
    "url": "https://patchwork.libcamera.org/api/patches/22826/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/22826/",
    "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": "<20250223230403.1226-5-laurent.pinchart@ideasonboard.com>",
    "date": "2025-02-23T23:03:52",
    "name": "[04/15] libipa: awb: Standardize spelling on 'grey' world",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "cb6315e645307238ee34d78d5aa796f8a449ea4b",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/22826/mbox/",
    "series": [
        {
            "id": 5012,
            "url": "https://patchwork.libcamera.org/api/series/5012/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5012",
            "date": "2025-02-23T23:03:48",
            "name": "libipa: awb: Drive-by fixes",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5012/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/22826/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/22826/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 5472ABDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 23 Feb 2025 23:04:37 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 062AF686D2;\n\tMon, 24 Feb 2025 00:04:34 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E9409686C0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 24 Feb 2025 00:04:25 +0100 (CET)",
            "from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi\n\t[81.175.209.231])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id BC23A353\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 24 Feb 2025 00:02:59 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"OtKCOaCQ\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1740351780;\n\tbh=fw8MFjffCSl/1FHDokKIQe3ZiUPHbOEwPBuTk+n2isM=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=OtKCOaCQPzr7gU/615FJ0bD7IgQj3srDvihhyIvhzh/t8QR0y5rKCd6Tznh8PyR22\n\tGRwJsPjtqgmGtZejxa+8AZefe3f2OPcvLIn+kk+mFtVHQdctNl6I8tkFh3SpBCWcUH\n\tnPcNXIoFV3jgnQsz9hF+x3O6MiGrSYPLVxFD5zzU=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH 04/15] libipa: awb: Standardize spelling on 'grey' world",
        "Date": "Mon, 24 Feb 2025 01:03:52 +0200",
        "Message-ID": "<20250223230403.1226-5-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.45.3",
        "In-Reply-To": "<20250223230403.1226-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20250223230403.1226-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "All locations but one spell 'grey' instead of 'gray'. Fix the outlier.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/ipa/libipa/awb.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/src/ipa/libipa/awb.cpp b/src/ipa/libipa/awb.cpp\nindex 1adefa5bb929..b5aeb472f1f1 100644\n--- a/src/ipa/libipa/awb.cpp\n+++ b/src/ipa/libipa/awb.cpp\n@@ -70,7 +70,7 @@ namespace ipa {\n  *\n  * Fetch the RGB means from the statistics. The values of each channel are\n  * dimensionless and only the ratios are used for further calculations. This is\n- * used by the simple gray world model to calculate the gains to apply.\n+ * used by the simple grey world model to calculate the gains to apply.\n  *\n  * \\return The RGB means\n  */\n",
    "prefixes": [
        "04/15"
    ]
}