Back to home page

OSCL-LXR

 
 

    


0001 What:           /config/usb-gadget/gadget/functions/uvc.name
0002 Date:           Dec 2014
0003 KernelVersion:  4.0
0004 Description:    UVC function directory
0005 
0006                 ===================     =============================
0007                 streaming_maxburst      0..15 (ss only)
0008                 streaming_maxpacket     1..1023 (fs), 1..3072 (hs/ss)
0009                 streaming_interval      1..16
0010                 function_name           string [32]
0011                 ===================     =============================
0012 
0013 What:           /config/usb-gadget/gadget/functions/uvc.name/control
0014 Date:           Dec 2014
0015 KernelVersion:  4.0
0016 Description:    Control descriptors
0017 
0018                 All attributes read only:
0019 
0020                 ================        =============================
0021                 bInterfaceNumber        USB interface number for this
0022                                         streaming interface
0023                 ================        =============================
0024 
0025 What:           /config/usb-gadget/gadget/functions/uvc.name/control/class
0026 Date:           Dec 2014
0027 KernelVersion:  4.0
0028 Description:    Class descriptors
0029 
0030 What:           /config/usb-gadget/gadget/functions/uvc.name/control/class/ss
0031 Date:           Dec 2014
0032 KernelVersion:  4.0
0033 Description:    Super speed control class descriptors
0034 
0035 What:           /config/usb-gadget/gadget/functions/uvc.name/control/class/fs
0036 Date:           Dec 2014
0037 KernelVersion:  4.0
0038 Description:    Full speed control class descriptors
0039 
0040 What:           /config/usb-gadget/gadget/functions/uvc.name/control/terminal
0041 Date:           Dec 2014
0042 KernelVersion:  4.0
0043 Description:    Terminal descriptors
0044 
0045 What:           /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output
0046 Date:           Dec 2014
0047 KernelVersion:  4.0
0048 Description:    Output terminal descriptors
0049 
0050 What:           /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default
0051 Date:           Dec 2014
0052 KernelVersion:  4.0
0053 Description:    Default output terminal descriptors
0054 
0055                 All attributes read only:
0056 
0057                 ==============  =============================================
0058                 iTerminal       index of string descriptor
0059                 bSourceID       id of the terminal to which this terminal
0060                                 is connected
0061                 bAssocTerminal  id of the input terminal to which this output
0062                                 terminal is associated
0063                 wTerminalType   terminal type
0064                 bTerminalID     a non-zero id of this terminal
0065                 ==============  =============================================
0066 
0067 What:           /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera
0068 Date:           Dec 2014
0069 KernelVersion:  4.0
0070 Description:    Camera terminal descriptors
0071 
0072 What:           /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera/default
0073 Date:           Dec 2014
0074 KernelVersion:  4.0
0075 Description:    Default camera terminal descriptors
0076 
0077                 All attributes read only:
0078 
0079                 ========================  ====================================
0080                 bmControls                bitmap specifying which controls are
0081                                           supported for the video stream
0082                 wOcularFocalLength        the value of Locular
0083                 wObjectiveFocalLengthMax  the value of Lmin
0084                 wObjectiveFocalLengthMin  the value of Lmax
0085                 iTerminal                 index of string descriptor
0086                 bAssocTerminal            id of the output terminal to which
0087                                           this terminal is connected
0088                 wTerminalType             terminal type
0089                 bTerminalID               a non-zero id of this terminal
0090                 ========================  ====================================
0091 
0092 What:           /config/usb-gadget/gadget/functions/uvc.name/control/processing
0093 Date:           Dec 2014
0094 KernelVersion:  4.0
0095 Description:    Processing unit descriptors
0096 
0097 What:           /config/usb-gadget/gadget/functions/uvc.name/control/processing/default
0098 Date:           Dec 2014
0099 KernelVersion:  4.0
0100 Description:    Default processing unit descriptors
0101 
0102                 All attributes read only:
0103 
0104                 =============== ========================================
0105                 iProcessing     index of string descriptor
0106                 bmControls      bitmap specifying which controls are
0107                                 supported for the video stream
0108                 wMaxMultiplier  maximum digital magnification x100
0109                 bSourceID       id of the terminal to which this unit is
0110                                 connected
0111                 bUnitID         a non-zero id of this unit
0112                 =============== ========================================
0113 
0114 What:           /config/usb-gadget/gadget/functions/uvc.name/control/header
0115 Date:           Dec 2014
0116 KernelVersion:  4.0
0117 Description:    Control header descriptors
0118 
0119 What:           /config/usb-gadget/gadget/functions/uvc.name/control/header/name
0120 Date:           Dec 2014
0121 KernelVersion:  4.0
0122 Description:    Specific control header descriptors
0123 
0124 dwClockFrequency
0125 bcdUVC
0126 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming
0127 Date:           Dec 2014
0128 KernelVersion:  4.0
0129 Description:    Streaming descriptors
0130 
0131                 All attributes read only:
0132 
0133                 ================        =============================
0134                 bInterfaceNumber        USB interface number for this
0135                                         streaming interface
0136                 ================        =============================
0137 
0138 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/class
0139 Date:           Dec 2014
0140 KernelVersion:  4.0
0141 Description:    Streaming class descriptors
0142 
0143 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/class/ss
0144 Date:           Dec 2014
0145 KernelVersion:  4.0
0146 Description:    Super speed streaming class descriptors
0147 
0148 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/class/hs
0149 Date:           Dec 2014
0150 KernelVersion:  4.0
0151 Description:    High speed streaming class descriptors
0152 
0153 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/class/fs
0154 Date:           Dec 2014
0155 KernelVersion:  4.0
0156 Description:    Full speed streaming class descriptors
0157 
0158 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching
0159 Date:           Dec 2014
0160 KernelVersion:  4.0
0161 Description:    Color matching descriptors
0162 
0163 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/color_matching/default
0164 Date:           Dec 2014
0165 KernelVersion:  4.0
0166 Description:    Default color matching descriptors
0167 
0168                 All attributes read only:
0169 
0170                 ========================  ======================================
0171                 bMatrixCoefficients       matrix used to compute luma and
0172                                           chroma values from the color primaries
0173                 bTransferCharacteristics  optoelectronic transfer
0174                                           characteristic of the source picture,
0175                                           also called the gamma function
0176                 bColorPrimaries           color primaries and the reference
0177                                           white
0178                 ========================  ======================================
0179 
0180 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg
0181 Date:           Dec 2014
0182 KernelVersion:  4.0
0183 Description:    MJPEG format descriptors
0184 
0185 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name
0186 Date:           Dec 2014
0187 KernelVersion:  4.0
0188 Description:    Specific MJPEG format descriptors
0189 
0190                 All attributes read only,
0191                 except bmaControls and bDefaultFrameIndex:
0192 
0193                 ===================     =====================================
0194                 bFormatIndex            unique id for this format descriptor;
0195                                         only defined after parent header is
0196                                         linked into the streaming class;
0197                                         read-only
0198                 bmaControls             this format's data for bmaControls in
0199                                         the streaming header
0200                 bmInterfaceFlags        specifies interlace information,
0201                                         read-only
0202                 bAspectRatioY           the X dimension of the picture aspect
0203                                         ratio, read-only
0204                 bAspectRatioX           the Y dimension of the picture aspect
0205                                         ratio, read-only
0206                 bmFlags                 characteristics of this format,
0207                                         read-only
0208                 bDefaultFrameIndex      optimum frame index for this stream
0209                 ===================     =====================================
0210 
0211 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/mjpeg/name/name
0212 Date:           Dec 2014
0213 KernelVersion:  4.0
0214 Description:    Specific MJPEG frame descriptors
0215 
0216                 =========================  =====================================
0217                 bFrameIndex                unique id for this framedescriptor;
0218                                            only defined after parent format is
0219                                            linked into the streaming header;
0220                                            read-only
0221                 dwFrameInterval            indicates how frame interval can be
0222                                            programmed; a number of values
0223                                            separated by newline can be specified
0224                 dwDefaultFrameInterval     the frame interval the device would
0225                                            like to use as default
0226                 dwMaxVideoFrameBufferSize  the maximum number of bytes the
0227                                            compressor will produce for a video
0228                                            frame or still image
0229                 dwMaxBitRate               the maximum bit rate at the shortest
0230                                            frame interval in bps
0231                 dwMinBitRate               the minimum bit rate at the longest
0232                                            frame interval in bps
0233                 wHeight                    height of decoded bitmap frame in px
0234                 wWidth                     width of decoded bitmam frame in px
0235                 bmCapabilities             still image support, fixed frame-rate
0236                                            support
0237                 =========================  =====================================
0238 
0239 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed
0240 Date:           Dec 2014
0241 KernelVersion:  4.0
0242 Description:    Uncompressed format descriptors
0243 
0244 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name
0245 Date:           Dec 2014
0246 KernelVersion:  4.0
0247 Description:    Specific uncompressed format descriptors
0248 
0249                 ==================      =======================================
0250                 bFormatIndex            unique id for this format descriptor;
0251                                         only defined after parent header is
0252                                         linked into the streaming class;
0253                                         read-only
0254                 bmaControls             this format's data for bmaControls in
0255                                         the streaming header
0256                 bmInterfaceFlags        specifies interlace information,
0257                                         read-only
0258                 bAspectRatioY           the X dimension of the picture aspect
0259                                         ratio, read-only
0260                 bAspectRatioX           the Y dimension of the picture aspect
0261                                         ratio, read-only
0262                 bDefaultFrameIndex      optimum frame index for this stream
0263                 bBitsPerPixel           number of bits per pixel used to
0264                                         specify color in the decoded video
0265                                         frame
0266                 guidFormat              globally unique id used to identify
0267                                         stream-encoding format
0268                 ==================      =======================================
0269 
0270 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/uncompressed/name/name
0271 Date:           Dec 2014
0272 KernelVersion:  4.0
0273 Description:    Specific uncompressed frame descriptors
0274 
0275                 =========================  =====================================
0276                 bFrameIndex                unique id for this framedescriptor;
0277                                            only defined after parent format is
0278                                            linked into the streaming header;
0279                                            read-only
0280                 dwFrameInterval            indicates how frame interval can be
0281                                            programmed; a number of values
0282                                            separated by newline can be specified
0283                 dwDefaultFrameInterval     the frame interval the device would
0284                                            like to use as default
0285                 dwMaxVideoFrameBufferSize  the maximum number of bytes the
0286                                            compressor will produce for a video
0287                                            frame or still image
0288                 dwMaxBitRate               the maximum bit rate at the shortest
0289                                            frame interval in bps
0290                 dwMinBitRate               the minimum bit rate at the longest
0291                                            frame interval in bps
0292                 wHeight                    height of decoded bitmap frame in px
0293                 wWidth                     width of decoded bitmam frame in px
0294                 bmCapabilities             still image support, fixed frame-rate
0295                                            support
0296                 =========================  =====================================
0297 
0298 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/header
0299 Date:           Dec 2014
0300 KernelVersion:  4.0
0301 Description:    Streaming header descriptors
0302 
0303 What:           /config/usb-gadget/gadget/functions/uvc.name/streaming/header/name
0304 Date:           Dec 2014
0305 KernelVersion:  4.0
0306 Description:    Specific streaming header descriptors
0307 
0308                 All attributes read only:
0309 
0310                 ====================    =====================================
0311                 bTriggerUsage           how the host software will respond to
0312                                         a hardware trigger interrupt event
0313                 bTriggerSupport         flag specifying if hardware
0314                                         triggering is supported
0315                 bStillCaptureMethod     method of still image capture
0316                                         supported
0317                 bTerminalLink           id of the output terminal to which
0318                                         the video endpoint of this interface
0319                                         is connected
0320                 bmInfo                  capabilities of this video streaming
0321                                         interface
0322                 ====================    =====================================
0323 
0324 What:           /sys/class/udc/udc.name/device/gadget/video4linux/video.name/function_name
0325 Date:           May 2018
0326 KernelVersion:  4.19
0327 Description:    UVC configfs function instance name