|
TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
|
| ▼Ntinyuvc | TinyUVC: USB Video Class (UVC) device for Arduino and the desktop |
| Nle | Little endian helpers |
| ▼Nplatform | Functions every platform layer (platform/UVCPlatform*.h) implements |
| CAppLock | Serializes app context calls into the USB stack against the USB task, for USB stacks that need that (a TINYUVC_PLATFORM_CUSTOM layer); a no-op on the supported platforms |
| CUVCTinyUSBInterface | The camera as interface of Adafruit_USBD_Device |
| Ntusb_glue | TinyUSB class driver callbacks that connect TinyUSB to UVCDevice |
| Nuvc_spec | Constants of the USB Video Class 1.1 specification |
| ▼CUVCCamera | Connects a TinyCamera to a UVCDevice |
| CSize | A camera frame size offered to the host |
| ▼CUVCConvert | Converts raw pixel formats (RGB565, RGB888, BGR888, gray) to YUY2, one pixel pair at a time |
| CRgb | One pixel as 8 bit red, green and blue |
| CUVCDescriptorBuilder | Writes the UVC function descriptors (everything that belongs into the configuration descriptor after its 9 byte header) |
| CUVCDescriptorParams | Input of UVCDescriptorBuilder::build() |
| CUVCDesktopSettings | Settings of the simulated USB bus |
| CUVCDevice | USB Video Class (UVC 1.1) device - a USB webcam |
| ▼CUVCDisplayDriver | TinyGPU DisplayDriver that sends the written surfaces as webcam frames to the USB host: uncompressed (YUY2), or compressed with TinyJPEG (MJPEG) - whichever format the host selected |
| CJpegSink | Output of fmt2jpg_cb() into a frame buffer |
| CSize | A resolution with the max frame size reported to the host |
| CUVCFormatSpec | One video format (UVC format descriptor) with its resolutions |
| CUVCFrameBuffer | A growing byte buffer for one frame, allocated with UVCMemory (so in PSRAM where available). It grows in steps while a frame is written and keeps its memory when it is cleared, so after the first frames no more allocations happen |
| CUVCFrameSpec | One resolution (UVC frame descriptor) with its supported frame rates |
| ▼CUVCHostSimulator | Desktop only: a simulated USB host (modeled on Linux' uvcvideo) that enumerates, negotiates and streams from a UVCDevice |
| CFrame | A frame received from the device |
| CHostFormat | Format descriptor as parsed by the host |
| CHostFrame | Frame descriptor as parsed by the host |
| CUVCLoggerClass | Logger used by all TinyUVC classes |
| CUVCMemory | Allocates frame sized buffers in PSRAM or RAM (see UVCMemoryType) |
| CUVCPayloadEncoder | Produces the UVC payloads of one frame. Each payload starts with a 2 byte header (6 bytes with a presentation time stamp) that carries the frame id bit (FID, toggled per frame) and, in the last payload of the frame, the end of frame bit (EOF) |
| CUVCProbeCommit | Video probe and commit control (UVC 1.1, 34 bytes). Kept as a byte array in USB (little endian) layout with typed accessors, so there are no packing or alignment issues |
| CUVCRequest | Setup request as seen by UVCDevice (independent of the USB stack) |
| CUVCSimBus | What the device side did, as seen by the simulated USB core |
| CUVCStreamSettings | The format, resolution and frame rate the host selected |
| CUVCTinyGPUPixel | Maps a TinyGPU color type to the matching PixelFormat |
| CUVCTinyGPUPixel< tinygpu::RGB565 > | TinyGPU stores RGB565 byte-swapped: the high byte comes first in memory |
| CUVCTinyGPUPixel< tinygpu::RGB888 > | TinyGPU stores RGB888 as the bytes r, g, b |
| CUVCVideoCopy | Streams the frames of an audio-tools VideoFrameSource (e.g. CameraFrameSourceTinyCamera) to a UVCDevice |
| CUVCVideoOutput | VideoOutput that sends every frame (write() calls up to flush()) to a UVCDevice. Two frame buffers are used: one is sent while the next one is written |