Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Ezequiel García
2012/3/21 Devin Heitmueller : > I'm not sure what you mean by "no video".  Do you have capture > disabled?  Are you saying that you didn't connect the video cable to > your input?  Most devices will continue to generate video frames over > isoc even if there is no actual video signal present. I me

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Devin Heitmueller
2012/3/21 Ezequiel García : > Ok. So, it's not saa7113 related, but rather stk1160 related? Yes. > When there is no video, isoc urbs are received with actual length=4. > This is header right? I'm not sure what you mean by "no video". Do you have capture disabled? Are you saying that you didn't

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Ezequiel García
Hi, 2012/3/21 Devin Heitmueller : > > Every USB bridge provides their raw video over isoc in a slightly > different format (not just in terms of the colorspace but also how to > read the isoc header to detect the start of video frame, which field > is being sent, etc).  Regarding the colorspace, i

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Ezequiel García
Hi, 2012/3/21 Jean-Francois Moine : > In the gspca test tarball (see my site), I merged the spca506 code into > the spca505 for a webcam which may also do analog video capture. The > webcam works, but the analog video capture has never been tested. > Also, the gspca_main <-> subdriver interface fo

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Devin Heitmueller
2012/3/21 Ezequiel García : > 2012/3/20 Andy Walls : > >> >> Section 8.10 of the SAA7113 data sheet shows 16 "data formats".  The >> interesting one for video is #15 Y:U:V 4:2:2. Every USB bridge provides their raw video over isoc in a slightly different format (not just in terms of the colorspace

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Ezequiel García
2012/3/20 Andy Walls : > > Section 8.10 of the SAA7113 data sheet shows 16 "data formats".  The > interesting one for video is #15 Y:U:V 4:2:2. Thanks. Perhaps, I should have done my homework. > > The EM28xx chip programming might rearrange some data, but I have no > knowledge or experience with

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Jean-Francois Moine
On Tue, 20 Mar 2012 21:05:13 -0300 Ezequiel García wrote: > I'm a little lost while writing a driver for an easycap device > (saa7113 capture device). > I have my isoc handler, and the isoc urb flying OK. > I also have the videobuf2 queue setup (or at least I think so), and I > understand > I ne

Re: [Q] v4l buffer format inside isoc

2012-03-20 Thread Andy Walls
On Tue, 2012-03-20 at 21:05 -0300, Ezequiel García wrote: > Hello, > > I'm a little lost while writing a driver for an easycap device > (saa7113 capture device). > I have my isoc handler, and the isoc urb flying OK. > I also have the videobuf2 queue setup (or at least I think so), and I > underst

[Q] v4l buffer format inside isoc

2012-03-20 Thread Ezequiel García
Hello, I'm a little lost while writing a driver for an easycap device (saa7113 capture device). I have my isoc handler, and the isoc urb flying OK. I also have the videobuf2 queue setup (or at least I think so), and I understand I need to call vb2_buffer_done() with a filled buffer. What I DON'T