18c2ecf20Sopenharmony_ci.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci.. _v4l2-selections-common: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciCommon selection definitions 68c2ecf20Sopenharmony_ci============================ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciWhile the :ref:`V4L2 selection API <selection-api>` and 98c2ecf20Sopenharmony_ci:ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very 108c2ecf20Sopenharmony_cisimilar, there's one fundamental difference between the two. On 118c2ecf20Sopenharmony_cisub-device API, the selection rectangle refers to the media bus format, 128c2ecf20Sopenharmony_ciand is bound to a sub-device's pad. On the V4L2 interface the selection 138c2ecf20Sopenharmony_cirectangles refer to the in-memory pixel format. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciThis section defines the common definitions of the selection interfaces 168c2ecf20Sopenharmony_cion the two APIs. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci.. toctree:: 208c2ecf20Sopenharmony_ci :maxdepth: 1 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci v4l2-selection-targets 238c2ecf20Sopenharmony_ci v4l2-selection-flags 24