2020-08-26 07:03:09 +00:00
|
|
|
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
|
2018-08-30 14:15:26 +00:00
|
|
|
|
2016-06-30 13:18:56 +00:00
|
|
|
.. _v4l2-selections-common:
|
|
|
|
|
|
|
|
Common selection definitions
|
|
|
|
============================
|
|
|
|
|
|
|
|
While the :ref:`V4L2 selection API <selection-api>` and
|
|
|
|
:ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very
|
|
|
|
similar, there's one fundamental difference between the two. On
|
|
|
|
sub-device API, the selection rectangle refers to the media bus format,
|
|
|
|
and is bound to a sub-device's pad. On the V4L2 interface the selection
|
|
|
|
rectangles refer to the in-memory pixel format.
|
|
|
|
|
|
|
|
This section defines the common definitions of the selection interfaces
|
|
|
|
on the two APIs.
|
|
|
|
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
v4l2-selection-targets
|
|
|
|
v4l2-selection-flags
|