Re: [linux-usb-devel] sending zero-length packets (video gadget)

2007-01-19 Thread David Brownell
On Friday 19 January 2007 5:50 am, Patrik Nagel wrote: > > So, do I only need to set the payload length of the remaining (but > "unused") packets to zero to keep the frame rate? Must I also omit the > two-byte UVC header? If you don't provide the ISO packet data, that hardware automagically sen

Re: [linux-usb-devel] sending zero-length packets

2007-01-19 Thread Patrik Nagel
Hi Alan, Alan Stern wrote: > On Fri, 19 Jan 2007, Patrik Nagel wrote: > >> I'm writing an USB Video Class Driver (UVC) to use the DaVinci EVM as a >> video class device. >> > > This sounds like you're writing a driver for the host, not the camera. > But what you write below contradicts

Re: [linux-usb-devel] sending zero-length packets

2007-01-19 Thread Alan Stern
On Fri, 19 Jan 2007, Patrik Nagel wrote: > Hi, > > I'm writing an USB Video Class Driver (UVC) to use the DaVinci EVM as a > video class device. This sounds like you're writing a driver for the host, not the camera. But what you write below contradicts that. > I want to stream with 30fps, so

[linux-usb-devel] sending zero-length packets

2007-01-19 Thread Patrik Nagel
Hi, I'm writing an USB Video Class Driver (UVC) to use the DaVinci EVM as a video class device. I want to stream with 30fps, so the maximum number of uframes per video frame is 266. But I do only fill 240 uframes [1] with payload data to transmit one video frame over the isochronous in-endpoin