|
TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
|
Allocates frame sized buffers in PSRAM or RAM (see UVCMemoryType) More...
#include <UVCMemory.h>
Static Public Member Functions | |
| static bool | hasPSRAM () |
| true if PSRAM is available | |
| static uint8_t * | alloc (size_t size, UVCMemoryType type=UVCMemoryType::Auto) |
| static void | free (void *p) |
Static Protected Member Functions | |
| static uint8_t * | allocPSRAM (size_t size) |
| static uint8_t * | allocRAM (size_t size) |
Allocates frame sized buffers in PSRAM or RAM (see UVCMemoryType)
|
inlinestatic |
Allocates size bytes; nullptr if that is not possible. Release with UVCMemory::free().