From patchwork Fri Jan 15 17:00:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10863 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 8D5F2C3383 for ; Fri, 15 Jan 2021 17:00:19 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D341E680EF; Fri, 15 Jan 2021 18:00:18 +0100 (CET) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 49D3B680D1 for ; Fri, 15 Jan 2021 18:00:18 +0100 (CET) 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 relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 03E03240004 for ; Fri, 15 Jan 2021 17:00:17 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Fri, 15 Jan 2021 18:00:23 +0100 Message-Id: <20210115170033.27124-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v7 00/10] libcamera: camera_sensor: Make validation more strict 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" All patches reviewed now! I would push this one rather soon, as I expect some platforms to be impacted by the newly enforced requirements, so better catch them early. Thanks j Jacopo Mondi (10): libcamera: Document sensor driver requirements libcamera: camera_sensor: Validate driver support libcamera: camera_sensor: Provide fall-back for sensor properties libcamera: camera_sensor: Default analogue crop rectangle libcamera: camera_sensor: Default 'location' to External libcamera: camera_sensor: Do not default 'rotation' libcamera: uvc: Initialize the pixel array properties libcamera: media_object: Add a const version of dev() libcamera: camera_sensor: Initialize VIMC properties android: camera_device: Do not default pixel array properties Documentation/index.rst | 1 + Documentation/meson.build | 1 + Documentation/sensor_driver_requirements.rst | 64 +++++++ include/libcamera/internal/camera_sensor.h | 5 + include/libcamera/internal/media_object.h | 1 + src/android/camera_device.cpp | 20 +- src/libcamera/camera_sensor.cpp | 191 ++++++++++++++----- src/libcamera/media_object.cpp | 5 + src/libcamera/pipeline/uvcvideo/uvcvideo.cpp | 16 ++ 9 files changed, 238 insertions(+), 66 deletions(-) create mode 100644 Documentation/sensor_driver_requirements.rst --- 2.29.2