Streams the frames of an audio-tools VideoFrameSource (e.g. CameraFrameSourceTinyCamera) to a UVCDevice.
More...
#include <AudioTools.h>
Streams the frames of an audio-tools VideoFrameSource (e.g. CameraFrameSourceTinyCamera) to a UVCDevice.
}
USB Video Class (UVC 1.1) device - a USB webcam.
Definition UVCDevice.h:95
TinyGPU DisplayDriver that sends the written surfaces as webcam frames to the USB host: uncompressed ...
Definition TinyGPU.h:110
bool begin() override
Starts the UVC device (if it is not running yet)
Definition TinyGPU.h:159
Streams the frames of an audio-tools VideoFrameSource (e.g. CameraFrameSourceTinyCamera) to a UVCDevi...
Definition AudioTools.h:224
◆ UVCVideoCopy()
| tinyuvc::UVCVideoCopy::UVCVideoCopy |
( |
UVCDevice & |
uvc, |
|
|
audio_tools::VideoFrameSource & |
source |
|
) |
| |
|
inline |
◆ begin()
| bool tinyuvc::UVCVideoCopy::begin |
( |
uint32_t |
maxJpegSize = 0 | ) |
|
|
inline |
Offers the resolution of the source (if the device is not started yet) and starts the device
◆ copy()
| bool tinyuvc::UVCVideoCopy::copy |
( |
| ) |
|
|
inline |
Sends the next frame of the source when the device is ready and the frame interval selected by the host has passed. Returns true if a frame was sent.
◆ setPixelFormat()
Pixel format of the source frames (set by begin())
◆ format_
◆ lastUs_
| uint32_t tinyuvc::UVCVideoCopy::lastUs_ = 0 |
|
protected |
◆ sent_
◆ source_
| audio_tools::VideoFrameSource& tinyuvc::UVCVideoCopy::source_ |
|
protected |
◆ uvc_
The documentation for this class was generated from the following file: