Patch Detail
Show a patch.
GET /api/1.1/patches/27251/?format=api
{ "id": 27251, "url": "https://patchwork.libcamera.org/api/1.1/patches/27251/?format=api", "web_url": "https://patchwork.libcamera.org/patch/27251/", "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": "<20260706113900.2530549-7-bryan.odonoghue@linaro.org>", "date": "2026-07-06T11:38:59", "name": "[v5,6/7] libcamera: base: shared_fd: Add hash template", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "cb4cd2864f6e5a94832b1c573261d0c5bb3ae8cb", "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/27251/mbox/", "series": [ { "id": 6041, "url": "https://patchwork.libcamera.org/api/1.1/series/6041/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=6041", "date": "2026-07-06T11:38:53", "name": "libcamera: software_isp: gpu: Add go faster stripes", "version": 5, "mbox": "https://patchwork.libcamera.org/series/6041/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/27251/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/27251/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 8AC8DC330F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 6 Jul 2026 11:39:21 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4954666031;\n\tMon, 6 Jul 2026 13:39:20 +0200 (CEST)", "from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com\n\t[IPv6:2a00:1450:4864:20::42c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B1F136600A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 6 Jul 2026 13:39:16 +0200 (CEST)", "by mail-wr1-x42c.google.com with SMTP id\n\tffacd0b85a97d-4703bc0a99aso1579564f8f.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 06 Jul 2026 04:39:16 -0700 (PDT)", "from inspiron14p-linux ([109.77.44.220])\n\tby smtp.gmail.com with ESMTPSA id\n\tffacd0b85a97d-47a9de1e6ccsm24796084f8f.5.2026.07.06.04.39.15\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 06 Jul 2026 04:39:15 -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=\"kJknxjPB\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1783337956; x=1783942756;\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=iBRWJUBS/Uq8NB/fn6jxhZu1bX+RaDP4LLlVacS3Kt8=;\n\tb=kJknxjPBBPUXDRJVtWLj9UPfx0c6GtDN34wHMUVbnR1lF3+j/S8MwMxFvWXNxuYDjQ\n\tw9H9cXZ87m/RrndEZxqR8RYmu9kk7qopDwUr4mD64kLjEPZFzskuOhxaicG/wVldwEZO\n\tsjUs5GoNGAhrYvdX7+CQNPZ20M0uieyZ3vpZuDZzfRgFouS/qcK+teT64IPHMCLRALF0\n\tsIlZEoi8wcimZyGrr3eN5AdU0yNlq0DXur1K8kaN2TACbGJTbcLVlw4qrpqXJj1BYAeu\n\tLeB8ktKMP85qwuD6pjyod6i8VuVTrNf5FZ7zT4yBMKws5X332Y1gMBAya7bX+AKcYggh\n\tSZ6w==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20251104; t=1783337956; x=1783942756;\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=iBRWJUBS/Uq8NB/fn6jxhZu1bX+RaDP4LLlVacS3Kt8=;\n\tb=mflwEr9nVdeEZBFBqIboLkWBCFzRb+wbuSeC3mO6QuYqwXLSDolnHy2bJm505q1Bor\n\tiA2NJ6pGt7w1OzzdOlngXytIMr0Xc4IOXCbgP5r36Z1CawPgAziGiDHrllBDOaKc7lfL\n\t2zuuiVDwWEjRmC78eH36KMxVBJmure2VhomabnmL2+vXAeUt88c+eQ/fufHndZ8xE3+s\n\tORctZNktFZTu1J8Xsw/k+DQfVBBGJ80Ox/ROhCdXPcK5/tm0H0DoGknj1tKHS0BjtWr1\n\taNSV5LFK7ldzsKem+iG0bsvin32WIbIb01qAJoOma9IU7q1EXgna6jJaQqrtT0wIBU2Y\n\t/M1w==", "X-Gm-Message-State": "AOJu0YzliBdALzRP+BH7NoDT+EbvZJEjlI7iSpWOohLYV7ucB6XlV8Kg\n\tieUekxaZrxeDF5XB7fjnWumVMed7ATHlXU0UU6D+xgkMjArc8+ow55MKjhT1nmzI1voi+tN4UK6\n\tLpohu", "X-Gm-Gg": "AfdE7cmQH20s+fd/09bDOMkieKUf74f0/xB/69BWyvEIajcfF8BYWWd7alArnvsiZts\n\tHmXVE7K7OOST7PM697/fk36PqVCjB/2viYBwR5go3dJGfNbHBp8M43FLGY7ZAlCHHY1TMD9G/h8\n\t3DtPcLcMDhXuHmsgJ1hRV8jLilj7vdwCgG346zyRSHcGh/RdxnoiOYBr8FXXty7CsXiwf5WxA37\n\t1BuK3OHUZf0nhKq0NXIienYHbKjK4DUWSABLhuNzX+6Uy6zW428yRxq4DLtk2xvCHBUt0vACrQb\n\tXuUG0vc1jDUoyPCfoK9rqLVHmloX5pMX1FhK/OIBYbm7zRPIYh65vPOewdaek4bYSUsbq5h6/rE\n\tL6TDeUwpK8pVD0auKSXvOO8V95wTupVGYtfIGM7zLINd1TrGSVlej8XYGjHafyVBuJJr5qjMcWy\n\tDsuN/Iv37rfhc76ePGBgOcD301ABRQ", "X-Received": "by 2002:a05:6000:29d3:b0:472:67de:27c2 with SMTP id\n\tffacd0b85a97d-47aab76fe87mr7454974f8f.40.1783337956188; \n\tMon, 06 Jul 2026 04:39:16 -0700 (PDT)", "From": "Bryan O'Donoghue <bryan.odonoghue@linaro.org>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "bryan.odonoghue@linaro.org, pavel@ucw.cz, Robert Mader\n\t<robert.mader@collabora.com>, =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?=\n\t<barnabas.pocze@ideasonboard.com>", "Subject": "[PATCH v5 6/7] libcamera: base: shared_fd: Add hash template", "Date": "Mon, 6 Jul 2026 12:38:59 +0100", "Message-ID": "<20260706113900.2530549-7-bryan.odonoghue@linaro.org>", "X-Mailer": "git-send-email 2.54.0", "In-Reply-To": "<20260706113900.2530549-1-bryan.odonoghue@linaro.org>", "References": "<20260706113900.2530549-1-bryan.odonoghue@linaro.org>", "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": "From: Robert Mader <robert.mader@collabora.com>\n\nSuggested-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\nSigned-off-by: Robert Mader <robert.mader@collabora.com>\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n Documentation/Doxyfile-common.in | 2 ++\n include/libcamera/base/shared_fd.h | 9 +++++++++\n 2 files changed, 11 insertions(+)", "diff": "diff --git a/Documentation/Doxyfile-common.in b/Documentation/Doxyfile-common.in\nindex f11ec593d..c0696496c 100644\n--- a/Documentation/Doxyfile-common.in\n+++ b/Documentation/Doxyfile-common.in\n@@ -75,3 +75,5 @@ PREDEFINED = __DOXYGEN__ \\\n \t\t\t @PREDEFINED@\n \n HAVE_DOT = YES\n+\n+BUILTIN_STL_SUPPORT = YES\ndiff --git a/include/libcamera/base/shared_fd.h b/include/libcamera/base/shared_fd.h\nindex 61fe11c1d..65b1044c7 100644\n--- a/include/libcamera/base/shared_fd.h\n+++ b/include/libcamera/base/shared_fd.h\n@@ -7,6 +7,7 @@\n \n #pragma once\n \n+#include <functional>\n #include <memory>\n \n namespace libcamera {\n@@ -57,3 +58,11 @@ static inline bool operator!=(const SharedFD &lhs, const SharedFD &rhs)\n }\n \n } /* namespace libcamera */\n+\n+template<>\n+struct std::hash<libcamera::SharedFD> : private std::hash<int> {\n+\tauto operator()(const libcamera::SharedFD &x) const noexcept\n+\t{\n+\t\treturn std::hash<int>::operator()(x.get());\n+\t}\n+};\n", "prefixes": [ "v5", "6/7" ] }