Re: frame buffer

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



Edgard Alexander Sotter wrote:

[snip]

> someone told me that I have to work with video_buffer struct,
> anyone has experience in work with this struct???... anyone has a example of
> grabbing image in real time (video)??? using more than one buffer.
> 

I uploaded an attempt to use the double buffers to grab.
My primary source of information were the Programming txt found in xawtv
tarball.
The link is the same:

http://planeta.terra.com.br/informatica/gleicon/videodog.html

The process looks is: sync buffer one, grab buffer 2, sync buffer 2,
grab buffer 1.
I hope it helps, sorry but I did it in a hurry, its not the nicest code
overthere ... BTW if somebody got some clue to help improve this double
buffer grab code, I would thank a lot. Probably I will do a presentation
about video processing using linux, and would be very cool if I got some
almost-real time processing :-D

Regards.


-- 
Gleicon S. Moraes  

Writing about music is like dancing about architecture.
                -- Frank Zappa





[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