diff mbox series

[3/4] media: docs: USe SUBDEV_G_SELECTION for sensor properties

Message ID 20200805105721.15445-4-jacopo@jmondi.org (mailing list archive)
State New, archived
Headers show
Series [1/4] media: docs: Describe pixel array properties | expand

Commit Message

Jacopo Mondi Aug. 5, 2020, 10:57 a.m. UTC
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 <jacopo@jmondi.org>
---
 .../userspace-api/media/v4l/vidioc-subdev-g-selection.rst     | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Hans Verkuil Aug. 6, 2020, 8:45 a.m. UTC | #1
On 05/08/2020 12:57, Jacopo Mondi wrote:
> 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

an -> the

> properties.
> 
> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
> ---
>  .../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 <VIDIOC_SUBDEV_G_CROP>`. All the
>  function of the crop API, and more, are supported by the selections API.
>
diff mbox series

Patch

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 <VIDIOC_SUBDEV_G_CROP>`. All the
 function of the crop API, and more, are supported by the selections API.