{"id":25804,"url":"https://patchwork.libcamera.org/api/1.1/patches/25804/?format=json","web_url":"https://patchwork.libcamera.org/patch/25804/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260114173918.1744023-9-kieran.bingham@ideasonboard.com>","date":"2026-01-14T17:39:08","name":"[v5,08/16] libcamera: controls: Define a new core Hue control","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"326552b8747ddf2565ef79bc218e91530f72b144","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/1.1/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/25804/mbox/","series":[{"id":5708,"url":"https://patchwork.libcamera.org/api/1.1/series/5708/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5708","date":"2026-01-14T17:39:00","name":"libipa: Introduce a Quantized type","version":5,"mbox":"https://patchwork.libcamera.org/series/5708/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/25804/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/25804/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 C4387C32AF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 14 Jan 2026 17:39:37 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id F280D61FC4;\n\tWed, 14 Jan 2026 18:39:33 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id D93D661FBC\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 14 Jan 2026 18:39:24 +0100 (CET)","from Monstersaurus.infra.iob\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 E43182832;\n\tWed, 14 Jan 2026 18:38:57 +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=\"owKFFVX1\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1768412338;\n\tbh=OfHo9f59ilEaoKpfeOq+LrAmt/9ZlkdVEq9PHJLVYrI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=owKFFVX1mMrTMXad8FohUI29Bgzz9TO3O99EWXcGaghlYfBikPDqb+lI+xbJtFCLr\n\tKTSme10olAqGVvE2lhXr66x3ap5sSUr5Vt2/yE3CzJWrdOrAzy66lDxtnyENBaEgj2\n\t/ceDmVYO6f8VDoVKUBWaprwnO5ohAE7XhFUMuB84=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Cc":"\"van Veen, Stephan\" <stephan.vanveen@karlstorz.com>,\n\tIsaac Scott <isaac.scott@ideasonboard.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>","Subject":"[PATCH v5 08/16] libcamera: controls: Define a new core Hue control","Date":"Wed, 14 Jan 2026 17:39:08 +0000","Message-ID":"<20260114173918.1744023-9-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.52.0","In-Reply-To":"<20260114173918.1744023-1-kieran.bingham@ideasonboard.com>","References":"<20260114173918.1744023-1-kieran.bingham@ideasonboard.com>","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: \"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]\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n---\nv5:\n - Reworked control definition and direction\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\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 8e99bd84825f..67a44f8089bd 100644\n--- a/src/libcamera/control_ids_core.yaml\n+++ b/src/libcamera/control_ids_core.yaml\n@@ -1356,4 +1356,19 @@ controls:\n         Enable or disable lens dewarping. This control is only available if lens\n         dewarp parameters are configured in the tuning file.\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":["v5","08/16"]}