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 need to call vb2_buffer_done() with a filled buffer. > > What I DON'T understand is how should I fill such buffer? > I mean, what *format* comes inside the isoc buffer? > > Should I look at saa7113 datasheet? 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. The EM28xx chip programming might rearrange some data, but I have no knowledge or experience with the eMPIA chips. Regards, Andy > Should I base in em28xx? > > I'm sorry to ask such a generic question. > Perhaps, someone cares enough to give me a hint. > > Thanks, > Ezequiel. > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html