> I'm trying to acquire video using user pointers, following > the idea explained in > > http://www.mail-archive.com/[email protected] > vincidsp.com/msg12884.html > > I am using MVL 5.0 and I want to use buffers allocated with > codec engine to exchange data quickly between arm and dsp.
I haven't personally used MVL 5.0, so I don't know if it supports USERPTR I/O or not. However, I would imagine that mmap'd I/O would work out of the box, since this is the official bundle, if you wanted to go that route. My problem was that CMEM couldn't deal with the mmap'd buffers in 2.6.28, which is why I toyed with USERPTR. > > Since the VIDIOC_DQBUF ioctl gives me an error whren I try to > pass buffers to he driver, I just would like to know if > USERPTR is supported for video capture by MVL5.0 kernel or not. > Which error is DQBUF giving you? Did you give the driver a REQBUF first to switch it into USERPTR I/O mode? _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
