Hi, Normally you can choose between mmap and read, mmap is usually the fastest. But with the bttv driver you don't have a choice since mmap is the only one implemented. I don't know how much detail you need, but using small images ofcourse also helps a lot in processing time. The vidcat program of the w3cam package is a relativly simple example to get started. Maybe not the most efficient since it is made for grabbing only one frame, but you will probably get it quick. Jeroen Daniel Martineschen wrote: > > I'm a student from the Federal University of Paraná, in Brazil, > and i'm a scholarship holder. We are developing a project of Robot Soccer, > and i am incharged of to make a driver to the camera. We use linux and a > bt848 camera. > I'd like to ask for suggestions about how to write a program that > can grab with a very great speed. > Thanks. > > Mit freundlichen Grüßen, > > Daniel Martineschen - UFPR - Brasil > PET - Informática > Bundesuniversität von Paraná - Brasilien > Federal University of Paraná - Brazil > > " A cor da pele nada pode dizer sobre nós." > " Die Farbe der Haut kann nichts über uns sagen." > " The color of the skin can't say anything about > us." > Knut Kiesewetter > > _______________________________________________ > Video4linux-list mailing list > Video4linux-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/video4linux-list