{"id":9270,"url":"https://patchwork.libcamera.org/api/1.1/patches/9270/?format=json","web_url":"https://patchwork.libcamera.org/patch/9270/","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":"<20200808100046.5347-2-jacopo@jmondi.org>","date":"2020-08-08T10:00:45","name":"[libcamera-devel,1/2] libcamera: controls: Define AwbLocked control","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"746cca696b2858ad3d9a2e450f1655e66a48d011","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/1.1/people/3/?format=json","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/9270/mbox/","series":[{"id":1209,"url":"https://patchwork.libcamera.org/api/1.1/series/1209/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1209","date":"2020-08-08T10:00:44","name":"libcamera: controls: Define draft controls","version":1,"mbox":"https://patchwork.libcamera.org/series/1209/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/9270/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/9270/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 8EC65BD87D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat,  8 Aug 2020 09:57:15 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 56A4960F22;\n\tSat,  8 Aug 2020 11:57:15 +0200 (CEST)","from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net\n\t[217.70.183.199])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 75C0860E4D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat,  8 Aug 2020 11:57:14 +0200 (CEST)","from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay9-d.mail.gandi.net (Postfix) with ESMTPSA id E84C2FF804;\n\tSat,  8 Aug 2020 09:57:13 +0000 (UTC)"],"X-Originating-IP":"2.224.242.101","From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Sat,  8 Aug 2020 12:00:45 +0200","Message-Id":"<20200808100046.5347-2-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.27.0","In-Reply-To":"<20200808100046.5347-1-jacopo@jmondi.org>","References":"<20200808100046.5347-1-jacopo@jmondi.org>","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 1/2] libcamera: controls: Define AwbLocked\n\tcontrol","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>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Define a control to report the AWB algorithm locking state.\nThe control definition is copied from the AeLocked one.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/control_ids.yaml | 11 +++++++++++\n 1 file changed, 11 insertions(+)","diff":"diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 3560d4a81882..4c415545dcae 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -208,6 +208,17 @@ controls:\n           value: 7\n           description: Maximum allowed value (place any new values above here).\n \n+  - AwbLocked:\n+      type: bool\n+      description: |\n+        Report the lock status of a running AWB algorithm.\n+\n+        If the AWB algorithm is locked the value shall be set to true, if it's\n+        converging it shall be set to false. If the AWB algorithm is not\n+        running the control shall not be present in the metadata control list.\n+\n+        \\sa AwbEnable\n+\n   - ColourGains:\n       type: float\n       description: |\n","prefixes":["libcamera-devel","1/2"]}