|
TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
|
Integration with TinyGPU (https://github.com/pschatzmann/TinyGPU): UVCDisplayDriver is a TinyGPU DisplayDriver whose "display" is the webcam. Everything that is rendered into a TinyGPU surface (2D drawing, text, sprites, WireFrame3D) and written with writeData() shows up as video on the PC. More...


Go to the source code of this file.
Classes | |
| struct | tinyuvc::UVCTinyGPUPixel< tinygpu::RGB565 > |
| TinyGPU stores RGB565 byte-swapped: the high byte comes first in memory. More... | |
| struct | tinyuvc::UVCTinyGPUPixel< tinygpu::RGB888 > |
| TinyGPU stores RGB888 as the bytes r, g, b. More... | |
| class | tinyuvc::UVCDisplayDriver< RGB_T > |
| 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. More... | |
| struct | tinyuvc::UVCDisplayDriver< RGB_T >::JpegSink |
| Output of fmt2jpg_cb() into a frame buffer. More... | |
| struct | tinyuvc::UVCDisplayDriver< RGB_T >::Size |
| A resolution with the max frame size reported to the host. More... | |
Namespaces | |
| namespace | tinyuvc |
| TinyUVC: USB Video Class (UVC) device for Arduino and the desktop. | |
Macros | |
| #define | TINYUVC_JPEG_ESP32 0 |
| #define | TINYUVC_JPEG_TINYJPEG 0 |
| #define | TINYUVC_HAS_JPEG (TINYUVC_JPEG_ESP32 || TINYUVC_JPEG_TINYJPEG) |
| 1 if MJPEG frames can be produced from TinyGPU surfaces | |
Integration with TinyGPU (https://github.com/pschatzmann/TinyGPU): UVCDisplayDriver is a TinyGPU DisplayDriver whose "display" is the webcam. Everything that is rendered into a TinyGPU surface (2D drawing, text, sprites, WireFrame3D) and written with writeData() shows up as video on the PC.
Uncompressed YUY2 needs 2 bytes per pixel: full speed USB (about 1 MB/s) carries 160x120 at 15+ fps, but 320x240 only at about 5 fps. For bigger pictures offer MJPEG, the frames are then compressed:
| #define TINYUVC_HAS_JPEG (TINYUVC_JPEG_ESP32 || TINYUVC_JPEG_TINYJPEG) |
1 if MJPEG frames can be produced from TinyGPU surfaces
| #define TINYUVC_JPEG_ESP32 0 |
| #define TINYUVC_JPEG_TINYJPEG 0 |