[{"id":11908,"web_url":"https://patchwork.libcamera.org/comment/11908/","msgid":"<b2f528d6-b83e-2ed8-40cb-9fa27d677bf1@xs4all.nl>","date":"2020-08-06T08:45:57","subject":"Re: [libcamera-devel] [PATCH 3/4] media: docs: USe\n\tSUBDEV_G_SELECTION for sensor properties","submitter":{"id":64,"url":"https://patchwork.libcamera.org/api/people/64/","name":"Hans Verkuil","email":"hverkuil@xs4all.nl"},"content":"On 05/08/2020 12:57, Jacopo Mondi wrote:\n> Add a small note to the VIDIOC_SUBDEV_G_SELECTION IOCTL documentation\n> to report that the API can be used to access an image sensor pixel array\n\nan -> the\n\n> properties.\n> \n> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>\n> ---\n>  .../userspace-api/media/v4l/vidioc-subdev-g-selection.rst     | 4 ++++\n>  1 file changed, 4 insertions(+)\n> \n> diff --git a/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst b/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst\n> index 06c9553ac48f5..05539f5deace2 100644\n> --- a/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst\n> +++ b/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst\n> @@ -46,6 +46,10 @@ The selections are used to configure various image processing\n>  functionality performed by the subdevs which affect the image size. This\n>  currently includes cropping, scaling and composition.\n>  \n> +This API can also be used to retrieve immutable properties of the device\n> +represented by the subdev, such as the pixel matrix properties of an image\n> +sensor.\n> +\n>  The selection API replaces\n>  :ref:`the old subdev crop API <VIDIOC_SUBDEV_G_CROP>`. All the\n>  function of the crop API, and more, are supported by the selections API.\n>","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 84C5DBD86F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  6 Aug 2020 08:46:00 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 51F546071B;\n\tThu,  6 Aug 2020 10:46:00 +0200 (CEST)","from lb3-smtp-cloud9.xs4all.net (lb3-smtp-cloud9.xs4all.net\n\t[194.109.24.30])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9D04C60390\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  6 Aug 2020 10:45:58 +0200 (CEST)","from cust-b5b5937f ([IPv6:fc0c:c16d:66b8:757f:c639:739b:9d66:799d])\n\tby smtp-cloud9.xs4all.net with ESMTPA\n\tid 3bXBk7SenuuXO3bXCknWKQ; Thu, 06 Aug 2020 10:45:58 +0200"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=xs4all.nl header.i=@xs4all.nl\n\theader.b=\"vAzjBOZg\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1;\n\tt=1596703558; bh=NEeQ+N4YiFuwV4PKVUfGdW0UoeZMiT4orXCYUBnDfNM=;\n\th=Subject:To:From:Message-ID:Date:MIME-Version:Content-Type:From:\n\tSubject;\n\tb=vAzjBOZgnSj+u2vJdvE0tDmp0kGo924Hu7gyuey+r31ifY8XqPdbGvWAklfXJYkBO\n\tD65aA/2bsccXE6kZRC//1uLiYqQueHtCv32s6HViNEndK7yy0/xcgv1+JRS+5JVqPc\n\tQ6ScCvCxkRBoX4bhJLT5fS9aa5B76032a2j2Heg353FO6J0Ekd/5OuzYls71301Bjb\n\tYj9S4hcap1ytAAeqTbl/T1TUYz4Sm5P8H/YweFvVLnWbY/U1XLmD5JUwF9ZKZq8f91\n\tU53otuJBUHxgJL2OCc+PzkQ6vAKge/Aw5F95GF1wWlaSQjFwoBkux4ioCTU6A5bj7l\n\tUsWWug++z1F5g==","To":"Jacopo Mondi <jacopo@jmondi.org>,\n\tSakari Ailus <sakari.ailus@linux.intel.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>","References":"<20200805105721.15445-1-jacopo@jmondi.org>\n\t<20200805105721.15445-4-jacopo@jmondi.org>","From":"Hans Verkuil <hverkuil@xs4all.nl>","Message-ID":"<b2f528d6-b83e-2ed8-40cb-9fa27d677bf1@xs4all.nl>","Date":"Thu, 6 Aug 2020 10:45:57 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101\n\tThunderbird/68.10.0","MIME-Version":"1.0","In-Reply-To":"<20200805105721.15445-4-jacopo@jmondi.org>","Content-Language":"en-US","X-CMAE-Envelope":"MS4wfPojsb4yxFGtcOTwTm6MTWgVMuKXdA5A6h89oAT9C8rwItPv8nUqioneArKjR1kfiJWZ+o3ZSkJzfFDspQr56GmW1vgC55BQCgZmX4sAxwTPFUYhZxij\n\tJnEALvXzdGwRS8mbG//L5D/ABn5p+v8dPUXMa7W1zpL1xKwwZhzFJ59gI2NVgiCx8Wl2d4W7OJP/dWItAAMIKkCC+tqzdP37psiH4bYyvFhxbw4nHq5ffPCh\n\tMGgvosg7BO/dMEPoYXDaLDhuLrvOrhlVqDAQvzbDgVqrS1a+J4228/wBQflfzz6WLfB7bpbgMygZl5lDWqN7eSgqHvHAZRdw5rqQ5P1/EJV74FPRp9V5RUrW\n\te0CF1P9pOE0mgd9oVjWw8XSgQJ8b4QvLzxy0TfpHefNhuAhepnpwONz0yFksK3TkYXsXIvDb7LuPxACRRaLcuzDMVEXXUP9TjqMhLZs1UN0qjCjeCVwsgytD\n\taTSYWdl2c786zEehymZp9Xqr/ETXKGu0CkgIbkQOQupJQtdyqNrvzImsM38=","Subject":"Re: [libcamera-devel] [PATCH 3/4] media: docs: USe\n\tSUBDEV_G_SELECTION for sensor properties","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>","Cc":"Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>,\n\tlibcamera-devel@lists.libcamera.org,\n\tSowjanya Komatineni <skomatineni@nvidia.com>,\n\tLinux Media Mailing List <linux-media@vger.kernel.org>","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>"}}]