Alle 21:47, domenica 4 febbraio 2007, Laurent Pinchart ha scritto:
poll() without read() makes sense, using VIDIOC_DQBUF.
It has little sense. It looks like a mix of I/O methods from the user
point of view. Furthermore, poll() does not seem to start to
capture video data as expected. This is a
Hi Luca,
poll() without read() makes sense, using VIDIOC_DQBUF.
It has little sense. It looks like a mix of I/O methods from the user
point of view.
It isn't. The Linux UVC driver supports the streaming I/O with memory mapped
buffers only. This is allowed by the V4L2 spec:
The V4L2 API
Hi Luca,
after having had a rapid look at UVC driver internals, I saw that the
read() system call has not been implemented yet, while poll() is
implemented and can be called from userspace.
Apart from the V4L2 API, given that poll() is a standard
system call and is supposed to be closely