{"id":10017,"url":"https://patchwork.libcamera.org/api/1.1/covers/10017/?format=json","web_url":"https://patchwork.libcamera.org/cover/10017/","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":"<20201007185719.3208272-1-kieran.bingham@ideasonboard.com>","date":"2020-10-07T18:57:17","name":"[libcamera-devel,0/2] draft controls and properties support","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/1.1/people/4/?format=json","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/10017/mbox/","series":[{"id":1365,"url":"https://patchwork.libcamera.org/api/1.1/series/1365/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1365","date":"2020-10-07T18:57:17","name":"draft controls and properties support","version":1,"mbox":"https://patchwork.libcamera.org/series/1365/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/10017/comments/","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 8DF51BEEDF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  7 Oct 2020 18:57:27 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 232A360730;\n\tWed,  7 Oct 2020 20:57:27 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8F0A6605A8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  7 Oct 2020 20:57:25 +0200 (CEST)","from Q.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net\n\t[86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 071FF9DA;\n\tWed,  7 Oct 2020 20:57:24 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"L7xBsebc\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1602097045;\n\tbh=96tmDI3HB8+qQHfxn9x1eJgbqJOJKy2hz59ojay7jcU=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=L7xBsebce7td80RFOXd3U30X6Ls2cDBkwihM543MBHkfY/SBm9LJFVJ7HzxCBrncq\n\tvvxrITp9tqRRRY7ciK1L8g84E0fdQAZtlaYnVIn//zcvB69o/Ns9Z4ueM3Xn7/CTYp\n\tTz52LGVPqkulnsVYbiuCt/fNahGcHrX4h+7ZZysE=","From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","To":"libcamera devel <libcamera-devel@lists.libcamera.org>","Date":"Wed,  7 Oct 2020 19:57:17 +0100","Message-Id":"<20201007185719.3208272-1-kieran.bingham@ideasonboard.com>","X-Mailer":"git-send-email 2.25.1","In-Reply-To":"<20200911162039.61933-1-jacopo@jmondi.org>","References":"<20200911162039.61933-1-jacopo@jmondi.org>","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 0/2] draft controls and properties support","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":"This provides support to allow namespaced draft controls and properties.\n\nI feared this may be a contentious topic, but I think it helps clarify\nthe state of the 'draft' controls/properties.\n\nAlso by having a dedicated flag/key - it means we can (more) easily do\nthings like potentially highlight the items in doxygen or flag them in a\ncertain way - or even simply be able to generate a report of 'these are\nthe controls which are available - but not confirmed yet'.\n\nFirst patch adds the support, second patch demonstrates it by converting\nthe rotation property into a draft property ;-) (Not for merge of course\nhehe).\n\nKieran Bingham (2):\n  properties: Support draft controls and properties\n  DNI: How to use a draft control\n\n include/libcamera/control_ids.h.in            |  6 ++++\n include/libcamera/property_ids.h.in           |  6 ++++\n src/libcamera/camera_sensor.cpp               |  2 +-\n .../pipeline/raspberrypi/raspberrypi.cpp      |  2 +-\n src/libcamera/property_ids.cpp.in             | 13 +++++++\n src/libcamera/property_ids.yaml               |  1 +\n utils/gen-controls.py                         | 36 ++++++++++++++-----\n 7 files changed, 56 insertions(+), 10 deletions(-)"}