video display

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



I am trying to write a small program that uses the video4linux
interface. Basically, I want to take input from a video capture
card. (The card has no tuner.) I need to display the captured image on the
screen. "Overlay" mode is not useful here though; I need to be able to
edit the image a little bit before X draws it.

I have a working program now, but I'd like to reduce the CPU usage if
possible. I'd like to improve its frame rate at 640x480, 16 bit RGB.

So my question is, how do programs like xawtv manage to get away with a
high frame rate even when NOT using overlay mode? I am using mmap() and
the VIDIOCMCAPTURE/VIDIOCSYNC ioctls. One major problem I have now is that
I have to copy all the video data from where v4l dumps it into my display
buffer using memcpy(). Are there any methods I could use to make the process faster?

- Colin McCabe


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/





[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