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_INTERVAL - Enumerate frame intervals
33 File descriptor returned by :ref:`open() <func-open>`.
42 This ioctl lets applications enumerate available frame intervals on a
43 given sub-device pad. Frame intervals only makes sense for sub-devices
44 that can control the frame period on their own. This includes, for
47 For the common use case of image sensors, the frame intervals available
48 on the sub-device output pad depend on the frame format and size on the
50 when enumerating frame intervals.
52 To enumerate frame intervals applications initialize the ``index``,
57 EINVAL error code if one of the input fields is invalid. All frame
61 Available frame intervals may depend on the current 'try' formats at
62 other pads of the sub-device, as well as on the current active links.
66 Sub-devices that support the frame interval enumeration ioctl should
68 multiple pads of the same sub-device is not defined.
74 .. flat-table:: struct v4l2_subdev_frame_interval_enum
75 :header-rows: 0
76 :stub-columns: 0
79 * - __u32
80 - ``index``
81 - Number of the format in the enumeration, set by the application.
82 * - __u32
83 - ``pad``
84 - Pad number as reported by the media controller API.
85 * - __u32
86 - ``code``
87 - The media bus format code, as defined in
88 :ref:`v4l2-mbus-format`.
89 * - __u32
90 - ``width``
91 - Frame width, in pixels.
92 * - __u32
93 - ``height``
94 - Frame height, in pixels.
95 * - struct :c:type:`v4l2_fract`
96 - ``interval``
97 - Period, in seconds, between consecutive video frames.
98 * - __u32
99 - ``which``
100 - Frame intervals to be enumerated, from enum
101 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
102 * - __u32
103 - ``reserved``\ [8]
104 - Reserved for future extensions. Applications and drivers must set
111 On success 0 is returned, on error -1 and the ``errno`` variable is set
113 :ref:`Generic Error Codes <gen-errors>` chapter.
118 ``pad`` references a non-existing pad, one of the ``code``,