[Xorg] Implementing "Xv" extension on DDX whichdon'tsupportitin hardware...

Roland Mainz roland.mainz at nrubsig.org
Mon Jul 12 12:49:23 PDT 2004


Egbert Eich wrote:
>  > > > Typically its the background pixel color of the Xv client application.
>  > >
>  > > No, I mean: Which "side" paints the color key ? The Xv implementation in
>  > > the Xserver or the X client ?
>  >
>  > As I said, the client. This is perhaps unfortunate, clearly it is the
>  > ddx Xv implementation which has the knowledge about color keying, but
>  > this is not the design of X where windows have backgrounds and those
>  > backgrounds are automatically repainted by non Xv aware portions of the
>  > server.
> 
> This is not correct. The color key is entirely handeled witin the DDX
> - or better to say the driver.
> The XV extension is instructed to fill a certain drawable with data from
> the video source. How this is done depends entirely on the underlaying
> HW. Therefore letting the driver fill the visible areas of this drawable
> with a color key is perfectly valid.

Egbert:
Does that mean that it's valid that a fallback implementation for Xv
simply converts YUV to RGB and renderes using the PutImage() hook ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)




More information about the xorg mailing list