I'm poking around the v4l sample application and sample driver v4lcap
and wondered it was possible to use this sample driver as a model to
"read" a video file through the v4l device. I thought this might be an
interesting project to learn a few things...

In place of the static color bar image, perhaps one could read a frame
from a file instead. I have a question:

Are the v4l capture buffers filled as part of an interrupt handler? Or
more generally how are interrupts handled in v4l? Reading a file from
inside a driver (while normally dumb? needs happen within a process
context and so I'd need to figure that out...)

I've read a bit about wait queues so perhaps I need to put each frame
read onto the scheduler queue (or my own queue) to provide a process
context. Then tell the capture to wait until my task has returned. Not
sure about any of this as kernel stuff is new to me.
-- 



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to