Debian Codegraph @

Documentation/userspace-api/media/v4l/selections-common.rst

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