From patchwork Fri Oct 9 12:20:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10027 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id A9625BEEE0 for ; Fri, 9 Oct 2020 12:17:08 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 59E7460725; Fri, 9 Oct 2020 14:17:08 +0200 (CEST) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A408760358 for ; Fri, 9 Oct 2020 14:17:07 +0200 (CEST) X-Originating-IP: 93.34.118.233 Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 34471C0006; Fri, 9 Oct 2020 12:17:06 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Fri, 9 Oct 2020 14:20:51 +0200 Message-Id: <20201009122101.73858-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 00/10] android: Introduce draft controls X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Compared to the RFC this series includes [1/10] from Kieran which allows defining draft controls in the ::draft:: namespace. [2/10] can be pushed right now, just collected here for reference. Properties and controls definition adjusted with comments from Kieran and Niklas. Integration in the IPU3 pipeline handler reworked to remove CameraData::properties_ initialization and fixed metadata settings. 4 new patches on top that wire the new properties handling in the Android Camera HAL. The properties value for the pipeline max depth and the available noise reduction modes verified using OpenCamera. Compared to the RFC I've dropped all tags, as the series changed quite significantly. Thanks j Jacopo Mondi (9): libcamera: controls: Define AwbLocked control libcamera: property_ids: Define draft properties libcamera: control_ids: Define draft controls libcamera: ipu3: Register pipeline properties libcamera: ipu3: Report pipeline depth android: camera_device: Handle PIPELINE_MAX_DEPTH android: camera_device: Handle NOISE_REDUCTION_MODES android: camera_device: Handle COLOR_CORRECTION_ABERRATION_MODE android: camera_device: Handle LENS_SHADING_MAP_MODES Kieran Bingham (1): properties: Support draft controls and properties include/libcamera/control_ids.h.in | 6 + include/libcamera/property_ids.h.in | 6 + src/android/camera_device.cpp | 77 ++++++-- src/android/camera_device.h | 3 +- src/libcamera/control_ids.cpp.in | 13 ++ src/libcamera/control_ids.yaml | 277 +++++++++++++++++++++++++++ src/libcamera/pipeline/ipu3/ipu3.cpp | 11 ++ src/libcamera/property_ids.cpp.in | 13 ++ src/libcamera/property_ids.yaml | 74 +++++++ utils/gen-controls.py | 36 +++- 10 files changed, 490 insertions(+), 26 deletions(-) --- 2.28.0