HI
i tried this code
https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors/173737/1/v4lcap.c
unfortunately the call to memcpy from
buffers[buf.index].start[0]
is very slow about 10 ms with an image size 640*480
i thing it is due to the VB2_MEMORY_MMAP mode
i tried with V4L2_MEMORY_DMABUF but ioctl failed
Is the slow memcpy due to the memory mode ?
Is there a working exemple with V4L2_MEMORY_DMABUF and V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE ?
Greeting
Olivier