| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | .. Permission is granted to copy, distribute and/or modify this |
| 2 | .. document under the terms of the GNU Free Documentation License, |
| 3 | .. Version 1.1 or any later version published by the Free Software |
| 4 | .. Foundation, with no Invariant Sections, no Front-Cover Texts |
| 5 | .. and no Back-Cover Texts. A copy of the license is included at |
| 6 | .. Documentation/media/uapi/fdl-appendix.rst. |
| 7 | .. |
| 8 | .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections |
| 9 | |
| 10 | .. _v4l2-selections-common: |
| 11 | |
| 12 | Common selection definitions |
| 13 | ============================ |
| 14 | |
| 15 | While the :ref:`V4L2 selection API <selection-api>` and |
| 16 | :ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very |
| 17 | similar, there's one fundamental difference between the two. On |
| 18 | sub-device API, the selection rectangle refers to the media bus format, |
| 19 | and is bound to a sub-device's pad. On the V4L2 interface the selection |
| 20 | rectangles refer to the in-memory pixel format. |
| 21 | |
| 22 | This section defines the common definitions of the selection interfaces |
| 23 | on the two APIs. |
| 24 | |
| 25 | |
| 26 | .. toctree:: |
| 27 | :maxdepth: 1 |
| 28 | |
| 29 | v4l2-selection-targets |
| 30 | v4l2-selection-flags |