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@xxxxxxxxxx> > --- > .../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. >