selections-common.rst 725 B

123456789101112131415161718192021222324
  1. .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2. .. c:namespace:: V4L
  3. .. _v4l2-selections-common:
  4. Common selection definitions
  5. ============================
  6. While the :ref:`V4L2 selection API <selection-api>` and
  7. :ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very
  8. similar, there's one fundamental difference between the two. On
  9. sub-device API, the selection rectangle refers to the media bus format,
  10. and is bound to a sub-device's pad. On the V4L2 interface the selection
  11. rectangles refer to the in-memory pixel format.
  12. This section defines the common definitions of the selection interfaces
  13. on the two APIs.
  14. .. toctree::
  15. :maxdepth: 1
  16. v4l2-selection-targets
  17. v4l2-selection-flags