selections-common.rst 680 B

1234567891011121314151617181920212223
  1. .. -*- coding: utf-8; mode: rst -*-
  2. .. _v4l2-selections-common:
  3. Common selection definitions
  4. ============================
  5. While the :ref:`V4L2 selection API <selection-api>` and
  6. :ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very
  7. similar, there's one fundamental difference between the two. On
  8. sub-device API, the selection rectangle refers to the media bus format,
  9. and is bound to a sub-device's pad. On the V4L2 interface the selection
  10. rectangles refer to the in-memory pixel format.
  11. This section defines the common definitions of the selection interfaces
  12. on the two APIs.
  13. .. toctree::
  14. :maxdepth: 1
  15. v4l2-selection-targets
  16. v4l2-selection-flags