Show a patch.

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

{
    "id": 23222,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/23222/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/23222/",
    "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": "<20250422215920.4297-10-bryan.odonoghue@linaro.org>",
    "date": "2025-04-22T21:59:02",
    "name": "[09/27] libcamera: swstats_cpu: Move header to libcamera/internal/software_isp",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": false,
    "hash": "3416e1be58c342660ef8904c0b7bcea40fd5c147",
    "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/23222/mbox/",
    "series": [
        {
            "id": 5142,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5142/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5142",
            "date": "2025-04-22T21:58:53",
            "name": "RFC: Add in a eGL based GPUISP in libcamera",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5142/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/23222/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/23222/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 E04FFC331E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 22 Apr 2025 21:59:39 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 883B468B35;\n\tTue, 22 Apr 2025 23:59:39 +0200 (CEST)",
            "from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com\n\t[IPv6:2a00:1450:4864:20::32f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8C41068AD0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Apr 2025 23:59:32 +0200 (CEST)",
            "by mail-wm1-x32f.google.com with SMTP id\n\t5b1f17b1804b1-43edecbfb46so42560845e9.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Apr 2025 14:59:32 -0700 (PDT)",
            "from inspiron14p-linux.ht.home (188-141-3-146.dynamic.upc.ie.\n\t[188.141.3.146]) by smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-44092d2eccesm2726615e9.20.2025.04.22.14.59.30\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 22 Apr 2025 14:59:31 -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=\"G+ioLDAb\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1745359171; x=1745963971;\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=Unisxf724wKPeDmdCw8LDPHqe3S8flwsX/29uC+sYFk=;\n\tb=G+ioLDAbk6pnH/Gg5gp15ReYuMJAwYyEQtMj6Ui4ygXhkAThlsex5YjH7MxRQ6nEiM\n\tBSCA9MAysmsJH6den4lay4pjRkyGwzAbZQux3/7u0KV8dTjJ0awD5jypjTwdnr4TCvOW\n\tOLNW4Pd/5wbb0bVN7ZkJsPXH0P+0QSc0pGdMoY7sc3flccyN93O6ZSFKD6e+X4vFq9A1\n\t/oUAeAgnXCccso/aEMGhwveuUXQdZF0scYkxlV/jUm00G9fSgdAgOUMH4aXkw0Htz+ge\n\tUvmt0duJwe2SxFfcphSP9H3J7hzl7SY9UDjAd6dOdfejWa71YWUrQG1TuXJi77UQRVh7\n\tUXMQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1745359171; x=1745963971;\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=Unisxf724wKPeDmdCw8LDPHqe3S8flwsX/29uC+sYFk=;\n\tb=nZ7N2KQjbnfvQPvrfFOoNk7adKIk19OuizXnp3tCouvrhloNRQCNVkwQKBRp1tw5PC\n\tqf+ezcu4AWWyhz96+RHzcc04aX/oqFw4x1bcFJUlp6hBzigRTU9KQzo2AwIphN6U5ifD\n\tlT0Smu67TEQWjTSGuA81A2vYe7oCZCA91f4emguqNUScftckYhPwZlUjvrzNEMgFVLyR\n\tdRQGN2ZDHlHl+twX4/bOFKXA4hVSrO3unGoVZf+76n2px2eGKotuoLxQ0oI6ae48/Apt\n\t7vBMfGP6DcAy06u8Du37Pjvcl4qhlABjhoN4/sZDLegGbTlxV18Smgwn5kdTR4hsz9jS\n\tbNMA==",
        "X-Gm-Message-State": "AOJu0YzHKFUtN745chHjZuFSQ49k8rjG/4nr1oKv2a2EF2qWAMWmyLY2\n\tsy02Fgb2BR+6MQ6lJdQhEgYULd2RnPA6YEtSm/M1JxanBfe1WmrWxg1p2oaDuouJ+ruUG3H6Qki\n\tG88U=",
        "X-Gm-Gg": "ASbGncu5ZosOvwvOWEOgG7ikMRQ4FJPHxBNdHtvhqgeT6bdqB8DuwLxcoSc8V3aOPlI\n\t2OSjR9blKC+3ruTgO8xcmIXRzbHiQK+f4MQn904q1zcRZj858jboQ4ubL2JRhmz6KvqMDNGOeOj\n\tTW8KBfRSuiK4aFIXg40GL3XoaELagcle9AWnAK6krD20tLLAnU67mNjRlAmmhNXgy+ymENqoovf\n\tJx+2DhWdiHxvbCR/4kqzw1kudDAF0bV3FubRmJFGoFiPJa7AP25EJ19T6KwS1lTd3BP2/z4yfa3\n\tojYglcGn1oeWsX3lLL/80poq/ynJwDqPr9DIlZWzW4ilFgBTG4J3Hi52TS8x0rWpRXK2ZbWnet1\n\tQ7TL9hAv8787QBviBApwgzyjjANgRerk=",
        "X-Google-Smtp-Source": "AGHT+IHW63qwj7PPXPxJPTw2zh+7AfDT6Xn18mDDfoGgc5cgoftQ1Iwu9urWWeFU2O7YJ8F0u5cAxQ==",
        "X-Received": "by 2002:a05:600c:8711:b0:43d:934:ea97 with SMTP id\n\t5b1f17b1804b1-4406ac0f82bmr143845175e9.27.1745359171446; \n\tTue, 22 Apr 2025 14:59:31 -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 09/27] libcamera: swstats_cpu: Move header to\n\tlibcamera/internal/software_isp",
        "Date": "Tue, 22 Apr 2025 22:59:02 +0100",
        "Message-ID": "<20250422215920.4297-10-bryan.odonoghue@linaro.org>",
        "X-Mailer": "git-send-email 2.49.0",
        "In-Reply-To": "<20250422215920.4297-1-bryan.odonoghue@linaro.org>",
        "References": "<20250422215920.4297-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\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 a7e606d2..df7c3b97 100644\n--- a/include/libcamera/internal/software_isp/meson.build\n+++ b/include/libcamera/internal/software_isp/meson.build\n@@ -5,4 +5,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 d6820d5e..182607cd 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/software_isp/benchmark.h\"\n #include \"libcamera/internal/bayer_format.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 3ec9656c..e81c96a2 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": [
        "09/27"
    ]
}