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

1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_G_ROUTING - VIDIOC_SUBDEV_S_ROUTING - Get or set routing between streams of media pad…
31 File descriptor returned by :ref:`open() <func-open>`.
84 .. flat-table:: struct v4l2_subdev_routing
85 :header-rows: 0
86 :stub-columns: 0
89 * - __u32
90 - ``which``
91 - Routing table to be accessed, from enum
92 :ref:`v4l2_subdev_format_whence <v4l2-subdev-format-whence>`.
93 * - __u32
94 - ``len_routes``
95 - The length of the array (as in memory reserved for the array)
96 * - struct :c:type:`v4l2_subdev_route`
97 - ``routes[]``
98 - Array of struct :c:type:`v4l2_subdev_route` entries
99 * - __u32
100 - ``num_routes``
101 - Number of entries of the routes array
102 * - __u32
103 - ``reserved``\ [11]
104 - Reserved for future extensions. Applications and drivers must set
111 .. flat-table:: struct v4l2_subdev_route
112 :header-rows: 0
113 :stub-columns: 0
116 * - __u32
117 - ``sink_pad``
118 - Sink pad number.
119 * - __u32
120 - ``sink_stream``
121 - Sink pad stream number.
122 * - __u32
123 - ``source_pad``
124 - Source pad number.
125 * - __u32
126 - ``source_stream``
127 - Source pad stream number.
128 * - __u32
129 - ``flags``
130 - Route enable/disable flags
131 :ref:`v4l2_subdev_routing_flags <v4l2-subdev-routing-flags>`.
132 * - __u32
133 - ``reserved``\ [5]
134 - Reserved for future extensions. Applications and drivers must set
139 .. _v4l2-subdev-routing-flags:
141 .. flat-table:: enum v4l2_subdev_routing_flags
142 :header-rows: 0
143 :stub-columns: 0
146 * - V4L2_SUBDEV_ROUTE_FL_ACTIVE
147 - 0x0001
148 - The route is enabled. Set by applications.
153 On success 0 is returned, on error -1 and the ``errno`` variable is set
155 :ref:`Generic Error Codes <gen-errors>` chapter.
158 The sink or source pad identifiers reference a non-existing pad or reference
160 pad), or the ``which`` field has an unsupported value.