From patchwork Wed Aug 5 10:57:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 9219 X-Patchwork-Delegate: jacopo@jmondi.org 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 0FB31BD87A for ; Wed, 5 Aug 2020 10:53:58 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E167560564; Wed, 5 Aug 2020 12:53:57 +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 B00F76039D for ; Wed, 5 Aug 2020 12:53:55 +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 4BC14C000E; Wed, 5 Aug 2020 10:53:54 +0000 (UTC) From: Jacopo Mondi To: Hans Verkuil , Sakari Ailus , Laurent Pinchart Date: Wed, 5 Aug 2020 12:57:20 +0200 Message-Id: <20200805105721.15445-4-jacopo@jmondi.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200805105721.15445-1-jacopo@jmondi.org> References: <20200805105721.15445-1-jacopo@jmondi.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 3/4] media: docs: USe SUBDEV_G_SELECTION for sensor properties 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: , Cc: Ricardo Ribalda Delgado , libcamera-devel@lists.libcamera.org, Sowjanya Komatineni , Linux Media Mailing List Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add a small note to the VIDIOC_SUBDEV_G_SELECTION IOCTL documentation to report that the API can be used to access an image sensor pixel array properties. Signed-off-by: Jacopo Mondi --- .../userspace-api/media/v4l/vidioc-subdev-g-selection.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst b/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst index 06c9553ac48f5..05539f5deace2 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst @@ -46,6 +46,10 @@ The selections are used to configure various image processing functionality performed by the subdevs which affect the image size. This currently includes cropping, scaling and composition. +This API can also be used to retrieve immutable properties of the device +represented by the subdev, such as the pixel matrix properties of an image +sensor. + The selection API replaces :ref:`the old subdev crop API `. All the function of the crop API, and more, are supported by the selections API.