Userspace workaround for the wrong TC358743 RGB bytes ordering

- https://github.com/raspberrypi/linux/issues/6068
This commit is contained in:
Maxim Devaev
2024-03-26 18:35:13 +02:00
parent 290282b6b6
commit 7015a26a63
4 changed files with 23 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ static void _main_loop(void) {
cap->path = "/dev/kvmd-video";
cap->n_bufs = 6;
cap->format = V4L2_PIX_FMT_RGB24;
cap->format_swap_rgb = true;
cap->dv_timings = true;
cap->persistent = true;
cap->dma_export = true;