Hi Brian,

On Sunday 30 December 2007, Brian Pin wrote:
> Hi Laurent,
> Can I say that one URB corresponds to one frame only?

No, a frame can be split across multiple URBs.

> Because I saw the driver send out multiple URB at a time,
>
>  for (i = 0; i < UVC_URBS; ++i) {
>   if ((ret = usb_submit_urb(video->urb[i], GFP_KERNEL)) < 0) {
>
> and this goes to the following question that
> what if a URB is not capable of containing one frame...

The driver will copy data from multiple URBs to the video frame buffer.

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to