• Home
  • Raw
  • Download

Lines Matching +full:frame +full:- +full:number

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.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
19 VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes
33 File descriptor returned by :ref:`open() <func-open>`.
42 This ioctl allows applications to enumerate all frame sizes supported by
43 a sub-device on the given pad for the given media bus format. Supported
48 To enumerate frame sizes applications initialize the ``pad``, ``which``
52 structure. Drivers fill the minimum and maximum frame sizes or return an
55 Sub-devices that only support discrete frame sizes (such as most
56 sensors) will return one or more frame sizes with identical minimum and
60 supported. For instance, a scaler that uses a fixed-point scaling ratio
61 might not be able to produce every frame size between the minimum and
64 sub-device for an exact supported frame size.
66 Available frame sizes may depend on the current 'try' formats at other
67 pads of the sub-device, as well as on the current active links and the
77 .. flat-table:: struct v4l2_subdev_frame_size_enum
78 :header-rows: 0
79 :stub-columns: 0
82 * - __u32
83 - ``index``
84 - Number of the format in the enumeration, set by the application.
85 * - __u32
86 - ``pad``
87 - Pad number as reported by the media controller API.
88 * - __u32
89 - ``code``
90 - The media bus format code, as defined in
91 :ref:`v4l2-mbus-format`.
92 * - __u32
93 - ``min_width``
94 - Minimum frame width, in pixels.
95 * - __u32
96 - ``max_width``
97 - Maximum frame width, in pixels.
98 * - __u32
99 - ``min_height``
100 - Minimum frame height, in pixels.
101 * - __u32
102 - ``max_height``
103 - Maximum frame height, in pixels.
104 * - __u32
105 - ``which``
106 - Frame sizes to be enumerated, from enum
107 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
108 * - __u32
109 - ``reserved``\ [8]
110 - Reserved for future extensions. Applications and drivers must set
117 On success 0 is returned, on error -1 and the ``errno`` variable is set
119 :ref:`Generic Error Codes <gen-errors>` chapter.
124 ``pad`` references a non-existing pad, the ``code`` is invalid for