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 elezegar...@gmail.com 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

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Ezequiel García
2012/3/20 Andy Walls awa...@md.metrocast.net: 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

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Devin Heitmueller
2012/3/21 Ezequiel García elezegar...@gmail.com: 2012/3/20 Andy Walls awa...@md.metrocast.net: 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

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Ezequiel García
Hi, 2012/3/21 Jean-Francois Moine moin...@free.fr: 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

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Ezequiel García
Hi, 2012/3/21 Devin Heitmueller dheitmuel...@kernellabs.com: 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).  

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Devin Heitmueller
2012/3/21 Ezequiel García elezegar...@gmail.com: 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

Re: [Q] v4l buffer format inside isoc

2012-03-21 Thread Ezequiel García
2012/3/21 Devin Heitmueller dheitmuel...@kernellabs.com: 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

[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

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 understand I