Patch Detail
Show a patch.
GET /api/patches/23756/?format=api
{ "id": 23756, "url": "https://patchwork.libcamera.org/api/patches/23756/?format=api", "web_url": "https://patchwork.libcamera.org/patch/23756/", "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": "<20250707085520.39777-8-stefan.klug@ideasonboard.com>", "date": "2025-07-07T08:55:10", "name": "[v3,7/9] pipeline: v4l2_subdevice: Add color space to format string representation", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "0cfeb8f1083128aefb4f9645772764717b120c0e", "submitter": { "id": 184, "url": "https://patchwork.libcamera.org/api/people/184/?format=api", "name": "Stefan Klug", "email": "stefan.klug@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/23756/mbox/", "series": [ { "id": 5273, "url": "https://patchwork.libcamera.org/api/series/5273/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5273", "date": "2025-07-07T08:55:03", "name": "Wdr preparations", "version": 3, "mbox": "https://patchwork.libcamera.org/series/5273/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/23756/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/23756/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 95D23C3237\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 7 Jul 2025 08:55:57 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BA1A268EAB;\n\tMon, 7 Jul 2025 10:55:56 +0200 (CEST)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 91A3B68E7F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 7 Jul 2025 10:55:54 +0200 (CEST)", "from ideasonboard.com (unknown\n\t[IPv6:2a00:6020:448c:6c00:c79f:85df:e7f5:4c31])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 01FA4190D; \n\tMon, 7 Jul 2025 10:55:27 +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=\"vZHbVaBF\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1751878528;\n\tbh=ls6nwpzwxajKJAT6TragKy3J0LKJ541owh/REBLPmLQ=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=vZHbVaBFmwYvLf/TJilNtwgrToMulc6bDwh2o6WqE2FdH0gUopwzFz7PRfPY05Q9G\n\tjfj0wQsAPieqd9P1YVH2JkJVdabDGj632GCA4dTc82zu/w+aPY9T91QTGt2Yfj9gnD\n\teSN6p26jCMOZOEAbH7bGa7GJPi7ywLPSpvXwC2+k=", "From": "Stefan Klug <stefan.klug@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "Stefan Klug <stefan.klug@ideasonboard.com>", "Subject": "[PATCH v3 7/9] pipeline: v4l2_subdevice: Add color space to format\n\tstring representation", "Date": "Mon, 7 Jul 2025 10:55:10 +0200", "Message-ID": "<20250707085520.39777-8-stefan.klug@ideasonboard.com>", "X-Mailer": "git-send-email 2.48.1", "In-Reply-To": "<20250707085520.39777-1-stefan.klug@ideasonboard.com>", "References": "<20250707085520.39777-1-stefan.klug@ideasonboard.com>", "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 the color space to the string representation of V4L2SubdeviceFormat\nthat is returned by toString() and operator<<().\n\nSigned-off-by: Stefan Klug <stefan.klug@ideasonboard.com>\n\n---\n\nChanges in v3:\n- Moved color space output to V4L2SubdeviceFormat\n- Dropped tags, as the patch changed a bit more\n\nChanges in v2:\n- Collected tag\n---\n src/libcamera/v4l2_subdevice.cpp | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp\nindex 33279654db8c..ce6b0d38cbf1 100644\n--- a/src/libcamera/v4l2_subdevice.cpp\n+++ b/src/libcamera/v4l2_subdevice.cpp\n@@ -949,6 +949,8 @@ std::ostream &operator<<(std::ostream &out, const V4L2SubdeviceFormat &f)\n \telse\n \t\tout << it->second.name;\n \n+\tout << \"/\" << ColorSpace::toString(f.colorSpace);\n+\n \treturn out;\n }\n \n", "prefixes": [ "v3", "7/9" ] }