Re: frame capturing: some questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> I am a bit confused about the different options that I have for getting the 
> data from the driver: select() read() and mmap() (combined with 
> VIDIOCMCAPTURE and VIDIOSYNC).

select is waiting for data, not fetching it.

mmap lets you directly share the DMA ring buffer the card is using (so its
faster). read() tends to be a lot easier to work with and when you have 
to copy the frame anyway no difference performance wise





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux