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