Lines Matching +full:ref +full:- +full:pad

1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL - Enumerate frame intervals
35 given sub-device pad. Frame intervals only makes sense for sub-devices
40 on the sub-device output pad depend on the frame format and size on the
41 same pad. Applications must thus specify the desired format and size
45 ``pad``, ``which``, ``code``, ``width`` and ``height`` fields of struct
47 and call the :ref:`VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL` ioctl with a pointer
54 other pads of the sub-device, as well as on the current active links.
55 See :ref:`VIDIOC_SUBDEV_G_FMT` for more
58 Sub-devices that support the frame interval enumeration ioctl should
59 implemented it on a single pad only. Its behaviour when supported on
60 multiple pads of the same sub-device is not defined.
66 .. flat-table:: struct v4l2_subdev_frame_interval_enum
67 :header-rows: 0
68 :stub-columns: 0
71 * - __u32
72 - ``index``
73 - Number of the format in the enumeration, set by the application.
74 * - __u32
75 - ``pad``
76 - Pad number as reported by the media controller API.
77 * - __u32
78 - ``code``
79 - The media bus format code, as defined in
80 :ref:`v4l2-mbus-format`.
81 * - __u32
82 - ``width``
83 - Frame width, in pixels.
84 * - __u32
85 - ``height``
86 - Frame height, in pixels.
87 * - struct :c:type:`v4l2_fract`
88 - ``interval``
89 - Period, in seconds, between consecutive video frames.
90 * - __u32
91 - ``which``
92 - Frame intervals to be enumerated, from enum
93 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
94 * - __u32
95 - ``stream``
96 - Stream identifier.
97 * - __u32
98 - ``reserved``\ [7]
99 - Reserved for future extensions. Applications and drivers must set
105 On success 0 is returned, on error -1 and the ``errno`` variable is set
107 :ref:`Generic Error Codes <gen-errors>` chapter.
110 The struct :c:type:`v4l2_subdev_frame_interval_enum` ``pad`` references a
111 non-existing pad, the ``which`` field has an unsupported value, one of the
112 ``code``, ``width`` or ``height`` fields are invalid for the given pad, or