162306a36Sopenharmony_ci.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci.. _v4l2-selections-common: 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciCommon selection definitions 662306a36Sopenharmony_ci============================ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciWhile the :ref:`V4L2 selection API <selection-api>` and 962306a36Sopenharmony_ci:ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very 1062306a36Sopenharmony_cisimilar, there's one fundamental difference between the two. On 1162306a36Sopenharmony_cisub-device API, the selection rectangle refers to the media bus format, 1262306a36Sopenharmony_ciand is bound to a sub-device's pad. On the V4L2 interface the selection 1362306a36Sopenharmony_cirectangles refer to the in-memory pixel format. 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciThis section defines the common definitions of the selection interfaces 1662306a36Sopenharmony_cion the two APIs. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci.. toctree:: 2062306a36Sopenharmony_ci :maxdepth: 1 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci v4l2-selection-targets 2362306a36Sopenharmony_ci v4l2-selection-flags 24