Hi,
I'm using DM6446 with DVSDK 2.0.0.22. I would like to capture using V4L, but instead of using MMAP (which I also tested, and it works), I'm using V4L2_MEMORY_USERPTR. Unfortunately, when I get to this fragment of code:
ret = ioctl( captureFd, VIDIOC_QBUF, &buf );
if( ret == -1 )
{
if(errno == EINVAL)
printf("EINVAL problem");
ERR( "VIODIOC_QBUF failed on file descriptor %d\n", captureFd );
failure_procedure(); // macro defined at top of this function
}
I get an EINVAL error set in errno. My question is: does DM6446n support V4L2_MEMORY_USERPTR?
Another question is: should I use DMAI instead of this approach? Is it worth considering?
Thanks
Gab