[libcamera-devel] [PATCH 3/4] media: docs: USe SUBDEV_G_SELECTION for sensor properties
Jacopo Mondi
jacopo at jmondi.org
Wed Aug 5 12:57:20 CEST 2020
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 at 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.
--
2.27.0
More information about the libcamera-devel
mailing list