Show a patch.

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

{
    "id": 26518,
    "url": "https://patchwork.libcamera.org/api/patches/26518/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26518/",
    "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": "<20260413114713.426459-3-barnabas.pocze@ideasonboard.com>",
    "date": "2026-04-13T11:47:13",
    "name": "[v1,3/3] libcamera: software_isp: debayer_egl: Remove unnecessary declarations",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0269a68f4b271a6b2d0275feeea9903a4bf104f5",
    "submitter": {
        "id": 216,
        "url": "https://patchwork.libcamera.org/api/people/216/?format=api",
        "name": "Barnabás Pőcze",
        "email": "barnabas.pocze@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26518/mbox/",
    "series": [
        {
            "id": 5880,
            "url": "https://patchwork.libcamera.org/api/series/5880/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5880",
            "date": "2026-04-13T11:47:11",
            "name": "[v1,1/3] libcamera: egl: Remove `eGLImage::image_`",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5880/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26518/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26518/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 00FDDBDCBD\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 13 Apr 2026 11:47:23 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0720E62E8B;\n\tMon, 13 Apr 2026 13:47:21 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id D161862E84\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 13 Apr 2026 13:47:16 +0200 (CEST)",
            "from pb-laptop.local (185.182.214.8.nat.pool.zt.hu [185.182.214.8])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 1425497F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 13 Apr 2026 13:45:45 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"ftCi3jEA\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1776080745;\n\tbh=g7bdFfCaZt/3JjuJ0+x9HrvE7K+5UN2oktIBvhJFuac=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=ftCi3jEAT0ZAFNG+lRuTkuEmdON5o6afVwmeR5+moEZFmksJZjoLQiDPyEwgrl/oQ\n\tXtbgrgh3T1rqu6SmVq3skMzCBSfpHi7wCkmykwSoymPuJ9sKilKPqaQF0+dA4KGpUB\n\tisbd9G7WQEu2ATFbuLSI1XmD0wCEjaMZNHTSKcYg=",
        "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH v1 3/3] libcamera: software_isp: debayer_egl: Remove\n\tunnecessary declarations",
        "Date": "Mon, 13 Apr 2026 13:47:13 +0200",
        "Message-ID": "<20260413114713.426459-3-barnabas.pocze@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260413114713.426459-1-barnabas.pocze@ideasonboard.com>",
        "References": "<20260413114713.426459-1-barnabas.pocze@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "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": "These functions are not defined, so remove them.\n\nSigned-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n---\n src/libcamera/software_isp/debayer_egl.h | 9 ---------\n 1 file changed, 9 deletions(-)",
    "diff": "diff --git a/src/libcamera/software_isp/debayer_egl.h b/src/libcamera/software_isp/debayer_egl.h\nindex d563bfa55..644f6604e 100644\n--- a/src/libcamera/software_isp/debayer_egl.h\n+++ b/src/libcamera/software_isp/debayer_egl.h\n@@ -61,18 +61,9 @@ public:\n private:\n \tstatic int getInputConfig(PixelFormat inputFormat, DebayerInputConfig &config);\n \tstatic int getOutputConfig(PixelFormat outputFormat, DebayerOutputConfig &config);\n-\tint setupStandardBayerOrder(BayerFormat::Order order);\n-\tvoid pushEnv(std::vector<std::string> &shaderEnv, const char *str);\n \tint initBayerShaders(PixelFormat inputFormat, PixelFormat outputFormat);\n-\tint initEGLContext();\n-\tint generateTextures();\n-\tint compileShaderProgram(GLuint &shaderId, GLenum shaderType,\n-\t\t\t\t unsigned char *shaderData, int shaderDataLen,\n-\t\t\t\t std::vector<std::string> shaderEnv);\n-\tint linkShaderProgram(void);\n \tint getShaderVariableLocations();\n \tvoid setShaderVariableValues(const DebayerParams &params);\n-\tvoid configureTexture(GLuint &texture);\n \tint debayerGPU(MappedFrameBuffer &in, int out_fd, const DebayerParams &params);\n \n \t/* Shader program identifiers */\n",
    "prefixes": [
        "v1",
        "3/3"
    ]
}