Hi! Another question from a newcomer... I'm having some trouble
understanding the use of VIDIOC_DQBUF in v4l2. I know that it dequeues one
frame buffer. But how do I access the frame (the picture) itself? Where is
the data located after the call?

In a sample application from thedirks.org (XCAPTEST) I understood that
after the VIDIOC_DQBUF call the frame is somehow miraculously ;) located
in a global variable
        XImage *capt_ximg[STREAMBUFS];
In computer programming I don't believe in miracles, so could
someone tell me what I'm missing here?

Thank you!

--
Esa Ikonen
[EMAIL PROTECTED]



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

Reply via email to