TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
AudioTools.h File Reference

Integration with the video classes of arduino-audio-tools (https://github.com/pschatzmann/arduino-audio-tools): More...

#include <AudioToolsConfig.h>
#include <AudioTools/Video/Video.h>
#include "../TinyUVC.h"
Include dependency graph for AudioTools.h:

Go to the source code of this file.

Classes

class  tinyuvc::UVCVideoOutput
 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. More...
 
class  tinyuvc::UVCVideoCopy
 Streams the frames of an audio-tools VideoFrameSource (e.g. CameraFrameSourceTinyCamera) to a UVCDevice. More...
 

Namespaces

namespace  tinyuvc
 TinyUVC: USB Video Class (UVC) device for Arduino and the desktop.
 

Functions

bool tinyuvc::toPixelFormat (audio_tools::VideoFormat format, PixelFormat &out)
 Maps an audio-tools VideoFormat to the matching PixelFormat.
 
bool tinyuvc::addResolution (UVCDevice &uvc, const audio_tools::VideoInfo &info, uint32_t maxJpegSize=0)
 

Detailed Description

Integration with the video classes of arduino-audio-tools (https://github.com/pschatzmann/arduino-audio-tools):

The video classes of arduino-audio-tools use FreeRTOS: on RP2040/RP2350 select Tools > Operating System > "FreeRTOS SMP" and include "AudioTools/Concurrency/RTOS.h" after AudioTools.h, on STM32 install the STM32FreeRTOS library.