Show a patch.

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

{
    "id": 24664,
    "url": "https://patchwork.libcamera.org/api/patches/24664/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/24664/",
    "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-20-bryan.odonoghue@linaro.org>",
    "date": "2025-10-15T01:22:31",
    "name": "[v3,19/39] libcamera: software_isp: debayer: Extend DebayerParams to hold a copy of per-frame AWB values",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "74f444eef08bc75cc826de98823a6543ddc05047",
    "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/24664/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/24664/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/24664/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 8DE26C3264\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 15 Oct 2025 01:23:27 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id F3F4960660;\n\tWed, 15 Oct 2025 03:23:26 +0200 (CEST)",
            "from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com\n\t[IPv6:2a00:1450:4864:20::52e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A9D0260638\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 15 Oct 2025 03:23:14 +0200 (CEST)",
            "by mail-ed1-x52e.google.com with SMTP id\n\t4fb4d7f45d1cf-634cef434beso712917a12.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Oct 2025 18:23:14 -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.13\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 14 Oct 2025 18:23:13 -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=\"rLMlGpxF\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1760491394; x=1761096194;\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=TiqkPZNwtW3nPq5BU9gpzzFfSJ7E+z5La9IMK2toPeI=;\n\tb=rLMlGpxFAfjWTKulE+PK9RE/HoQjxdmKC3G8LDSk4MB2U7PS69BrLbXlozER/i84og\n\t4UeotBlVljRwxF9qB3yWHklKB/9bLhA89crCR68wpXUvhLULuAdW2ECmpmuTbX6YiTy7\n\t/npE5mH3jENTAYNYJgqmHgobyEVPQUR1ll7/p+vwW49d+VTtLjHp52NUi/zfAQkVHDJF\n\t31wHEC94dNt9r9q0cFs2//4bHdX4qtJA26vrOAUNmN3jvUl3fKL6l774ZWoCJklNXSrf\n\ti3lGHybxhUdgQooY6QBR8Azz9SGHe4tSdZTI5L/IdGkqOJpH+nvb1yFNK2i+VhmOh2Rf\n\tXYAA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1760491394; x=1761096194;\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=TiqkPZNwtW3nPq5BU9gpzzFfSJ7E+z5La9IMK2toPeI=;\n\tb=ok8gN/X4AJ6mrT0koErxjZF9hN939yi4gP+6xzcdOoU8porQ3xPYWWeSrqLHGEgYcO\n\tUCdTOUV3AvFoyTX07wBMRNyf5hbVGF71hH1I9PsEYfOzgL9UJ3Wcw7EzSrAtqdNhAEtv\n\t9+aKEYp0OVOqpWT/rKATFIbnur0p8+eIvYQ/QZMdOrnIntaqB9hDR2b/jnNU9fVm+fmZ\n\tVonLusDrDEpLTa5StQ0r1ajZRXLmZQqX+lc0tKqvp3ADLx3Wn6KMlNN5fvofb8m0J8ww\n\toh6dn3LG0fxWGWYB9xCivxP9yf4EJYHzCU1BKznYtHz9o5VRzp2ewuaLp2io1qGXYByp\n\tDBoA==",
        "X-Gm-Message-State": "AOJu0YwVP3utzhMN1YNEW3wxcNaeAr/Es7wkGn+yZoUqVtcr4NIM149Y\n\ti4aVS7a+N2OQKTevb8hIb/XM/9beagPRxv5X+w0bVgeKK6IvQsTplNSBkF33nUM4QqJpckplMQO\n\tC5HRB",
        "X-Gm-Gg": "ASbGncvA2f79WEq7rQwNxTR2X76uBTAfEQhul8LyyBX5MtduRM0M8s1vW5HG0qJeWrL\n\tjnrMDB1o37VvRcq3fT4hT9OTTXU6fS8xBAtf1qfkUq1lKIlegqgN2vipiwsikvBKZvz8PTK5NTK\n\tqn9i95eJ92sFSgsmJt7QVBC2nLZmuFxJo5Y3W4I0cfcussIPfcfvsWffwqsCqBNn7f4vf8XXcag\n\tQmSc0wQzu3x6Eo71NU7hRQOPE+g1bOe+ALd/pxOs1AjLhElk3v6nlndC8R0hfeGxDs5imaf9128\n\tkW3/8DUbw7vKdeBELi2SytudFeKzjfvhfTLHa66heV7TVYtVuoyxszzolkMwswRm4qVmmIi7EEC\n\t9ZpxFQnadj3gAPsDzUCWegXHlx0Ggg9TrZ9CKb43oN6+HqtYIMVTJMNg8lv7E0xh2YupEseKvqQ\n\tg+rET6+5KKkub4sETzxZUSjOib17Iblg==",
        "X-Google-Smtp-Source": "AGHT+IFVSDw+oBIcCFKM5BG4XeXSTU0o6+tbzxRUiIopudKYzndp/87g4pCoJXM5Y+p69p0WXEBg4g==",
        "X-Received": "by 2002:a17:906:36d5:b0:b4f:644c:8873 with SMTP id\n\ta640c23a62f3a-b4f644caaabmr2820138666b.2.1760491393962; \n\tTue, 14 Oct 2025 18:23:13 -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 19/39] libcamera: software_isp: debayer: Extend\n\tDebayerParams to hold a copy of per-frame AWB values",
        "Date": "Wed, 15 Oct 2025 02:22:31 +0100",
        "Message-ID": "<20251015012251.17508-20-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": "Add a vector to allow the AWB gains calculated in the IPA to be fed back into\nthe Debayer shaders.\n\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n include/libcamera/internal/software_isp/debayer_params.h | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/include/libcamera/internal/software_isp/debayer_params.h b/include/libcamera/internal/software_isp/debayer_params.h\nindex 56803195..9d0a852d 100644\n--- a/include/libcamera/internal/software_isp/debayer_params.h\n+++ b/include/libcamera/internal/software_isp/debayer_params.h\n@@ -14,6 +14,7 @@\n #include <stdint.h>\n \n #include \"libcamera/internal/matrix.h\"\n+#include \"libcamera/internal/vector.h\"\n \n namespace libcamera {\n \n@@ -56,6 +57,11 @@ struct DebayerParams {\n \t * Per frame CCM values as calcualted by the IPA\n \t */\n \tMatrix<float, 3, 3> ccm;\n+\n+\t/*\n+\t * Per frame awb gains calculated by the IPA\n+\t */\n+\tRGB<float> gains;\n };\n \n } /* namespace libcamera */\n",
    "prefixes": [
        "v3",
        "19/39"
    ]
}