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