Data Structures | |
struct | UsbVideoControlInterfaceHeader1 |
struct | UsbVideoInputHeaderDescriptor1 |
struct | UsbVideoControlInterfaceDescriptor |
struct | UsbVideoFormatDescriptor |
struct | UsbVideoStreamingInterfaceDescriptor |
struct | UsbVideoCamConfigurationDescriptors |
Defines | |
#define | FRAME_BPP (16) |
#define | FRAME_BUFFER_SIZEC(W, H) ((W)*(H)*FRAME_BPP/8) |
#define | FRAME_BITRATEC(W, H, FR) ((FR)*FRAME_BUFFER_SIZEC(W,H)*8) |
#define | FRAME_INTERVALC(FR) (1*1000*1000*(1000/100)/(FR)) |
#define | FRAME_PACKET_SIZE_FS 640 |
#define | FRAME_PACKET_SIZE_HS (1020) |
#define | FRAME_PAYLOAD_HDR_SIZE 2 |
#define | ISO_HIGH_BW_MODE 2 |
#define | VIDCAMD_EpDesc_MaxPacketSize (FRAME_PACKET_SIZE_HS | (ISO_HIGH_BW_MODE << 11)) |
#define | VIDCAMD_ControlInterfaceNum 0 |
#define | VIDCAMD_StreamInterfaceNum 1 |
#define | VIDCAMD_IsoInEndpointNum 2 |
#define | VIDCAMD_NumFrameTypes 3 |
#define | VIDCAMD_FW_1 320 |
#define | VIDCAMD_FH_1 240 |
#define | VIDCAMD_FW_2 640 |
#define | VIDCAMD_FH_2 480 |
#define | VIDCAMD_FW_3 176 |
#define | VIDCAMD_FH_3 144 |
#define FRAME_BITRATEC | ( | W, | ||
H, | ||||
FR | ||||
) | ((FR)*FRAME_BUFFER_SIZEC(W,H)*8) |
Video frame bit-rate calculation
Definition at line 57 of file VIDEODescriptors.h.
#define FRAME_BPP (16) |
Video frame BitsPerPixel
Definition at line 53 of file VIDEODescriptors.h.
#define FRAME_BUFFER_SIZEC | ( | W, | ||
H | ||||
) | ((W)*(H)*FRAME_BPP/8) |
Video frame buffer size calculation
Definition at line 55 of file VIDEODescriptors.h.
#define FRAME_INTERVALC | ( | FR | ) | (1*1000*1000*(1000/100)/(FR)) |
Video frame interval calculation (100ns)
Definition at line 59 of file VIDEODescriptors.h.
#define FRAME_PACKET_SIZE_FS 640 |
Packet size for FS
Definition at line 61 of file VIDEODescriptors.h.
#define FRAME_PACKET_SIZE_HS (1020) |
Packet size for HS
Definition at line 64 of file VIDEODescriptors.h.
#define FRAME_PAYLOAD_HDR_SIZE 2 |
Payload header size
Definition at line 67 of file VIDEODescriptors.h.
#define ISO_HIGH_BW_MODE 2 |
High Bandwidth mode: 0 ~ 2
Definition at line 70 of file VIDEODescriptors.h.
#define VIDCAMD_ControlInterfaceNum 0 |
Interface number of USB Video Control Interface
Definition at line 75 of file VIDEODescriptors.h.
#define VIDCAMD_IsoInEndpointNum 2 |
Endpoint number of USB Video Streaming ISO IN endpoint
Definition at line 79 of file VIDEODescriptors.h.
#define VIDCAMD_NumFrameTypes 3 |
Number of Video Frame Types
Definition at line 82 of file VIDEODescriptors.h.
#define VIDCAMD_StreamInterfaceNum 1 |
Interface number of USB Video Streaming Interface
Definition at line 77 of file VIDEODescriptors.h.