From patchwork Tue Oct 20 18:05:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10133 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 18D3EBDB1F for ; Tue, 20 Oct 2020 16:05:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A415061D8B; Tue, 20 Oct 2020 18:05:13 +0200 (CEST) Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2802361D83 for ; Tue, 20 Oct 2020 18:05:12 +0200 (CEST) Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 97EF8240012; Tue, 20 Oct 2020 16:05:10 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Tue, 20 Oct 2020 20:05:21 +0200 Message-Id: <20201020180534.36855-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 00/13] libcamera: 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" Hello, compared to v1 this series does not define properties to report a control's supported values but instead augments ControlInfo to report a list of supported values, as suggested by Laurent during review of v1. The patches for the ControlInfo class should be considered RFC. Tested on IPU3 by inspecting static metadata with OpenCamera, not yet run through CTS or cros_camera_test. Thanks j Jacopo Mondi (12): libcamera: control_ids: Define draft controls libcamera: controls: Add supported values to ControlInfo libcamera: controls: Construct from values list libcamera: controls: Generate a vector of enumerated values ipa: raspberry: Initialize ControlInfo with values list libcamera: control_ids: Remove max values in enumerations libcamera: ipu3: Register camera controls libcamera: ipu3: Report pipeline depth android: camera_device: Report 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): libcamera: Support draft controls and properties include/libcamera/control_ids.h.in | 6 + include/libcamera/controls.h | 6 +- include/libcamera/ipa/raspberrypi.h | 8 +- include/libcamera/property_ids.h.in | 6 + src/android/camera_device.cpp | 65 +++++-- src/libcamera/control_ids.cpp.in | 17 ++ src/libcamera/control_ids.yaml | 269 +++++++++++++++++++++++++-- src/libcamera/controls.cpp | 39 +++- src/libcamera/pipeline/ipu3/ipu3.cpp | 9 + src/libcamera/property_ids.cpp.in | 15 ++ utils/gen-controls.py | 49 ++++- 11 files changed, 447 insertions(+), 42 deletions(-) --- 2.28.0