summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2021-12-21 13:20:53 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-01-22 11:38:20 +0300
commit2f91e10ee6fd4c0c4abba4d36c013a93560cf514 (patch)
tree6899297490dc5476597b5d236e57e0c50b602603 /Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst
parent70283e99a90b105173a05e8a8ebc78322b1127b5 (diff)
downloadlinux-2f91e10ee6fd4c0c4abba4d36c013a93560cf514.tar.xz
media: subdev: add stream based configuration
Add support to manage configurations (format, crop, compose) per stream, instead of per pad. This is accomplished with data structures that hold an array of all subdev's stream configurations. The number of streams can vary at runtime based on routing. Every time the routing is changed, the stream configurations need to be re-initialized. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst')
-rw-r--r--Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst5
1 files changed, 4 insertions, 1 deletions
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 f9172a42f036..6b629c19168c 100644
--- a/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst
+++ b/Documentation/userspace-api/media/v4l/vidioc-subdev-g-selection.rst
@@ -94,7 +94,10 @@ Selection targets and flags are documented in
- ``r``
- Selection rectangle, in pixels.
* - __u32
- - ``reserved``\ [8]
+ - ``stream``
+ - Stream identifier.
+ * - __u32
+ - ``reserved``\ [7]
- Reserved for future extensions. Applications and drivers must set
the array to zero.