33 bool begin(
const camera_config_t &config,
float fps) {
35 if (!
camera_.begin(config))
return false;
36 tiny_camera::TinyCameraFrame probe =
camera_.captureFrame();
38 LOGE(
"CameraFrameSourceTinyCamera: probe capture failed");
45 LOGI(
"CameraFrameSourceTinyCamera: %dx%d, format %d", (
int)
info.
width,
82 case PIXFORMAT_RGB565:
84 case PIXFORMAT_YUV422:
88#if defined(TINY_CAMERA_ESP_VIDEO)
89 case PIXFORMAT_RGB888:
#define LOGI(...)
Definition AudioLoggerIDF.h:28
#define LOGE(...)
Definition AudioLoggerIDF.h:30
VideoFormat
Video codec/pixel-format identifier, shared by two unrelated uses: the (single) video stream of a con...
Definition VideoOutput.h:29
size_t videoFrameSizeBytes(VideoFormat format, uint16_t width, uint16_t height)
Fixed per-frame size (bytes) for a raw/uncompressed VideoFormat at the given resolution - 0 for compr...
Definition Video.h:27