Expand description
USB Video Class 1.5 - camera device (device to host).
Streams video over an isochronous or bulk IN endpoint. The camera offers any number of
Formats (MJPEG, YUY2, NV12, I420, H.264, or custom frame-based formats), each with one
or more Frame sizes and frame intervals. The host picks one through the 48-byte UVC 1.5
probe/commit handshake; Camera::settings reports the result and Camera::write_frame
(or Camera::start_frame for chunked streaming) sends frames with UVC payload headers.
Optional UVC 1.5 features include:
- Processing Unit controls (
ProcessingControls: brightness, contrast, hue, saturation, sharpness, gamma, gain, white balance, backlight, power line frequency) - Camera Terminal controls (
CameraControls: auto-exposure mode, exposure time, focus, auto-focus, zoom) - Method 2 still image capture (
StillConfig,Camera::take_still_trigger,Camera::write_still_frame) - Bulk streaming transport (
Config::bulk/StreamTransport::Bulk)
Structs§
- Camera
- Implementation of the USB Video Class 1.5, camera side.
- Camera
Controls - Supported Camera Terminal (
ITT_CAMERA) controls. - Config
- Everything the camera advertises to the host.
- Control
Range - Range and default value for a numeric UVC Processing Unit or Camera Terminal control.
- Control
Values - Current values of all VideoControl Processing Unit and Camera Terminal controls.
- Format
- A video format the camera can stream, with its frame sizes.
- Frame
- A frame size of a
Format, with the frame intervals it supports. - Frame
Writer - Streaming writer for a single UVC video or still image frame.
- Payload
Timestamp - Optional UVC payload timestamps for
Camera::write_frame_with_timestampandCamera::start_frame_with_timestamp. - Processing
Controls - Supported Processing Unit (
VC_PROCESSING_UNIT) controls. - State
- Internal state for a USB Video Class 1.5 camera.
- Still
Config - Method 2 still image capture configuration (
VS_STILL_IMAGE_FRAME). - Still
Frame - Resolution offered for UVC Method 2 still image capture.
- Still
Settings - Committed still image capture parameters when triggered by the host.
- Stream
Settings - What the host selected for the stream.
Enums§
- Pixel
Format - The pixel format of a
Format. - Stream
Transport - Transport endpoint type used for the VideoStreaming interface.
Functions§
- fourcc_
guid - Builds a standard UVC 16-byte GUID from a 4-character FourCC code.