TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
Loading...
Searching...
No Matches
Namespace List
Here is a list of all namespaces with brief descriptions:
[detail level 123]
 ▼NtinyuvcTinyUVC: USB Video Class (UVC) device for Arduino and the desktop
 NleLittle endian helpers
 ▼NplatformFunctions every platform layer (platform/UVCPlatform*.h) implements
 CAppLockSerializes 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
 CUVCTinyUSBInterfaceThe camera as interface of Adafruit_USBD_Device
 Ntusb_glueTinyUSB class driver callbacks that connect TinyUSB to UVCDevice
 Nuvc_specConstants of the USB Video Class 1.1 specification
 ▼CUVCCameraConnects a TinyCamera to a UVCDevice
 CSizeA camera frame size offered to the host
 ▼CUVCConvertConverts raw pixel formats (RGB565, RGB888, BGR888, gray) to YUY2, one pixel pair at a time
 CRgbOne pixel as 8 bit red, green and blue
 CUVCDescriptorBuilderWrites the UVC function descriptors (everything that belongs into the configuration descriptor after its 9 byte header)
 CUVCDescriptorParamsInput of UVCDescriptorBuilder::build()
 CUVCDesktopSettingsSettings of the simulated USB bus
 CUVCDeviceUSB Video Class (UVC 1.1) device - a USB webcam
 ▼CUVCDisplayDriverTinyGPU 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
 CJpegSinkOutput of fmt2jpg_cb() into a frame buffer
 CSizeA resolution with the max frame size reported to the host
 CUVCFormatSpecOne video format (UVC format descriptor) with its resolutions
 CUVCFrameBufferA 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
 CUVCFrameSpecOne resolution (UVC frame descriptor) with its supported frame rates
 ▼CUVCHostSimulatorDesktop only: a simulated USB host (modeled on Linux' uvcvideo) that enumerates, negotiates and streams from a UVCDevice
 CFrameA frame received from the device
 CHostFormatFormat descriptor as parsed by the host
 CHostFrameFrame descriptor as parsed by the host
 CUVCLoggerClassLogger used by all TinyUVC classes
 CUVCMemoryAllocates frame sized buffers in PSRAM or RAM (see UVCMemoryType)
 CUVCPayloadEncoderProduces 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)
 CUVCProbeCommitVideo 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
 CUVCRequestSetup request as seen by UVCDevice (independent of the USB stack)
 CUVCSimBusWhat the device side did, as seen by the simulated USB core
 CUVCStreamSettingsThe format, resolution and frame rate the host selected
 CUVCTinyGPUPixelMaps 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
 CUVCVideoCopyStreams the frames of an audio-tools VideoFrameSource (e.g. CameraFrameSourceTinyCamera) to a UVCDevice
 CUVCVideoOutputVideoOutput 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