{"id":24901,"url":"https://patchwork.libcamera.org/api/patches/24901/?format=json","web_url":"https://patchwork.libcamera.org/patch/24901/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20251029172439.1513907-12-kieran.bingham@ideasonboard.com>","date":"2025-10-29T17:24:36","name":"[v2,11/13] libcamera: controls: Define a new core Hue control","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"d03bcf2dfb83e27bb01f5028dba5f3eae4c7a297","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/24901/mbox/","series":[{"id":5544,"url":"https://patchwork.libcamera.org/api/series/5544/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5544","date":"2025-10-29T17:24:25","name":"libipa: Introduce a Quantized type","version":2,"mbox":"https://patchwork.libcamera.org/series/5544/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/24901/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/24901/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 20DBDC3334\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 29 Oct 2025 17:25:09 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B1B63608F7;\n\tWed, 29 Oct 2025 18:25:08 +0100 (CET)","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 1A68960859\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 29 Oct 2025 18:24:49 +0100 (CET)","from Monstersaurus.hippo-penny.ts.net\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 B3C8B4D2E;\n\tWed, 29 Oct 2025 18:22:59 +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=\"EEzdVN2v\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1761758579;\n\tbh=wfsf72qv2NCaX6PuHQmPl5h9CQMIf+I4Pg95L5F4S3M=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=EEzdVN2vliU150496y9WSdykjfApU+AR7iZMoGUJIGB3kwsipOqldPxytsqp82V+V\n\tlSt/BAmBxGdY9gULO0emcLqqxJkslrYRmln/9mrLWizybJgmwFogpaE6HNx4Ohsv3P\n\tPbDmsvr82xUDVokNTFAMp67aCEuDZH7YrgussLR4=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Cc":"\"van Veen, Stephan\" <stephan.vanveen@karlstorz.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>","Subject":"[PATCH v2 11/13] libcamera: controls: Define a new core Hue control","Date":"Wed, 29 Oct 2025 17:24:36 +0000","Message-ID":"<20251029172439.1513907-12-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.50.1","In-Reply-To":"<20251029172439.1513907-1-kieran.bingham@ideasonboard.com>","References":"<20251029172439.1513907-1-kieran.bingham@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":"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\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 src/libcamera/control_ids_core.yaml | 13 +++++++++++++\n 1 file changed, 13 insertions(+)","diff":"diff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml\nindex f781865859ac..4993da14b3f6 100644\n--- a/src/libcamera/control_ids_core.yaml\n+++ b/src/libcamera/control_ids_core.yaml\n@@ -1346,4 +1346,17 @@ controls:\n         reduces the WdrExposureValue until the amount of pixels that are close\n         to saturation is lower than this value.\n \n+  - Hue:\n+      type: float\n+      direction: inout\n+      description: |\n+        Adjusts the image hue (colour rotation) in degrees.\n+\n+        The value specifies a rotation around the colour wheel:\n+        positive values rotate hues counter-clockwise (for example a +60 degree\n+        rotation turns Red hues to Magenta hues), and negative values rotate\n+        clockwise (a -60 degree rotation turns Red hues to Yellow hues).\n+\n+        A value of 0 leaves the hue unchanged.\n+\n ...\n","prefixes":["v2","11/13"]}