Show a patch.

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

{
    "id": 25528,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/25528/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/25528/",
    "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": "<20251212002937.3118-14-bryan.odonoghue@linaro.org>",
    "date": "2025-12-12T00:29:24",
    "name": "[v8,13/26] libcamera: software_isp: Add a Size_ member variable to pass to eGL later",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "0b56d6ef35c662183881893022b3a8f8bd52199a",
    "submitter": {
        "id": 175,
        "url": "https://patchwork.libcamera.org/api/1.1/people/175/?format=api",
        "name": "Bryan O'Donoghue",
        "email": "bryan.odonoghue@linaro.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/25528/mbox/",
    "series": [
        {
            "id": 5657,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5657/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5657",
            "date": "2025-12-12T00:29:11",
            "name": "Add GLES 2.0 GPUISP to libcamera",
            "version": 8,
            "mbox": "https://patchwork.libcamera.org/series/5657/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/25528/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/25528/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 EDC3DBD1F1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 12 Dec 2025 00:34:07 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BB29C61858;\n\tFri, 12 Dec 2025 01:34:07 +0100 (CET)",
            "from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com\n\t[IPv6:2607:f8b0:4864:20::42c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 720BB616A1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 12 Dec 2025 01:34:06 +0100 (CET)",
            "by mail-pf1-x42c.google.com with SMTP id\n\td2e1a72fcca58-7d26a7e5639so696354b3a.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 11 Dec 2025 16:34:06 -0800 (PST)",
            "from inspiron14p-linux (p99250-ipoefx.ipoe.ocn.ne.jp.\n\t[153.246.134.249]) by smtp.gmail.com with ESMTPSA id\n\t41be03b00d2f7-c0c26eb0f6bsm3317282a12.14.2025.12.11.16.34.01\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 11 Dec 2025 16:34:04 -0800 (PST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"c/+dED+h\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1765499645; x=1766104445;\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=5JFGAxxzJIIeX87u+TLTHc8/im0W2ElWoVY5etd6y20=;\n\tb=c/+dED+hbNhDzdbofAzW7YCbSH938RuzaUf5/ob0yeS+6T77NLI5r8XI6YCEfdMmFy\n\t8T9SNqfHGoL1XDnej8WMrtUDYciwK7xqD4oMncrk/pYTePmBAPv0VbgI72Do82/NL1tP\n\tUWHbiaOBOLK1Gr1FbQbMAbHawXJC3vNEiaBNHnXpigE3555tUX5Gxt6GyPMLqdmGKrlW\n\tkDdVhkINBinPYsrGe6vCU5Oxlm6Db8wVJ1R7MtRC6hhPEVuEfpWB2nLp9R0zENuOSb5g\n\tDpBTGgRYou+smiqJ5g8XTR3gpO4BchoPd4/KeZ6YSBlEeqsdpwJoMPpSOcw7a9gCA6AZ\n\tP1wg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1765499645; x=1766104445;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n\t:to:cc:subject:date:message-id:reply-to;\n\tbh=5JFGAxxzJIIeX87u+TLTHc8/im0W2ElWoVY5etd6y20=;\n\tb=pFGOEYnd7xho8PJZ2vmIXploc0VqaaEhhZqUcZW4jN5+ITmYpd5U8hxYPOcEtqoQOl\n\tsUWJK3BPCQxBre11gxHzn9zM4mK2zU8JSWSxpQGgRledh9G0xAzJPbqm/rQ3HPmsYE1s\n\t3Nw4FF5eyZ+JC5dEWw+gdWBW3L6pKPfVpuQ7lad3TKtLWhjZla2o7DXK6BQORraVIq8g\n\tSxK/hAJ+IA/jk7MwmPOvepJMJKgTJOnJmXGtgMJw6QYiS1NYaXy8r36uUs4LMloytC24\n\tK2h3thzl+Iz8mNIZXmDPYGWIX4ATgwUtcewM5uzlok+f2HGIyRFMLjfL/Q7ctFao+5SE\n\tnBXw==",
        "X-Gm-Message-State": "AOJu0Yyp7dWOHXPaEU9wwMlvRyyWziJAUUiE3BcgW6X4z/QP6iDpuoUu\n\tDClVG2qgnoEAIvA+Wzj+aMLsRpDBsfXtPYExBfqMZdzcarH9IB17lLYvxuuXVovjp/h3HY4rJsv\n\t95nGx",
        "X-Gm-Gg": "AY/fxX7bgEGyF86YIwTPTIIvgWwiQbQpj39UcXNgAD5qI3TMCQmiapS5S7sj1UhVLdd\n\tzzu3dYAu9ZlXgfdF8RJLUY0+lr8YtTT7rLuxGdfShgutBL6f+/rFe6Xjlv85vZT0NTKRC3NBHWS\n\t5puRC0a6b/0az5glWk4vCZM0dRVhOAN4UOVZwZFvmKjxraUre0vkT3guTpJBnJCMtPEbMT9Kl4n\n\tZgx24dac/IEEP82KRCpNxA53JivOyxJSXwIJygCRdyBPfjr3BroyKJDk7Sp41MSZzQ7tAHlY28m\n\tEg9dKuSqNQ6OKi9KlrKiUIIINTOGhgmKF/yz7/LU5/zcdOh98Dqeq3H63YHlmjImlQKwmHYu1c4\n\txjYy471vDKd3zBqBgc+nOJmZwOTQruQXXKW/wGLxbUpHokZHI6HqkD8bH3Hibf44rCBXgzfTAQG\n\tvrR2sUtDDrTsxfX9/0QK5vWkYlDPFPks1RkUzXgh5sUZoNWcUU/UponrP2u3Y=",
        "X-Google-Smtp-Source": "AGHT+IE4mkIVKrnH5hUkKOXuegBk3Tkiavuosw/pBlMjG2eC05uRiklF8SXuNPV9xAXYiGG4A5+Ayw==",
        "X-Received": "by 2002:a05:6a21:e081:b0:341:d5f3:f1ac with SMTP id\n\tadf61e73a8af0-369b6ab0568mr232864637.41.1765499644805; \n\tThu, 11 Dec 2025 16:34:04 -0800 (PST)",
        "From": "Bryan O'Donoghue <bryan.odonoghue@linaro.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "pavel@ucw.cz, Bryan O'Donoghue <bryan.odonoghue@linaro.org>,\n\tMilan Zamazal <mzamazal@redhat.com>",
        "Subject": "[PATCH v8 13/26] libcamera: software_isp: Add a Size_ member\n\tvariable to pass to eGL later",
        "Date": "Fri, 12 Dec 2025 00:29:24 +0000",
        "Message-ID": "<20251212002937.3118-14-bryan.odonoghue@linaro.org>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20251212002937.3118-1-bryan.odonoghue@linaro.org>",
        "References": "<20251212002937.3118-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": "We will be initialising eGL from Debayer::start(). We need a copy of the\nsize data passed in configure() to tell the fragment shaders the right\noutput size.\n\nReviewed-by: Milan Zamazal <mzamazal@redhat.com>\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n src/libcamera/software_isp/debayer.cpp | 5 +++++\n src/libcamera/software_isp/debayer.h   | 1 +\n 2 files changed, 6 insertions(+)",
    "diff": "diff --git a/src/libcamera/software_isp/debayer.cpp b/src/libcamera/software_isp/debayer.cpp\nindex 4e6fa3d74..feb41acd6 100644\n--- a/src/libcamera/software_isp/debayer.cpp\n+++ b/src/libcamera/software_isp/debayer.cpp\n@@ -300,6 +300,11 @@ Debayer::~Debayer()\n  * \\brief The output pixel format\n  */\n \n+/**\n+ * \\var Debayer::outputSize_\n+ * \\brief Output size object\n+ */\n+\n /**\n  * \\var Debayer::red_\n  * \\brief Lookup table for red channel gain and correction values.\ndiff --git a/src/libcamera/software_isp/debayer.h b/src/libcamera/software_isp/debayer.h\nindex 4a2ec3e53..189b32930 100644\n--- a/src/libcamera/software_isp/debayer.h\n+++ b/src/libcamera/software_isp/debayer.h\n@@ -75,6 +75,7 @@ public:\n \n \tDebayerInputConfig inputConfig_;\n \tDebayerOutputConfig outputConfig_;\n+\tSize outputSize_;\n \tPixelFormat inputPixelFormat_;\n \tPixelFormat outputPixelFormat_;\n \tDebayerParams::LookupTable red_;\n",
    "prefixes": [
        "v8",
        "13/26"
    ]
}