xref: /linux/Documentation/userspace-api/media/v4l/selections-common.rst (revision 778b8ebe5192e7a7f00563a7456517dfa63e1d90)
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2.. c:namespace:: V4L
3
4.. _v4l2-selections-common:
5
6Common selection definitions
7============================
8
9While the :ref:`V4L2 selection API <selection-api>` and
10:ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very
11similar, there's one fundamental difference between the two. On
12sub-device API, the selection rectangle refers to the media bus format,
13and is bound to a sub-device's pad. On the V4L2 interface the selection
14rectangles refer to the in-memory pixel format.
15
16This section defines the common definitions of the selection interfaces
17on the two APIs.
18
19
20.. toctree::
21    :maxdepth: 1
22
23    v4l2-selection-targets
24    v4l2-selection-flags
25