Re: Xv(ideo) and Video4Linux on i810, bttv

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



On Fri, Feb 16, 2001 at 03:45:11PM -0500, Peter Kaczowka wrote:
> Michael,
> 
> > There should be no need to set the background to the colour key.
>  >The drivers blit the colour key into the drawable, respecting whatever
> > clipping needs to be done.
> 
> By "drivers", you mean the DDX graphics drivers, not the v4l driver, right?  I
> should be still be able though to use the colour key to place graphics (such as
> captions) over the video the video by:
[snip]
> Will that work?  If not, then it's a shame; the i810 hardware is then not being
> used to full advantage.

I suspect that none of it will work at present because you don't have
offscreen surface support :o)

But for the drivers that do have it (and yes I mean the drivers that are
displaying the overlay) They currently use XAA to blit the colour key
and, as you say, that will break any clever usage of the colour key.

If you look at the xpert list on http://www.xfree.org you'll see that
very topic discussed, and a proposed XV_DONT_BLIT_THE_COLORKEY to stop
the driver doing the blit. Note the silly XV attribute name is my
invention, I don't know what the attribute name will be.

> Thanks for the pointer to xawtv's xvideo, which I can build :-)  It fails as
> shown below; my test code doesn't fail this way, but doesn't work either :-)
> Note that  "./xvideo -port 35" (specifying video port) fails the same way.

I think it's --port with 2 -'s. If its not that simple, then I'd guess
you are going to struggle debugging this without the XF4 source in front
of you. v4l.c is worth studying to see why you probably aren't even going
to get a yuv overlay yet, and the i810 driver is the place to c&p the
offscreen surface support into ;)

-- 
Michael.





[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