diff options
| author | yjun <[email protected]> | 2024-06-17 22:00:07 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-06-17 22:24:13 +0800 |
| commit | 7a26ad5082ec72864ec7a641c3b68ae8e84aa33a (patch) | |
| tree | 18bcf5b8b4ea879b658f591f1aeceb1c34452855 /class | |
| parent | ff2070d14be1b50f547fd8bdc9e1646e08ee66b3 (diff) | |
update(class/video): add xu descriptor definition
Diffstat (limited to 'class')
| -rw-r--r-- | class/video/usb_video.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/class/video/usb_video.h b/class/video/usb_video.h index 69caa10a..ff36fece 100644 --- a/class/video/usb_video.h +++ b/class/video/usb_video.h @@ -861,6 +861,22 @@ struct video_cs_if_vc_output_terminal_descriptor { #define VIDEO_SIZEOF_VC_OUTPUT_TERMINAL_DESC 9 +struct video_cs_if_vc_extension_unit_descriptor { + uint8_t bLength; + uint8_t bDescriptorType; + uint8_t bDescriptorSubType; + uint8_t bUnitID; + uint8_t guidExtensionCode[16]; + uint8_t bNumControls; + uint8_t bNrInPins; + // uint8_t baSourceID[]; + uint8_t bControlSize; + // uint8_t bmControls[] + uint8_t iExtension; +} __PACKED; + +#define VIDEO_SIZEOF_VC_EXTENSION_UNIT_DESC(p, n) (24 + p + n) + struct video_cs_ep_vc_ep_descriptor { uint8_t bLength; uint8_t bDescriptorType; |
