.. | .. |
---|
3 | 3 | KernelVersion: 4.0 |
---|
4 | 4 | Description: UVC function directory |
---|
5 | 5 | |
---|
6 | | - streaming_maxburst - 0..15 (ss only) |
---|
7 | | - streaming_maxpacket - 1..1023 (fs), 1..3072 (hs/ss) |
---|
8 | | - streaming_interval - 1..16 |
---|
| 6 | + =================== ============================= |
---|
| 7 | + streaming_maxburst 0..15 (ss only) |
---|
| 8 | + streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss) |
---|
| 9 | + streaming_interval 1..16 |
---|
| 10 | + function_name string [32] |
---|
| 11 | + =================== ============================= |
---|
9 | 12 | |
---|
10 | 13 | What: /config/usb-gadget/gadget/functions/uvc.name/control |
---|
11 | 14 | Date: Dec 2014 |
---|
.. | .. |
---|
13 | 16 | Description: Control descriptors |
---|
14 | 17 | |
---|
15 | 18 | All attributes read only: |
---|
16 | | - bInterfaceNumber - USB interface number for this |
---|
17 | | - streaming interface |
---|
| 19 | + |
---|
| 20 | + ================ ============================= |
---|
| 21 | + bInterfaceNumber USB interface number for this |
---|
| 22 | + streaming interface |
---|
| 23 | + ================ ============================= |
---|
18 | 24 | |
---|
19 | 25 | What: /config/usb-gadget/gadget/functions/uvc.name/control/class |
---|
20 | 26 | Date: Dec 2014 |
---|
.. | .. |
---|
47 | 53 | Description: Default output terminal descriptors |
---|
48 | 54 | |
---|
49 | 55 | All attributes read only: |
---|
50 | | - iTerminal - index of string descriptor |
---|
51 | | - bSourceID - id of the terminal to which this terminal |
---|
| 56 | + |
---|
| 57 | + ============== ============================================= |
---|
| 58 | + iTerminal index of string descriptor |
---|
| 59 | + bSourceID id of the terminal to which this terminal |
---|
52 | 60 | is connected |
---|
53 | | - bAssocTerminal - id of the input terminal to which this output |
---|
| 61 | + bAssocTerminal id of the input terminal to which this output |
---|
54 | 62 | terminal is associated |
---|
55 | | - wTerminalType - terminal type |
---|
56 | | - bTerminalID - a non-zero id of this terminal |
---|
| 63 | + wTerminalType terminal type |
---|
| 64 | + bTerminalID a non-zero id of this terminal |
---|
| 65 | + ============== ============================================= |
---|
57 | 66 | |
---|
58 | 67 | What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera |
---|
59 | 68 | Date: Dec 2014 |
---|
.. | .. |
---|
66 | 75 | Description: Default camera terminal descriptors |
---|
67 | 76 | |
---|
68 | 77 | All attributes read only: |
---|
69 | | - bmControls - bitmap specifying which controls are |
---|
70 | | - supported for the video stream |
---|
71 | | - wOcularFocalLength - the value of Locular |
---|
72 | | - wObjectiveFocalLengthMax- the value of Lmin |
---|
73 | | - wObjectiveFocalLengthMin- the value of Lmax |
---|
74 | | - iTerminal - index of string descriptor |
---|
75 | | - bAssocTerminal - id of the output terminal to which |
---|
76 | | - this terminal is connected |
---|
77 | | - wTerminalType - terminal type |
---|
78 | | - bTerminalID - a non-zero id of this terminal |
---|
| 78 | + |
---|
| 79 | + ======================== ==================================== |
---|
| 80 | + bmControls bitmap specifying which controls are |
---|
| 81 | + supported for the video stream |
---|
| 82 | + wOcularFocalLength the value of Locular |
---|
| 83 | + wObjectiveFocalLengthMax the value of Lmin |
---|
| 84 | + wObjectiveFocalLengthMin the value of Lmax |
---|
| 85 | + iTerminal index of string descriptor |
---|
| 86 | + bAssocTerminal id of the output terminal to which |
---|
| 87 | + this terminal is connected |
---|
| 88 | + wTerminalType terminal type |
---|
| 89 | + bTerminalID a non-zero id of this terminal |
---|
| 90 | + ======================== ==================================== |
---|
79 | 91 | |
---|
80 | 92 | What: /config/usb-gadget/gadget/functions/uvc.name/control/processing |
---|
81 | 93 | Date: Dec 2014 |
---|
.. | .. |
---|
88 | 100 | Description: Default processing unit descriptors |
---|
89 | 101 | |
---|
90 | 102 | All attributes read only: |
---|
91 | | - iProcessing - index of string descriptor |
---|
92 | | - bmControls - bitmap specifying which controls are |
---|
| 103 | + |
---|
| 104 | + =============== ======================================== |
---|
| 105 | + iProcessing index of string descriptor |
---|
| 106 | + bmControls bitmap specifying which controls are |
---|
93 | 107 | supported for the video stream |
---|
94 | | - wMaxMultiplier - maximum digital magnification x100 |
---|
95 | | - bSourceID - id of the terminal to which this unit is |
---|
| 108 | + wMaxMultiplier maximum digital magnification x100 |
---|
| 109 | + bSourceID id of the terminal to which this unit is |
---|
96 | 110 | connected |
---|
97 | | - bUnitID - a non-zero id of this unit |
---|
| 111 | + bUnitID a non-zero id of this unit |
---|
| 112 | + =============== ======================================== |
---|
98 | 113 | |
---|
99 | 114 | What: /config/usb-gadget/gadget/functions/uvc.name/control/header |
---|
100 | 115 | Date: Dec 2014 |
---|
.. | .. |
---|
114 | 129 | Description: Streaming descriptors |
---|
115 | 130 | |
---|
116 | 131 | All attributes read only: |
---|
117 | | - bInterfaceNumber - USB interface number for this |
---|
118 | | - streaming interface |
---|
| 132 | + |
---|
| 133 | + ================ ============================= |
---|
| 134 | + bInterfaceNumber USB interface number for this |
---|
| 135 | + streaming interface |
---|
| 136 | + ================ ============================= |
---|
119 | 137 | |
---|
120 | 138 | What: /config/usb-gadget/gadget/functions/uvc.name/streaming/class |
---|
121 | 139 | Date: Dec 2014 |
---|
.. | .. |
---|
148 | 166 | Description: Default color matching descriptors |
---|
149 | 167 | |
---|
150 | 168 | All attributes read only: |
---|
151 | | - bMatrixCoefficients - matrix used to compute luma and |
---|
152 | | - chroma values from the color primaries |
---|
153 | | - bTransferCharacteristics- optoelectronic transfer |
---|
154 | | - characteristic of the source picutre, |
---|
155 | | - also called the gamma function |
---|
156 | | - bColorPrimaries - color primaries and the reference |
---|
157 | | - white |
---|
| 169 | + |
---|
| 170 | + ======================== ====================================== |
---|
| 171 | + bMatrixCoefficients matrix used to compute luma and |
---|
| 172 | + chroma values from the color primaries |
---|
| 173 | + bTransferCharacteristics optoelectronic transfer |
---|
| 174 | + characteristic of the source picutre, |
---|
| 175 | + also called the gamma function |
---|
| 176 | + bColorPrimaries color primaries and the reference |
---|
| 177 | + white |
---|
| 178 | + ======================== ====================================== |
---|
158 | 179 | |
---|
159 | 180 | What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg |
---|
160 | 181 | Date: Dec 2014 |
---|
.. | .. |
---|
168 | 189 | |
---|
169 | 190 | All attributes read only, |
---|
170 | 191 | except bmaControls and bDefaultFrameIndex: |
---|
171 | | - bFormatIndex - unique id for this format descriptor; |
---|
| 192 | + |
---|
| 193 | + =================== ===================================== |
---|
| 194 | + bFormatIndex unique id for this format descriptor; |
---|
172 | 195 | only defined after parent header is |
---|
173 | 196 | linked into the streaming class; |
---|
174 | 197 | read-only |
---|
175 | | - bmaControls - this format's data for bmaControls in |
---|
| 198 | + bmaControls this format's data for bmaControls in |
---|
176 | 199 | the streaming header |
---|
177 | | - bmInterfaceFlags - specifies interlace information, |
---|
| 200 | + bmInterfaceFlags specifies interlace information, |
---|
178 | 201 | read-only |
---|
179 | | - bAspectRatioY - the X dimension of the picture aspect |
---|
| 202 | + bAspectRatioY the X dimension of the picture aspect |
---|
180 | 203 | ratio, read-only |
---|
181 | | - bAspectRatioX - the Y dimension of the picture aspect |
---|
| 204 | + bAspectRatioX the Y dimension of the picture aspect |
---|
182 | 205 | ratio, read-only |
---|
183 | | - bmFlags - characteristics of this format, |
---|
| 206 | + bmFlags characteristics of this format, |
---|
184 | 207 | read-only |
---|
185 | | - bDefaultFrameIndex - optimum frame index for this stream |
---|
| 208 | + bDefaultFrameIndex optimum frame index for this stream |
---|
| 209 | + =================== ===================================== |
---|
186 | 210 | |
---|
187 | 211 | What: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name |
---|
188 | 212 | Date: Dec 2014 |
---|
189 | 213 | KernelVersion: 4.0 |
---|
190 | 214 | Description: Specific MJPEG frame descriptors |
---|
191 | 215 | |
---|
192 | | - bFrameIndex - unique id for this framedescriptor; |
---|
193 | | - only defined after parent format is |
---|
194 | | - linked into the streaming header; |
---|
195 | | - read-only |
---|
196 | | - dwFrameInterval - indicates how frame interval can be |
---|
197 | | - programmed; a number of values |
---|
198 | | - separated by newline can be specified |
---|
199 | | - dwDefaultFrameInterval - the frame interval the device would |
---|
200 | | - like to use as default |
---|
201 | | - dwMaxVideoFrameBufferSize- the maximum number of bytes the |
---|
202 | | - compressor will produce for a video |
---|
203 | | - frame or still image |
---|
204 | | - dwMaxBitRate - the maximum bit rate at the shortest |
---|
205 | | - frame interval in bps |
---|
206 | | - dwMinBitRate - the minimum bit rate at the longest |
---|
207 | | - frame interval in bps |
---|
208 | | - wHeight - height of decoded bitmap frame in px |
---|
209 | | - wWidth - width of decoded bitmam frame in px |
---|
210 | | - bmCapabilities - still image support, fixed frame-rate |
---|
211 | | - support |
---|
| 216 | + ========================= ===================================== |
---|
| 217 | + bFrameIndex unique id for this framedescriptor; |
---|
| 218 | + only defined after parent format is |
---|
| 219 | + linked into the streaming header; |
---|
| 220 | + read-only |
---|
| 221 | + dwFrameInterval indicates how frame interval can be |
---|
| 222 | + programmed; a number of values |
---|
| 223 | + separated by newline can be specified |
---|
| 224 | + dwDefaultFrameInterval the frame interval the device would |
---|
| 225 | + like to use as default |
---|
| 226 | + dwMaxVideoFrameBufferSize the maximum number of bytes the |
---|
| 227 | + compressor will produce for a video |
---|
| 228 | + frame or still image |
---|
| 229 | + dwMaxBitRate the maximum bit rate at the shortest |
---|
| 230 | + frame interval in bps |
---|
| 231 | + dwMinBitRate the minimum bit rate at the longest |
---|
| 232 | + frame interval in bps |
---|
| 233 | + wHeight height of decoded bitmap frame in px |
---|
| 234 | + wWidth width of decoded bitmam frame in px |
---|
| 235 | + bmCapabilities still image support, fixed frame-rate |
---|
| 236 | + support |
---|
| 237 | + ========================= ===================================== |
---|
212 | 238 | |
---|
213 | 239 | What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed |
---|
214 | 240 | Date: Dec 2014 |
---|
.. | .. |
---|
220 | 246 | KernelVersion: 4.0 |
---|
221 | 247 | Description: Specific uncompressed format descriptors |
---|
222 | 248 | |
---|
223 | | - bFormatIndex - unique id for this format descriptor; |
---|
| 249 | + ================== ======================================= |
---|
| 250 | + bFormatIndex unique id for this format descriptor; |
---|
224 | 251 | only defined after parent header is |
---|
225 | 252 | linked into the streaming class; |
---|
226 | 253 | read-only |
---|
227 | | - bmaControls - this format's data for bmaControls in |
---|
| 254 | + bmaControls this format's data for bmaControls in |
---|
228 | 255 | the streaming header |
---|
229 | | - bmInterfaceFlags - specifies interlace information, |
---|
| 256 | + bmInterfaceFlags specifies interlace information, |
---|
230 | 257 | read-only |
---|
231 | | - bAspectRatioY - the X dimension of the picture aspect |
---|
| 258 | + bAspectRatioY the X dimension of the picture aspect |
---|
232 | 259 | ratio, read-only |
---|
233 | | - bAspectRatioX - the Y dimension of the picture aspect |
---|
| 260 | + bAspectRatioX the Y dimension of the picture aspect |
---|
234 | 261 | ratio, read-only |
---|
235 | | - bDefaultFrameIndex - optimum frame index for this stream |
---|
236 | | - bBitsPerPixel - number of bits per pixel used to |
---|
| 262 | + bDefaultFrameIndex optimum frame index for this stream |
---|
| 263 | + bBitsPerPixel number of bits per pixel used to |
---|
237 | 264 | specify color in the decoded video |
---|
238 | 265 | frame |
---|
239 | | - guidFormat - globally unique id used to identify |
---|
| 266 | + guidFormat globally unique id used to identify |
---|
240 | 267 | stream-encoding format |
---|
| 268 | + ================== ======================================= |
---|
241 | 269 | |
---|
242 | 270 | What: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name |
---|
243 | 271 | Date: Dec 2014 |
---|
244 | 272 | KernelVersion: 4.0 |
---|
245 | 273 | Description: Specific uncompressed frame descriptors |
---|
246 | 274 | |
---|
247 | | - bFrameIndex - unique id for this framedescriptor; |
---|
248 | | - only defined after parent format is |
---|
249 | | - linked into the streaming header; |
---|
250 | | - read-only |
---|
251 | | - dwFrameInterval - indicates how frame interval can be |
---|
252 | | - programmed; a number of values |
---|
253 | | - separated by newline can be specified |
---|
254 | | - dwDefaultFrameInterval - the frame interval the device would |
---|
255 | | - like to use as default |
---|
256 | | - dwMaxVideoFrameBufferSize- the maximum number of bytes the |
---|
257 | | - compressor will produce for a video |
---|
258 | | - frame or still image |
---|
259 | | - dwMaxBitRate - the maximum bit rate at the shortest |
---|
260 | | - frame interval in bps |
---|
261 | | - dwMinBitRate - the minimum bit rate at the longest |
---|
262 | | - frame interval in bps |
---|
263 | | - wHeight - height of decoded bitmap frame in px |
---|
264 | | - wWidth - width of decoded bitmam frame in px |
---|
265 | | - bmCapabilities - still image support, fixed frame-rate |
---|
266 | | - support |
---|
| 275 | + ========================= ===================================== |
---|
| 276 | + bFrameIndex unique id for this framedescriptor; |
---|
| 277 | + only defined after parent format is |
---|
| 278 | + linked into the streaming header; |
---|
| 279 | + read-only |
---|
| 280 | + dwFrameInterval indicates how frame interval can be |
---|
| 281 | + programmed; a number of values |
---|
| 282 | + separated by newline can be specified |
---|
| 283 | + dwDefaultFrameInterval the frame interval the device would |
---|
| 284 | + like to use as default |
---|
| 285 | + dwMaxVideoFrameBufferSize the maximum number of bytes the |
---|
| 286 | + compressor will produce for a video |
---|
| 287 | + frame or still image |
---|
| 288 | + dwMaxBitRate the maximum bit rate at the shortest |
---|
| 289 | + frame interval in bps |
---|
| 290 | + dwMinBitRate the minimum bit rate at the longest |
---|
| 291 | + frame interval in bps |
---|
| 292 | + wHeight height of decoded bitmap frame in px |
---|
| 293 | + wWidth width of decoded bitmam frame in px |
---|
| 294 | + bmCapabilities still image support, fixed frame-rate |
---|
| 295 | + support |
---|
| 296 | + ========================= ===================================== |
---|
267 | 297 | |
---|
268 | 298 | What: /config/usb-gadget/gadget/functions/uvc.name/streaming/header |
---|
269 | 299 | Date: Dec 2014 |
---|
.. | .. |
---|
276 | 306 | Description: Specific streaming header descriptors |
---|
277 | 307 | |
---|
278 | 308 | All attributes read only: |
---|
279 | | - bTriggerUsage - how the host software will respond to |
---|
| 309 | + |
---|
| 310 | + ==================== ===================================== |
---|
| 311 | + bTriggerUsage how the host software will respond to |
---|
280 | 312 | a hardware trigger interrupt event |
---|
281 | | - bTriggerSupport - flag specifying if hardware |
---|
| 313 | + bTriggerSupport flag specifying if hardware |
---|
282 | 314 | triggering is supported |
---|
283 | | - bStillCaptureMethod - method of still image caputre |
---|
| 315 | + bStillCaptureMethod method of still image caputre |
---|
284 | 316 | supported |
---|
285 | | - bTerminalLink - id of the output terminal to which |
---|
| 317 | + bTerminalLink id of the output terminal to which |
---|
286 | 318 | the video endpoint of this interface |
---|
287 | 319 | is connected |
---|
288 | | - bmInfo - capabilities of this video streaming |
---|
| 320 | + bmInfo capabilities of this video streaming |
---|
289 | 321 | interface |
---|
| 322 | + ==================== ===================================== |
---|
290 | 323 | |
---|
291 | 324 | What: /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name |
---|
292 | 325 | Date: May 2018 |
---|