Patch Detail
Show a patch.
GET /api/patches/9219/?format=api
{ "id": 9219, "url": "https://patchwork.libcamera.org/api/patches/9219/?format=api", "web_url": "https://patchwork.libcamera.org/patch/9219/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20200805105721.15445-4-jacopo@jmondi.org>", "date": "2020-08-05T10:57:20", "name": "[libcamera-devel,3/4] media: docs: USe SUBDEV_G_SELECTION for sensor properties", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "a5458d5d4285a5ac1ec507c4dde2fe555a3fdfe4", "submitter": { "id": 3, "url": "https://patchwork.libcamera.org/api/people/3/?format=api", "name": "Jacopo Mondi", "email": "jacopo@jmondi.org" }, "delegate": { "id": 15, "url": "https://patchwork.libcamera.org/api/users/15/?format=api", "username": "jmondi", "first_name": "Jacopo", "last_name": "Mondi", "email": "jacopo@jmondi.org" }, "mbox": "https://patchwork.libcamera.org/patch/9219/mbox/", "series": [ { "id": 1193, "url": "https://patchwork.libcamera.org/api/series/1193/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1193", "date": "2020-08-05T10:57:18", "name": "[libcamera-devel,1/4] media: docs: Describe pixel array properties", "version": 1, "mbox": "https://patchwork.libcamera.org/series/1193/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/9219/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/9219/checks/", "tags": {}, "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 0FB31BD87A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 5 Aug 2020 10:53:58 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E167560564;\n\tWed, 5 Aug 2020 12:53:57 +0200 (CEST)", "from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net\n\t[217.70.183.198])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B00F76039D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 5 Aug 2020 12:53:55 +0200 (CEST)", "from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 4BC14C000E;\n\tWed, 5 Aug 2020 10:53:54 +0000 (UTC)" ], "X-Originating-IP": "93.34.118.233", "From": "Jacopo Mondi <jacopo@jmondi.org>", "To": "Hans Verkuil <hverkuil@xs4all.nl>,\n\tSakari Ailus <sakari.ailus@linux.intel.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>", "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\n\tfor 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>" }, "content": "Add a small note to the VIDIOC_SUBDEV_G_SELECTION IOCTL documentation\nto report that the API can be used to access an image sensor pixel array\nproperties.\n\nSigned-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(+)", "diff": "diff --git a/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst b/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst\nindex 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", "prefixes": [ "libcamera-devel", "3/4" ] }