146919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name 246919a23SAndrzej PietrasiewiczDate: Dec 2014 3375f62e7SAlexandre BelloniKernelVersion: 4.0 446919a23SAndrzej PietrasiewiczDescription: UVC function directory 546919a23SAndrzej Pietrasiewicz 634433332SMauro Carvalho Chehab =================== ============================= 734433332SMauro Carvalho Chehab streaming_maxburst 0..15 (ss only) 834433332SMauro Carvalho Chehab streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss) 934433332SMauro Carvalho Chehab streaming_interval 1..16 10324e4f85SDan Vacura function_name string [32] 1134433332SMauro Carvalho Chehab =================== ============================= 1246919a23SAndrzej Pietrasiewicz 1346919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control 1446919a23SAndrzej PietrasiewiczDate: Dec 2014 15375f62e7SAlexandre BelloniKernelVersion: 4.0 1646919a23SAndrzej PietrasiewiczDescription: Control descriptors 1746919a23SAndrzej Pietrasiewicz 18a36afe78SDaniel Scally All attributes read only except enable_interrupt_ep: 1934433332SMauro Carvalho Chehab 2041070a70SDaniel Scally =================== ============================= 2134433332SMauro Carvalho Chehab bInterfaceNumber USB interface number for this 22bf715448SLaurent Pinchart streaming interface 23a36afe78SDaniel Scally enable_interrupt_ep flag to enable the interrupt 24a36afe78SDaniel Scally endpoint for the VC interface 2541070a70SDaniel Scally =================== ============================= 26bf715448SLaurent Pinchart 2746919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/class 2846919a23SAndrzej PietrasiewiczDate: Dec 2014 29375f62e7SAlexandre BelloniKernelVersion: 4.0 3046919a23SAndrzej PietrasiewiczDescription: Class descriptors 3146919a23SAndrzej Pietrasiewicz 3246919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss 3346919a23SAndrzej PietrasiewiczDate: Dec 2014 34375f62e7SAlexandre BelloniKernelVersion: 4.0 3546919a23SAndrzej PietrasiewiczDescription: Super speed control class descriptors 3646919a23SAndrzej Pietrasiewicz 3746919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs 3846919a23SAndrzej PietrasiewiczDate: Dec 2014 39375f62e7SAlexandre BelloniKernelVersion: 4.0 4046919a23SAndrzej PietrasiewiczDescription: Full speed control class descriptors 4146919a23SAndrzej Pietrasiewicz 4246919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/terminal 4346919a23SAndrzej PietrasiewiczDate: Dec 2014 44375f62e7SAlexandre BelloniKernelVersion: 4.0 4546919a23SAndrzej PietrasiewiczDescription: Terminal descriptors 4646919a23SAndrzej Pietrasiewicz 4746919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output 4846919a23SAndrzej PietrasiewiczDate: Dec 2014 49375f62e7SAlexandre BelloniKernelVersion: 4.0 5046919a23SAndrzej PietrasiewiczDescription: Output terminal descriptors 5146919a23SAndrzej Pietrasiewicz 5246919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default 5346919a23SAndrzej PietrasiewiczDate: Dec 2014 54375f62e7SAlexandre BelloniKernelVersion: 4.0 5546919a23SAndrzej PietrasiewiczDescription: Default output terminal descriptors 5646919a23SAndrzej Pietrasiewicz 57b3c839bdSDaniel Scally All attributes read only except bSourceID: 5834433332SMauro Carvalho Chehab 5934433332SMauro Carvalho Chehab ============== ============================================= 6034433332SMauro Carvalho Chehab iTerminal index of string descriptor 6134433332SMauro Carvalho Chehab bSourceID id of the terminal to which this terminal 6246919a23SAndrzej Pietrasiewicz is connected 6334433332SMauro Carvalho Chehab bAssocTerminal id of the input terminal to which this output 6446919a23SAndrzej Pietrasiewicz terminal is associated 6534433332SMauro Carvalho Chehab wTerminalType terminal type 6634433332SMauro Carvalho Chehab bTerminalID a non-zero id of this terminal 6734433332SMauro Carvalho Chehab ============== ============================================= 6846919a23SAndrzej Pietrasiewicz 6946919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera 7046919a23SAndrzej PietrasiewiczDate: Dec 2014 71375f62e7SAlexandre BelloniKernelVersion: 4.0 7246919a23SAndrzej PietrasiewiczDescription: Camera terminal descriptors 7346919a23SAndrzej Pietrasiewicz 7446919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default 7546919a23SAndrzej PietrasiewiczDate: Dec 2014 76375f62e7SAlexandre BelloniKernelVersion: 4.0 7746919a23SAndrzej PietrasiewiczDescription: Default camera terminal descriptors 7846919a23SAndrzej Pietrasiewicz 797bf1c56aSDaniel Scally All attributes read only except bmControls, which is read/write: 8034433332SMauro Carvalho Chehab 8134433332SMauro Carvalho Chehab ======================== ==================================== 8234433332SMauro Carvalho Chehab bmControls bitmap specifying which controls are 8346919a23SAndrzej Pietrasiewicz supported for the video stream 8434433332SMauro Carvalho Chehab wOcularFocalLength the value of Locular 8534433332SMauro Carvalho Chehab wObjectiveFocalLengthMax the value of Lmin 8634433332SMauro Carvalho Chehab wObjectiveFocalLengthMin the value of Lmax 8734433332SMauro Carvalho Chehab iTerminal index of string descriptor 8834433332SMauro Carvalho Chehab bAssocTerminal id of the output terminal to which 8946919a23SAndrzej Pietrasiewicz this terminal is connected 9034433332SMauro Carvalho Chehab wTerminalType terminal type 9134433332SMauro Carvalho Chehab bTerminalID a non-zero id of this terminal 9234433332SMauro Carvalho Chehab ======================== ==================================== 9346919a23SAndrzej Pietrasiewicz 9446919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/processing 9546919a23SAndrzej PietrasiewiczDate: Dec 2014 96375f62e7SAlexandre BelloniKernelVersion: 4.0 9746919a23SAndrzej PietrasiewiczDescription: Processing unit descriptors 9846919a23SAndrzej Pietrasiewicz 9946919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/processing/default 10046919a23SAndrzej PietrasiewiczDate: Dec 2014 101375f62e7SAlexandre BelloniKernelVersion: 4.0 10246919a23SAndrzej PietrasiewiczDescription: Default processing unit descriptors 10346919a23SAndrzej Pietrasiewicz 1047bf1c56aSDaniel Scally All attributes read only except bmControls, which is read/write: 10534433332SMauro Carvalho Chehab 10634433332SMauro Carvalho Chehab =============== ======================================== 10734433332SMauro Carvalho Chehab iProcessing index of string descriptor 10834433332SMauro Carvalho Chehab bmControls bitmap specifying which controls are 10946919a23SAndrzej Pietrasiewicz supported for the video stream 11034433332SMauro Carvalho Chehab wMaxMultiplier maximum digital magnification x100 11134433332SMauro Carvalho Chehab bSourceID id of the terminal to which this unit is 11246919a23SAndrzej Pietrasiewicz connected 11334433332SMauro Carvalho Chehab bUnitID a non-zero id of this unit 11434433332SMauro Carvalho Chehab =============== ======================================== 11546919a23SAndrzej Pietrasiewicz 1160525210cSDaniel ScallyWhat: /config/usb-gadget/gadget/functions/uvc.name/control/extensions 1170525210cSDaniel ScallyDate: Nov 2022 1180525210cSDaniel ScallyKernelVersion: 6.1 1190525210cSDaniel ScallyDescription: Extension unit descriptors 1200525210cSDaniel Scally 1210525210cSDaniel ScallyWhat: /config/usb-gadget/gadget/functions/uvc.name/control/extensions/name 1220525210cSDaniel ScallyDate: Nov 2022 1230525210cSDaniel ScallyKernelVersion: 6.1 1240525210cSDaniel ScallyDescription: Extension Unit (XU) Descriptor 1250525210cSDaniel Scally 1260525210cSDaniel Scally bLength, bUnitID and iExtension are read-only. All others are 1270525210cSDaniel Scally read-write. 1280525210cSDaniel Scally 1290525210cSDaniel Scally ================= ======================================== 1300525210cSDaniel Scally bLength size of the descriptor in bytes 1310525210cSDaniel Scally bUnitID non-zero ID of this unit 1320525210cSDaniel Scally guidExtensionCode Vendor-specific code identifying the XU 1330525210cSDaniel Scally bNumControls number of controls in this XU 1340525210cSDaniel Scally bNrInPins number of input pins for this unit 1350525210cSDaniel Scally baSourceID list of the IDs of the units or terminals 1360525210cSDaniel Scally to which this XU is connected 1370525210cSDaniel Scally bControlSize size of the bmControls field in bytes 1380525210cSDaniel Scally bmControls list of bitmaps detailing which vendor 1390525210cSDaniel Scally specific controls are supported 1400525210cSDaniel Scally iExtension index of a string descriptor that describes 1410525210cSDaniel Scally this extension unit 1420525210cSDaniel Scally ================= ======================================== 1430525210cSDaniel Scally 14446919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/header 14546919a23SAndrzej PietrasiewiczDate: Dec 2014 146375f62e7SAlexandre BelloniKernelVersion: 4.0 14746919a23SAndrzej PietrasiewiczDescription: Control header descriptors 14846919a23SAndrzej Pietrasiewicz 14946919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/control/header/name 15046919a23SAndrzej PietrasiewiczDate: Dec 2014 151375f62e7SAlexandre BelloniKernelVersion: 4.0 15246919a23SAndrzej PietrasiewiczDescription: Specific control header descriptors 15346919a23SAndrzej Pietrasiewicz 15446919a23SAndrzej PietrasiewiczdwClockFrequency 15546919a23SAndrzej PietrasiewiczbcdUVC 15646919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming 15746919a23SAndrzej PietrasiewiczDate: Dec 2014 158375f62e7SAlexandre BelloniKernelVersion: 4.0 15946919a23SAndrzej PietrasiewiczDescription: Streaming descriptors 16046919a23SAndrzej Pietrasiewicz 161bf715448SLaurent Pinchart All attributes read only: 16234433332SMauro Carvalho Chehab 16334433332SMauro Carvalho Chehab ================ ============================= 16434433332SMauro Carvalho Chehab bInterfaceNumber USB interface number for this 165bf715448SLaurent Pinchart streaming interface 16634433332SMauro Carvalho Chehab ================ ============================= 167bf715448SLaurent Pinchart 16846919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/class 16946919a23SAndrzej PietrasiewiczDate: Dec 2014 170375f62e7SAlexandre BelloniKernelVersion: 4.0 17146919a23SAndrzej PietrasiewiczDescription: Streaming class descriptors 17246919a23SAndrzej Pietrasiewicz 17346919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss 17446919a23SAndrzej PietrasiewiczDate: Dec 2014 175375f62e7SAlexandre BelloniKernelVersion: 4.0 17646919a23SAndrzej PietrasiewiczDescription: Super speed streaming class descriptors 17746919a23SAndrzej Pietrasiewicz 17846919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs 17946919a23SAndrzej PietrasiewiczDate: Dec 2014 180375f62e7SAlexandre BelloniKernelVersion: 4.0 18146919a23SAndrzej PietrasiewiczDescription: High speed streaming class descriptors 18246919a23SAndrzej Pietrasiewicz 18346919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/class/fs 18446919a23SAndrzej PietrasiewiczDate: Dec 2014 185375f62e7SAlexandre BelloniKernelVersion: 4.0 18646919a23SAndrzej PietrasiewiczDescription: Full speed streaming class descriptors 18746919a23SAndrzej Pietrasiewicz 18846919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching 18946919a23SAndrzej PietrasiewiczDate: Dec 2014 190375f62e7SAlexandre BelloniKernelVersion: 4.0 19146919a23SAndrzej PietrasiewiczDescription: Color matching descriptors 19246919a23SAndrzej Pietrasiewicz 19346919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/default 19446919a23SAndrzej PietrasiewiczDate: Dec 2014 195375f62e7SAlexandre BelloniKernelVersion: 4.0 19646919a23SAndrzej PietrasiewiczDescription: Default color matching descriptors 19746919a23SAndrzej Pietrasiewicz 19858f22787SDaniel Scally All attributes read/write: 19934433332SMauro Carvalho Chehab 20034433332SMauro Carvalho Chehab ======================== ====================================== 20134433332SMauro Carvalho Chehab bMatrixCoefficients matrix used to compute luma and 20246919a23SAndrzej Pietrasiewicz chroma values from the color primaries 20334433332SMauro Carvalho Chehab bTransferCharacteristics optoelectronic transfer 2043e42d1deSCarlos Bilbao characteristic of the source picture, 20546919a23SAndrzej Pietrasiewicz also called the gamma function 20634433332SMauro Carvalho Chehab bColorPrimaries color primaries and the reference 20746919a23SAndrzej Pietrasiewicz white 20834433332SMauro Carvalho Chehab ======================== ====================================== 20946919a23SAndrzej Pietrasiewicz 210f5e7bdd3SDaniel ScallyWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/name 211f5e7bdd3SDaniel ScallyDate: Dec 2022 212f5e7bdd3SDaniel ScallyKernelVersion: 6.3 213f5e7bdd3SDaniel ScallyDescription: Additional color matching descriptors 214f5e7bdd3SDaniel Scally 215f5e7bdd3SDaniel Scally All attributes read/write: 216f5e7bdd3SDaniel Scally 217f5e7bdd3SDaniel Scally ======================== ====================================== 218f5e7bdd3SDaniel Scally bMatrixCoefficients matrix used to compute luma and 219f5e7bdd3SDaniel Scally chroma values from the color primaries 220f5e7bdd3SDaniel Scally bTransferCharacteristics optoelectronic transfer 221f5e7bdd3SDaniel Scally characteristic of the source picture, 222f5e7bdd3SDaniel Scally also called the gamma function 223f5e7bdd3SDaniel Scally bColorPrimaries color primaries and the reference 224f5e7bdd3SDaniel Scally white 225f5e7bdd3SDaniel Scally ======================== ====================================== 226f5e7bdd3SDaniel Scally 22746919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg 22846919a23SAndrzej PietrasiewiczDate: Dec 2014 229375f62e7SAlexandre BelloniKernelVersion: 4.0 23046919a23SAndrzej PietrasiewiczDescription: MJPEG format descriptors 23146919a23SAndrzej Pietrasiewicz 23246919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name 23346919a23SAndrzej PietrasiewiczDate: Dec 2014 234375f62e7SAlexandre BelloniKernelVersion: 4.0 23546919a23SAndrzej PietrasiewiczDescription: Specific MJPEG format descriptors 23646919a23SAndrzej Pietrasiewicz 23746919a23SAndrzej Pietrasiewicz All attributes read only, 23846919a23SAndrzej Pietrasiewicz except bmaControls and bDefaultFrameIndex: 23934433332SMauro Carvalho Chehab 24034433332SMauro Carvalho Chehab =================== ===================================== 24134433332SMauro Carvalho Chehab bFormatIndex unique id for this format descriptor; 24261ff10e0SLaurent Pinchart only defined after parent header is 24361ff10e0SLaurent Pinchart linked into the streaming class; 24461ff10e0SLaurent Pinchart read-only 24534433332SMauro Carvalho Chehab bmaControls this format's data for bmaControls in 24646919a23SAndrzej Pietrasiewicz the streaming header 24781c25247SDaniel Scally bmInterlaceFlags specifies interlace information, 24846919a23SAndrzej Pietrasiewicz read-only 24934433332SMauro Carvalho Chehab bAspectRatioY the X dimension of the picture aspect 25046919a23SAndrzej Pietrasiewicz ratio, read-only 25134433332SMauro Carvalho Chehab bAspectRatioX the Y dimension of the picture aspect 25246919a23SAndrzej Pietrasiewicz ratio, read-only 25334433332SMauro Carvalho Chehab bmFlags characteristics of this format, 25446919a23SAndrzej Pietrasiewicz read-only 25534433332SMauro Carvalho Chehab bDefaultFrameIndex optimum frame index for this stream 25634433332SMauro Carvalho Chehab =================== ===================================== 25746919a23SAndrzej Pietrasiewicz 25846919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name 25946919a23SAndrzej PietrasiewiczDate: Dec 2014 260375f62e7SAlexandre BelloniKernelVersion: 4.0 26146919a23SAndrzej PietrasiewiczDescription: Specific MJPEG frame descriptors 26246919a23SAndrzej Pietrasiewicz 26334433332SMauro Carvalho Chehab ========================= ===================================== 26434433332SMauro Carvalho Chehab bFrameIndex unique id for this framedescriptor; 265b206548bSJoel Pepper only defined after parent format is 266b206548bSJoel Pepper linked into the streaming header; 267b206548bSJoel Pepper read-only 26834433332SMauro Carvalho Chehab dwFrameInterval indicates how frame interval can be 26946919a23SAndrzej Pietrasiewicz programmed; a number of values 27046919a23SAndrzej Pietrasiewicz separated by newline can be specified 27134433332SMauro Carvalho Chehab dwDefaultFrameInterval the frame interval the device would 27246919a23SAndrzej Pietrasiewicz like to use as default 27334433332SMauro Carvalho Chehab dwMaxVideoFrameBufferSize the maximum number of bytes the 27446919a23SAndrzej Pietrasiewicz compressor will produce for a video 27546919a23SAndrzej Pietrasiewicz frame or still image 27634433332SMauro Carvalho Chehab dwMaxBitRate the maximum bit rate at the shortest 27746919a23SAndrzej Pietrasiewicz frame interval in bps 27834433332SMauro Carvalho Chehab dwMinBitRate the minimum bit rate at the longest 27946919a23SAndrzej Pietrasiewicz frame interval in bps 28034433332SMauro Carvalho Chehab wHeight height of decoded bitmap frame in px 28134433332SMauro Carvalho Chehab wWidth width of decoded bitmam frame in px 28234433332SMauro Carvalho Chehab bmCapabilities still image support, fixed frame-rate 28346919a23SAndrzej Pietrasiewicz support 28434433332SMauro Carvalho Chehab ========================= ===================================== 28546919a23SAndrzej Pietrasiewicz 28646919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed 28746919a23SAndrzej PietrasiewiczDate: Dec 2014 288375f62e7SAlexandre BelloniKernelVersion: 4.0 28946919a23SAndrzej PietrasiewiczDescription: Uncompressed format descriptors 29046919a23SAndrzej Pietrasiewicz 29146919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name 29246919a23SAndrzej PietrasiewiczDate: Dec 2014 293375f62e7SAlexandre BelloniKernelVersion: 4.0 29446919a23SAndrzej PietrasiewiczDescription: Specific uncompressed format descriptors 29546919a23SAndrzej Pietrasiewicz 29634433332SMauro Carvalho Chehab ================== ======================================= 29734433332SMauro Carvalho Chehab bFormatIndex unique id for this format descriptor; 29861ff10e0SLaurent Pinchart only defined after parent header is 29961ff10e0SLaurent Pinchart linked into the streaming class; 30061ff10e0SLaurent Pinchart read-only 30134433332SMauro Carvalho Chehab bmaControls this format's data for bmaControls in 30246919a23SAndrzej Pietrasiewicz the streaming header 30381c25247SDaniel Scally bmInterlaceFlags specifies interlace information, 30446919a23SAndrzej Pietrasiewicz read-only 30534433332SMauro Carvalho Chehab bAspectRatioY the X dimension of the picture aspect 30646919a23SAndrzej Pietrasiewicz ratio, read-only 30734433332SMauro Carvalho Chehab bAspectRatioX the Y dimension of the picture aspect 30846919a23SAndrzej Pietrasiewicz ratio, read-only 30934433332SMauro Carvalho Chehab bDefaultFrameIndex optimum frame index for this stream 31034433332SMauro Carvalho Chehab bBitsPerPixel number of bits per pixel used to 31146919a23SAndrzej Pietrasiewicz specify color in the decoded video 31246919a23SAndrzej Pietrasiewicz frame 31334433332SMauro Carvalho Chehab guidFormat globally unique id used to identify 31446919a23SAndrzej Pietrasiewicz stream-encoding format 31534433332SMauro Carvalho Chehab ================== ======================================= 31646919a23SAndrzej Pietrasiewicz 31746919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name 31846919a23SAndrzej PietrasiewiczDate: Dec 2014 319375f62e7SAlexandre BelloniKernelVersion: 4.0 32046919a23SAndrzej PietrasiewiczDescription: Specific uncompressed frame descriptors 32146919a23SAndrzej Pietrasiewicz 32234433332SMauro Carvalho Chehab ========================= ===================================== 32334433332SMauro Carvalho Chehab bFrameIndex unique id for this framedescriptor; 324b206548bSJoel Pepper only defined after parent format is 325b206548bSJoel Pepper linked into the streaming header; 326b206548bSJoel Pepper read-only 32734433332SMauro Carvalho Chehab dwFrameInterval indicates how frame interval can be 32846919a23SAndrzej Pietrasiewicz programmed; a number of values 32946919a23SAndrzej Pietrasiewicz separated by newline can be specified 33034433332SMauro Carvalho Chehab dwDefaultFrameInterval the frame interval the device would 33146919a23SAndrzej Pietrasiewicz like to use as default 33234433332SMauro Carvalho Chehab dwMaxVideoFrameBufferSize the maximum number of bytes the 33346919a23SAndrzej Pietrasiewicz compressor will produce for a video 33446919a23SAndrzej Pietrasiewicz frame or still image 33534433332SMauro Carvalho Chehab dwMaxBitRate the maximum bit rate at the shortest 33646919a23SAndrzej Pietrasiewicz frame interval in bps 33734433332SMauro Carvalho Chehab dwMinBitRate the minimum bit rate at the longest 33846919a23SAndrzej Pietrasiewicz frame interval in bps 33934433332SMauro Carvalho Chehab wHeight height of decoded bitmap frame in px 34034433332SMauro Carvalho Chehab wWidth width of decoded bitmam frame in px 34134433332SMauro Carvalho Chehab bmCapabilities still image support, fixed frame-rate 34246919a23SAndrzej Pietrasiewicz support 34334433332SMauro Carvalho Chehab ========================= ===================================== 34446919a23SAndrzej Pietrasiewicz 345*7b5a5895SAkash KumarWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/framebased 346*7b5a5895SAkash KumarDate: Sept 2024 347*7b5a5895SAkash KumarKernelVersion: 5.15 348*7b5a5895SAkash KumarDescription: Framebased format descriptors 349*7b5a5895SAkash Kumar 350*7b5a5895SAkash KumarWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/framebased/name 351*7b5a5895SAkash KumarDate: Sept 2024 352*7b5a5895SAkash KumarKernelVersion: 5.15 353*7b5a5895SAkash KumarDescription: Specific framebased format descriptors 354*7b5a5895SAkash Kumar 355*7b5a5895SAkash Kumar ================== ======================================= 356*7b5a5895SAkash Kumar bFormatIndex unique id for this format descriptor; 357*7b5a5895SAkash Kumar only defined after parent header is 358*7b5a5895SAkash Kumar linked into the streaming class; 359*7b5a5895SAkash Kumar read-only 360*7b5a5895SAkash Kumar bmaControls this format's data for bmaControls in 361*7b5a5895SAkash Kumar the streaming header 362*7b5a5895SAkash Kumar bmInterlaceFlags specifies interlace information, 363*7b5a5895SAkash Kumar read-only 364*7b5a5895SAkash Kumar bAspectRatioY the X dimension of the picture aspect 365*7b5a5895SAkash Kumar ratio, read-only 366*7b5a5895SAkash Kumar bAspectRatioX the Y dimension of the picture aspect 367*7b5a5895SAkash Kumar ratio, read-only 368*7b5a5895SAkash Kumar bDefaultFrameIndex optimum frame index for this stream 369*7b5a5895SAkash Kumar bBitsPerPixel number of bits per pixel used to 370*7b5a5895SAkash Kumar specify color in the decoded video 371*7b5a5895SAkash Kumar frame 372*7b5a5895SAkash Kumar guidFormat globally unique id used to identify 373*7b5a5895SAkash Kumar stream-encoding format 374*7b5a5895SAkash Kumar ================== ======================================= 375*7b5a5895SAkash Kumar 376*7b5a5895SAkash KumarWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/framebased/name/name 377*7b5a5895SAkash KumarDate: Sept 2024 378*7b5a5895SAkash KumarKernelVersion: 5.15 379*7b5a5895SAkash KumarDescription: Specific framebased frame descriptors 380*7b5a5895SAkash Kumar 381*7b5a5895SAkash Kumar ========================= ===================================== 382*7b5a5895SAkash Kumar bFrameIndex unique id for this framedescriptor; 383*7b5a5895SAkash Kumar only defined after parent format is 384*7b5a5895SAkash Kumar linked into the streaming header; 385*7b5a5895SAkash Kumar read-only 386*7b5a5895SAkash Kumar dwFrameInterval indicates how frame interval can be 387*7b5a5895SAkash Kumar programmed; a number of values 388*7b5a5895SAkash Kumar separated by newline can be specified 389*7b5a5895SAkash Kumar dwDefaultFrameInterval the frame interval the device would 390*7b5a5895SAkash Kumar like to use as default 391*7b5a5895SAkash Kumar dwBytesPerLine Specifies the number of bytes per line 392*7b5a5895SAkash Kumar of video for packed fixed frame size 393*7b5a5895SAkash Kumar formats, allowing the receiver to 394*7b5a5895SAkash Kumar perform stride alignment of the video. 395*7b5a5895SAkash Kumar If the bVariableSize value (above) is 396*7b5a5895SAkash Kumar TRUE (1), or if the format does not 397*7b5a5895SAkash Kumar permit such alignment, this value shall 398*7b5a5895SAkash Kumar be set to zero (0). 399*7b5a5895SAkash Kumar dwMaxBitRate the maximum bit rate at the shortest 400*7b5a5895SAkash Kumar frame interval in bps 401*7b5a5895SAkash Kumar dwMinBitRate the minimum bit rate at the longest 402*7b5a5895SAkash Kumar frame interval in bps 403*7b5a5895SAkash Kumar wHeight height of decoded bitmap frame in px 404*7b5a5895SAkash Kumar wWidth width of decoded bitmam frame in px 405*7b5a5895SAkash Kumar bmCapabilities still image support, fixed frame-rate 406*7b5a5895SAkash Kumar support 407*7b5a5895SAkash Kumar ========================= ===================================== 408*7b5a5895SAkash Kumar 40946919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/header 41046919a23SAndrzej PietrasiewiczDate: Dec 2014 411375f62e7SAlexandre BelloniKernelVersion: 4.0 41246919a23SAndrzej PietrasiewiczDescription: Streaming header descriptors 41346919a23SAndrzej Pietrasiewicz 41446919a23SAndrzej PietrasiewiczWhat: /config/usb-gadget/gadget/functions/uvc.name/streaming/header/name 41546919a23SAndrzej PietrasiewiczDate: Dec 2014 416375f62e7SAlexandre BelloniKernelVersion: 4.0 41746919a23SAndrzej PietrasiewiczDescription: Specific streaming header descriptors 41846919a23SAndrzej Pietrasiewicz 41946919a23SAndrzej Pietrasiewicz All attributes read only: 42034433332SMauro Carvalho Chehab 42134433332SMauro Carvalho Chehab ==================== ===================================== 42234433332SMauro Carvalho Chehab bTriggerUsage how the host software will respond to 42346919a23SAndrzej Pietrasiewicz a hardware trigger interrupt event 42434433332SMauro Carvalho Chehab bTriggerSupport flag specifying if hardware 42546919a23SAndrzej Pietrasiewicz triggering is supported 4263e42d1deSCarlos Bilbao bStillCaptureMethod method of still image capture 42746919a23SAndrzej Pietrasiewicz supported 42834433332SMauro Carvalho Chehab bTerminalLink id of the output terminal to which 42946919a23SAndrzej Pietrasiewicz the video endpoint of this interface 43046919a23SAndrzej Pietrasiewicz is connected 43134433332SMauro Carvalho Chehab bmInfo capabilities of this video streaming 43246919a23SAndrzej Pietrasiewicz interface 43334433332SMauro Carvalho Chehab ==================== ===================================== 434d7af78b9SKieran Bingham 435d7af78b9SKieran BinghamWhat: /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name 436d7af78b9SKieran BinghamDate: May 2018 437d7af78b9SKieran BinghamKernelVersion: 4.19 438d7af78b9SKieran BinghamDescription: UVC configfs function instance name 439