Patch Detail
Show a patch.
GET /api/patches/26205/?format=api
{ "id": 26205, "url": "https://patchwork.libcamera.org/api/patches/26205/?format=api", "web_url": "https://patchwork.libcamera.org/patch/26205/", "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": "<20260219-kbingham-quantizers-v8-8-2b6ff68ead26@ideasonboard.com>", "date": "2026-02-19T15:05:09", "name": "[v8,08/15] libcamera: controls: Define a new core Hue control", "commit_ref": "da967ed63d22c4a4dbda4e7c218d11440b5747fa", "pull_url": null, "state": "accepted", "archived": false, "hash": "149900c7e895d5d7642085089f6d94139ff29180", "submitter": { "id": 4, "url": "https://patchwork.libcamera.org/api/people/4/?format=api", "name": "Kieran Bingham", "email": "kieran.bingham@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/26205/mbox/", "series": [ { "id": 5802, "url": "https://patchwork.libcamera.org/api/series/5802/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5802", "date": "2026-02-19T15:05:01", "name": "libipa: Introduce a Quantized type", "version": 8, "mbox": "https://patchwork.libcamera.org/series/5802/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/26205/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/26205/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 64909C32EA\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 19 Feb 2026 15:05:26 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5C58C62294;\n\tThu, 19 Feb 2026 16:05:19 +0100 (CET)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CB8FE62266\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 19 Feb 2026 16:05:10 +0100 (CET)", "from ping.linuxembedded.co.uk\n\t(cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 946B519DB;\n\tThu, 19 Feb 2026 16:04:17 +0100 (CET)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"N0hd7bdN\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1771513457;\n\tbh=IQN5mfMyGVYat62QadSljdKhCwzL3IKFYLwXG9YzV8o=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n\tb=N0hd7bdNd3EDuwxx30S4roWEyIYKQeFSMhtdtupk7WYLA9/S80M9/HCUwzUsDL5eO\n\tWNur3kxXlg9wfpBa5ZvPhRikvA4TDhHWzlQ/R+LJRQdEGu2FESeAvlekkzBlL98DPx\n\th595ug28VI0pR58f18I/yGMSgyYmwltEDMMZTInE=", "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>", "Date": "Thu, 19 Feb 2026 15:05:09 +0000", "Subject": "[PATCH v8 08/15] libcamera: controls: Define a new core Hue control", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "Message-Id": "<20260219-kbingham-quantizers-v8-8-2b6ff68ead26@ideasonboard.com>", "References": "<20260219-kbingham-quantizers-v8-0-2b6ff68ead26@ideasonboard.com>", "In-Reply-To": "<20260219-kbingham-quantizers-v8-0-2b6ff68ead26@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "Kieran Bingham <kieran.bingham@ideasonboard.com>, \n\t\"van Veen, Stephan\" <stephan.vanveen@karlstorz.com>, \n\tIsaac Scott <isaac.scott@ideasonboard.com>, \n\tPaul Elder <paul.elder@ideasonboard.com>, \n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>, \n\tStefan Klug <stefan.klug@ideasonboard.com>", "X-Mailer": "b4 0.14.3", "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1771513507; l=1747;\n\ti=kieran.bingham@ideasonboard.com; s=20260207;\n\th=from:subject:message-id; \n\tbh=KKbPES795OS8Z0E+MjbsA9rZOX36xmjEzpI1sO/XrwI=;\n\tb=xgyZhu4o2LniG15nhm6b9jK3q0LwErvwG5kpB4lgZeCrnMZVMfwPgON6uHJzvNeJgzrqoxNcz\n\tOebcqLuIAcbBcrsygs//3mCErcl1k0SKKMhTODYfMqT+6CAdzbc2kxl", "X-Developer-Key": "i=kieran.bingham@ideasonboard.com; a=ed25519;\n\tpk=FVXKN7YuwHc6UtbRUeTMAmranfsQomA+vnilfglWdaY=", "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: \"van Veen, Stephan\" <stephan.vanveen@karlstorz.com>\n\nDefine a new control to support configuration of Hue adjustments when\nsupported by the available platform.\n\nReviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>\nSigned-off-by: van Veen, Stephan <stephan.vanveen@karlstorz.com>\n[Kieran: Rework to define as a rotation in degrees]\nReviewed-by: Paul Elder <paul.elder@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nReviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n---\n\nv8:\n - Use [-180, 180] to allow metadata expectations to be met (without\n changing sign on an input control)\n---\n src/libcamera/control_ids_core.yaml | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)", "diff": "diff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml\nindex f26a1b1b08bd..89991d03d79a 100644\n--- a/src/libcamera/control_ids_core.yaml\n+++ b/src/libcamera/control_ids_core.yaml\n@@ -1361,4 +1361,19 @@ controls:\n description: |\n Enable or disable the lens shading correction.\n \n+ - Hue:\n+ type: float\n+ direction: inout\n+ description: |\n+ Adjusts the image hue (colour rotation) in degrees, as defined in\n+ the HSL/HSV colour model.\n+\n+ The value represents a rotation around the hue circle in HSL/HSV space:\n+ positive values rotate hues clockwise (for example a +60° turns\n+ Red hues to Yellow hues), and negative values rotate counter-clockwise\n+ (a -60° turns Red hues to Magenta hues).\n+\n+ The nominal range is [-180, 180], where 0° leaves hues unchanged and the\n+ range wraps around continuously, with 180° == -180°.\n+\n ...\n", "prefixes": [ "v8", "08/15" ] }