mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
[V4L2] more conversion fixes
This commit is contained in:
parent
bc29115692
commit
8f78112261
@ -135,7 +135,7 @@ static void process_image(void *data, const void *p)
|
|||||||
|
|
||||||
for (y = 0; y < v4l->height; y++)
|
for (y = 0; y < v4l->height; y++)
|
||||||
for (x = 0; x < v4l->width; x += 2)
|
for (x = 0; x < v4l->width; x += 2)
|
||||||
YUV422_to_RGB((uint32_t *)(buffer_dst + (y * v4l->width + x) * 3),
|
YUV422_to_RGB((uint32_t *)(buffer_dst + (y * v4l->width + x) * 4),
|
||||||
buffer_yuv + (y * v4l->width + x) * 2);
|
buffer_yuv + (y * v4l->width + x) * 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user