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

Roland Mainz roland.mainz at nrubsig.org
Mon Jul 12 11:16:56 PDT 2004


John Dennis wrote:
> 
> > > > Are the "Xv" overlays _required_ to leave the underlying framebuffer
> > > > contents intact ?
> > >
> > > No, most XV implementations paint a color key on the underlying
> > > framebuffer,
> >
> > Who paints the color key ? The server-side part of "Xv" ?
> 
> 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 ?

> > Would it be possible to implement a "generic" codepath in Xv which
> > renders the image using PutImage when there is no special support for Xv
> > in the DDX ?
> 
> I used to work for a company that made set-top boxes running Linux and X
> Windows. There are two basic problems with this approach we ran into.
> Most video sources deliver their image data as YUV, not RGB, so you
> would need color space conversion prior to PutImage (actually the shared
> memory variant).

I am aware of the conversion problem... but it is still better than
having no Xv extension at all... :)
And it saves bandwidth in the case of remote X11...

----

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