Show a patch.

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

{
    "id": 24651,
    "url": "https://patchwork.libcamera.org/api/patches/24651/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/24651/",
    "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-7-bryan.odonoghue@linaro.org>",
    "date": "2025-10-15T01:22:18",
    "name": "[v3,06/39] libcamera: swstats_cpu: Move header to libcamera/internal/software_isp",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "34cd6ea3af32093f2be171fcc8ff09e56d607703",
    "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/24651/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/24651/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/24651/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 AAE11C3264\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 15 Oct 2025 01:23:08 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5911F60615;\n\tWed, 15 Oct 2025 03:23:08 +0200 (CEST)",
            "from mail-ej1-x635.google.com (mail-ej1-x635.google.com\n\t[IPv6:2a00:1450:4864:20::635])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6FCF060609\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 15 Oct 2025 03:23:01 +0200 (CEST)",
            "by mail-ej1-x635.google.com with SMTP id\n\ta640c23a62f3a-b3d50882cc2so1116953966b.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Oct 2025 18:23:01 -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.22.59\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 14 Oct 2025 18:23:00 -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=\"zMgs/uxJ\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1760491381; x=1761096181;\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=fMgE7+8U5Npv3E1fx1DNI5sebBAbDc9Ao7uNF2FproY=;\n\tb=zMgs/uxJoXVFHZSgAg6dDUQqguw+qSUZaIfylSeXQcOUHIabJkbPjRYiqbNaJ9lJWZ\n\taW683Ke1hVKjTUj5x2/fjWM5G0pIveM6euxEn+B0y7O6BfXicjvuGsBw7lr/MRJgJ4cG\n\tyoU4zf8Gvr5oa1cyhXeGDLLHiR/4nKQTXsNYvpYCOG25gOCnteCde8DE9qcsEIp+olXO\n\tm8KxcWSr4gBbNJAb+VqpKU5zEhQI2HAT+sg+Ew562F7zjDCojCCuiNpfIJPToN1chGhH\n\tORKpLQxS5yfQ9YkOiEhdVSNcYCN9VTp8NLp5uEWOKYUsmZmwoBfduT96xyWxBw+x5j3G\n\t56Mg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1760491381; x=1761096181;\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=fMgE7+8U5Npv3E1fx1DNI5sebBAbDc9Ao7uNF2FproY=;\n\tb=dJb7jLXYAW18rzDcLEXUaBqahY7pdkb9/m3ydvZybmhL2N3Z58HluK1FL+V2da1A+v\n\t+/suD+ZrI+vjKvIBjRDR45KTAINSUV750Mq8u67Sy4weBM4YlDvIkpIbMDRtztV7+afF\n\tcDUYEefh0GJvAQeCxILY6cn0jVPkYw4SaKHzPdpOEV3HQlaEq62m9ETIPsN8tAgRB50v\n\t3o62bpfsnffFwFZ0Jv30N2eTpBkWtEQHjm67qA3S8M8PV05Q9Il4ahZxcc4pfFFDbHyS\n\t53nOVSUj0BjQetuF5tkcOWIDz+rnKizLFIy8XzCOUR3mIeZo/EGUe0Xlt9g4dC9qLGKM\n\txG6A==",
        "X-Gm-Message-State": "AOJu0YzCHSwTG1lf3wy1nlQ8+0m14qZnU6khv7vE07CvIp2QcFJudD/2\n\tNvAMnMBmonbAJdbHkni8aI6y6lKtNdM/zaQ6aX5NtIMj5HaokZQ1y9TdQ3yGInkBwVogXlh3rjM\n\tcnMZ9",
        "X-Gm-Gg": "ASbGncs6m9yQo8Z1Dd9kn3+aYGv3Y9Y+HXAxGYmxDyQDR6ZGVk5cIZ2cRsLQObMWvFY\n\t0xreM5ZywBzUIUQKcW4n6/xYgtLxyvSs/d4aCdSggpz9JxBfc3cJwhp+HTFMc/VIDOVJlZtE6oI\n\tb9x4F95bREM5MT+LT7bUcTKVWrzlW8MecG8Jj8NSwHdfK26TXmtNkojxlEpl9AnDGsfu1fyq3QK\n\tEBGuHUG1lVwL7w6L8yd0UIFTEJw/f73GUvKOi7Tue/0RY0hNeJWgpDKgbGHKbDhpAHVumvFqDQE\n\t5pMBukyquJTg/HUI699DGlCuKHC3FJpGJeug0/SOn+g7EJFRIx4K1vdAypmzK9WWjsb9VPAr/xq\n\tSG9T46CGLip7KjaRzar7Rozz9KVWkVqH65h9hIDB/9VLcAGEWdemVxgl3j9+ubDk8qsDXaQSCx/\n\thrUG/CQnyAFTqAYEoigagNkndXcLJsnA==",
        "X-Google-Smtp-Source": "AGHT+IH6iuIkdswA+GTaULPvX+70X3GMBpNL0JZ0FmnDpSLo5BDKK14xS4OelHq8DIuHRNJEubeCSA==",
        "X-Received": "by 2002:a17:907:1c23:b0:b3f:f207:b748 with SMTP id\n\ta640c23a62f3a-b50aa48d5e2mr2711962066b.10.1760491380652; \n\tTue, 14 Oct 2025 18:23:00 -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, Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "Subject": "[PATCH v3 06/39] libcamera: swstats_cpu: Move header to\n\tlibcamera/internal/software_isp",
        "Date": "Wed, 15 Oct 2025 02:22:18 +0100",
        "Message-ID": "<20251015012251.17508-7-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": "From: Hans de Goede <hdegoede@redhat.com>\n\nMove the swstats_cpu.h file to include/libcamera/internal/software_isp/\nso that it can be used outside the src/libcamera/software_isp/ directory.\n\nReviewed-by: Milan Zamazal <mzamazal@redhat.com>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n include/libcamera/internal/software_isp/meson.build             | 1 +\n .../libcamera/internal}/software_isp/swstats_cpu.h              | 0\n src/libcamera/software_isp/debayer_cpu.h                        | 2 +-\n src/libcamera/software_isp/swstats_cpu.cpp                      | 2 +-\n 4 files changed, 3 insertions(+), 2 deletions(-)\n rename {src/libcamera => include/libcamera/internal}/software_isp/swstats_cpu.h (100%)",
    "diff": "diff --git a/include/libcamera/internal/software_isp/meson.build b/include/libcamera/internal/software_isp/meson.build\nindex 508ddddc..ea3f3f1c 100644\n--- a/include/libcamera/internal/software_isp/meson.build\n+++ b/include/libcamera/internal/software_isp/meson.build\n@@ -4,4 +4,5 @@ libcamera_internal_headers += files([\n     'debayer_params.h',\n     'software_isp.h',\n     'swisp_stats.h',\n+    'swstats_cpu.h',\n ])\ndiff --git a/src/libcamera/software_isp/swstats_cpu.h b/include/libcamera/internal/software_isp/swstats_cpu.h\nsimilarity index 100%\nrename from src/libcamera/software_isp/swstats_cpu.h\nrename to include/libcamera/internal/software_isp/swstats_cpu.h\ndiff --git a/src/libcamera/software_isp/debayer_cpu.h b/src/libcamera/software_isp/debayer_cpu.h\nindex 03e0d784..1cd411f2 100644\n--- a/src/libcamera/software_isp/debayer_cpu.h\n+++ b/src/libcamera/software_isp/debayer_cpu.h\n@@ -19,9 +19,9 @@\n \n #include \"libcamera/internal/bayer_format.h\"\n #include \"libcamera/internal/global_configuration.h\"\n+#include \"libcamera/internal/software_isp/swstats_cpu.h\"\n \n #include \"debayer.h\"\n-#include \"swstats_cpu.h\"\n \n namespace libcamera {\n \ndiff --git a/src/libcamera/software_isp/swstats_cpu.cpp b/src/libcamera/software_isp/swstats_cpu.cpp\nindex 1b33ffa7..55e764b0 100644\n--- a/src/libcamera/software_isp/swstats_cpu.cpp\n+++ b/src/libcamera/software_isp/swstats_cpu.cpp\n@@ -9,7 +9,7 @@\n  * CPU based software statistics implementation\n  */\n \n-#include \"swstats_cpu.h\"\n+#include \"libcamera/internal/software_isp/swstats_cpu.h\"\n \n #include <libcamera/base/log.h>\n \n",
    "prefixes": [
        "v3",
        "06/39"
    ]
}