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/



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to