v4l2-selection-flags.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
  2. .. c:namespace:: V4L
  3. .. _v4l2-selection-flags:
  4. ***************
  5. Selection flags
  6. ***************
  7. .. _v4l2-selection-flags-table:
  8. .. raw:: latex
  9. \small
  10. .. tabularcolumns:: |p{5.6cm}|p{2.0cm}|p{6.5cm}|p{1.2cm}|p{1.2cm}|
  11. .. cssclass:: longtable
  12. .. flat-table:: Selection flag definitions
  13. :header-rows: 1
  14. :stub-columns: 0
  15. * - Flag name
  16. - id
  17. - Definition
  18. - Valid for V4L2
  19. - Valid for V4L2 subdev
  20. * - ``V4L2_SEL_FLAG_GE``
  21. - (1 << 0)
  22. - Suggest the driver it should choose greater or equal rectangle (in
  23. size) than was requested. Albeit the driver may choose a lesser
  24. size, it will only do so due to hardware limitations. Without this
  25. flag (and ``V4L2_SEL_FLAG_LE``) the behaviour is to choose the
  26. closest possible rectangle.
  27. - Yes
  28. - Yes
  29. * - ``V4L2_SEL_FLAG_LE``
  30. - (1 << 1)
  31. - Suggest the driver it should choose lesser or equal rectangle (in
  32. size) than was requested. Albeit the driver may choose a greater
  33. size, it will only do so due to hardware limitations.
  34. - Yes
  35. - Yes
  36. * - ``V4L2_SEL_FLAG_KEEP_CONFIG``
  37. - (1 << 2)
  38. - The configuration must not be propagated to any further processing
  39. steps. If this flag is not given, the configuration is propagated
  40. inside the subdevice to all further processing steps.
  41. - No
  42. - Yes
  43. .. raw:: latex
  44. \normalsize