Show a patch.

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

{
    "id": 24668,
    "url": "https://patchwork.libcamera.org/api/patches/24668/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/24668/",
    "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": "<20251015012251.17508-24-bryan.odonoghue@linaro.org>",
    "date": "2025-10-15T01:22:35",
    "name": "[v3,23/39] libcamera: software_isp: lut: Make gain corrected CCM in lut.cpp available in debayer params",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "9d304fe26c2b31a86740d2eb6769c345bf8629e1",
    "submitter": {
        "id": 175,
        "url": "https://patchwork.libcamera.org/api/people/175/?format=api",
        "name": "Bryan O'Donoghue",
        "email": "bryan.odonoghue@linaro.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/24668/mbox/",
    "series": [
        {
            "id": 5503,
            "url": "https://patchwork.libcamera.org/api/series/5503/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5503",
            "date": "2025-10-15T01:22:12",
            "name": "Add GLES 2.0 GPUISP to libcamera",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/5503/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/24668/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/24668/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 F4227BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 15 Oct 2025 01:23:32 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8B6CB60666;\n\tWed, 15 Oct 2025 03:23:32 +0200 (CEST)",
            "from mail-ej1-x629.google.com (mail-ej1-x629.google.com\n\t[IPv6:2a00:1450:4864:20::629])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 864D06063E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 15 Oct 2025 03:23:18 +0200 (CEST)",
            "by mail-ej1-x629.google.com with SMTP id\n\ta640c23a62f3a-b50206773adso82483366b.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Oct 2025 18:23:18 -0700 (PDT)",
            "from inspiron14p-linux.nxsw.local (188-141-3-146.dynamic.upc.ie.\n\t[188.141.3.146]) by smtp.gmail.com with ESMTPSA id\n\ta640c23a62f3a-b5ccd7b202dsm98348466b.82.2025.10.14.18.23.16\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 14 Oct 2025 18:23:17 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"vSUbjGyJ\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1760491398; x=1761096198;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=Aqq6LHOCkGfG64+N5wgUWRxmVTPdl1G4BX/+cVigltc=;\n\tb=vSUbjGyJbkhryZ0WCw+piL228EraWQCS++rEew8fzJR1DoziQvieyCZE2T7bI4Qm1g\n\thd8DPjeKSpheiJwlvmHAZ3J0bhIOwTmWcnN/YVV7FhOsTdETaCUrudfhCNkOz+3budqa\n\tiflFX5P/Gd6MtqqQhAzhoaIDPFRGM0OWVoXWMKvHEN0ylh2dYmxjh8hzMXcB7ILnYYgR\n\tNZsJuGJ22JYYdbZ3/Mg1Zj0N/IPgPwOozNNGYLv6j4OFs2rxKhmdz30MX5PRyjfu6HIQ\n\t4JtsYlDKBqRfRH3nkUm1YI4PfXPG8UUFMxy491NcbuufT6j7TgXDdT583htc/6Wm/IKl\n\tIaKw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1760491398; x=1761096198;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=Aqq6LHOCkGfG64+N5wgUWRxmVTPdl1G4BX/+cVigltc=;\n\tb=ZFxVDnENm7qfXgEymKfJJpDjcVpkEQNYYCjqgPPs7gr52H8s/x3iDLBuCkydBRXsuO\n\tpYwoye9+BSAcOLAowMykG5VTClloT9ikRGM+nc5T/ihJA7sKork06HG8pS8yCO7fBX8e\n\tfrpwcE4fwZyR6Z8nYO2FpNmes6vc8Bn+O7+wcQ+PCYgVGiIhS9T4SMDcG3RfpTwCiSb8\n\twtMYPErlDDGruFithpdl9Vwhjal6RUD/TDLcvCyTMvuN519ZfrSgdkNf4rNiBREzJYop\n\t7cjB7IafaChw9YsV7BzB0oSbk/VeN+LQe5AvwiashE9MzZzaw3wXIfuD7XdDgPeMx0t3\n\tvKOA==",
        "X-Gm-Message-State": "AOJu0YzNnTigWTxmoI6fyTFHe5gsyq2MJaj8iJOx32icNcyzCVhdaQjz\n\tVAKv+7fibZsulYYuyhbm4aS7zXxj4Sg1UBqQwOeI6rl6WU/Sk4eY4fCscxt/D2qQ6b0cqk4/HaA\n\thHuqJ",
        "X-Gm-Gg": "ASbGncuqERf6/d+oMMUKyzDWf/LH6dK/TPgM7d3q9BSkoBxpQNWa4wlHAUZVyNXaRAG\n\tvuhIk5/n8Vjx03RWAT15EyFsM8hMVd7tWMrLI0wmqbzto7jL6wOvLaTkfWxUV4J2ec1ZatZA8v4\n\tsfN0N9SAK3bn+DPr7KdAFo7J8vuYV2SUWDSLxdcfTr2jbSXUNcKD1c1nBCqORVMSURWrI9VDGzh\n\tSW/TWOsOAmqxxuKKVCiz6yZGI1C6vC8St12X6ZFA0mQNDHudzxKYJ5I3gW6ydzsQ1e3TrIGURQw\n\teX+XTePbCPGlhZcPhnYs2all452/srXjEJTF7lVU3wdxdLkcC61LjuBdAQ6Trsjv3RUu7GsX394\n\tWtzeyxTgV1lIVh7FBITdDTstPZF1EEQ0tBHJBVqor7/3MWTUf7So7s8lnkNQC3lqYgd1r8h4yg8\n\tj6oFikkzivTvLycvyEwzzurOKH8s3IUg==",
        "X-Google-Smtp-Source": "AGHT+IHNGutLlvB9MNHFVfGkXNU0mWi/wv+OZKFFk7gQ8BjSoLWpexbzVSbX4GDrbdDO3e6Y275pEw==",
        "X-Received": "by 2002:a17:907:c717:b0:b4c:629b:aa67 with SMTP id\n\ta640c23a62f3a-b4f43730a1dmr3177790166b.32.1760491397733; \n\tTue, 14 Oct 2025 18:23:17 -0700 (PDT)",
        "From": "Bryan O'Donoghue <bryan.odonoghue@linaro.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "hdegoede@redhat.com, mzamazal@redhat.com, bryan.odonoghue@linaro.org,\n\tbod.linux@nxsw.ie",
        "Subject": "[PATCH v3 23/39] libcamera: software_isp: lut: Make gain corrected\n\tCCM in lut.cpp available in debayer params",
        "Date": "Wed, 15 Oct 2025 02:22:35 +0100",
        "Message-ID": "<20251015012251.17508-24-bryan.odonoghue@linaro.org>",
        "X-Mailer": "git-send-email 2.51.0",
        "In-Reply-To": "<20251015012251.17508-1-bryan.odonoghue@linaro.org>",
        "References": "<20251015012251.17508-1-bryan.odonoghue@linaro.org>",
        "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": "There is another CCM calculated in this algorithm callback, this time based\non the LUT.\n\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n src/ipa/simple/algorithms/lut.cpp | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/src/ipa/simple/algorithms/lut.cpp b/src/ipa/simple/algorithms/lut.cpp\nindex d1d5f727..a161adb1 100644\n--- a/src/ipa/simple/algorithms/lut.cpp\n+++ b/src/ipa/simple/algorithms/lut.cpp\n@@ -126,6 +126,7 @@ void Lut::prepare(IPAContext &context,\n \t\tauto &red = params->redCcm;\n \t\tauto &green = params->greenCcm;\n \t\tauto &blue = params->blueCcm;\n+\t\tparams->ccm = ccm;\n \t\tfor (unsigned int i = 0; i < DebayerParams::kRGBLookupSize; i++) {\n \t\t\tred[i].r = ccmValue(i, ccm[0][0]);\n \t\t\tred[i].g = ccmValue(i, ccm[1][0]);\n",
    "prefixes": [
        "v3",
        "23/39"
    ]
}