Support rendering YUV formatted frames

This commit is contained in:
Martijn Braam
2023-11-24 16:28:25 +01:00
parent 8a3f1a5540
commit 9d189b88b4
10 changed files with 146 additions and 53 deletions

View File

@@ -386,6 +386,7 @@ mp_camera_capture_buffer(MPCamera *camera, MPBuffer *buffer)
}
int format = camera->camera->current_mode->format;
assert(format != 0);
uint32_t width = camera->camera->current_mode->width;
uint32_t height = camera->camera->current_mode->height;