Re: Xv MOX extensions multiple client overlays

2004-01-19 Thread Alexander Shopov
   Nearly all PC hardware has a single video (YUV) overlay engine.
Which means it not possible to display more that one overlay video
rectangle at a time.  Most hardware also has non-overlay mechanisms
for scaling and displaying YUV data, and many drivers expose
these as Xv adaptors.  For example, the driver I'm using exposes
1 overlay adaptor and 32 blit adaptors on my NVIDIA card.  If
the apps are smart enough to look for free adaptors, the first
instance will use the overlay adaptor and subsequent ones will
use the blit adaptors.
Thanx very much for this info! I did not know that. This gives me a 
great opportunity to pester app developers to improve Xv usage.
Is the number of blit adaptos hardware limited or is it determined by 
the xfree86 module?
Furthermore is my understanding correct: a single window app will be 
able to use the hardware accelerated YUV video scaling engine. Others 
will have to use software (or is it hardware but non-overlay mechanism?) 
scaling/transfromation of YUV data that still can be visualized using 
Xv? What is the performance hit of using video overlay to non-overlay 
mechanism?
And if someone wonders how my questions started: Sun Microsystems 
recently announced sth called Looking Glass 
(http://www.sun.com/bigadmin/xtreme/shows/lg_media.html) (WARNING - 
Quick Time movie!)
I was wondering whether they were using video overlays for the movie 
apps and whether it would be possible to use many apps per a single 
overlay hardware.
Best regards:
al_shopov
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Xv MOX extensions multiple client overlays

2004-01-17 Thread Mark Vojkovich
   Your link isn't related.  "Overlay" in the traditional X-Window
sense of the word means that windows go into different layers and
do not clip each other.  This is a workstation feature and is
popular with the CAD and DCC folks.  XFree86 supports this type of
non-destructive overlays on the hardware that supports it (very
few).  This has nothing to do with video.

   Nearly all PC hardware has a single video (YUV) overlay engine.
Which means it not possible to display more that one overlay video
rectangle at a time.  Most hardware also has non-overlay mechanisms
for scaling and displaying YUV data, and many drivers expose
these as Xv adaptors.  For example, the driver I'm using exposes
1 overlay adaptor and 32 blit adaptors on my NVIDIA card.  If
the apps are smart enough to look for free adaptors, the first
instance will use the overlay adaptor and subsequent ones will
use the blit adaptors.


Mark.


On Sat, 17 Jan 2004, Alexander Shopov wrote:

> Hi guys,
> I am interested whether it is possible for multiple clients to use a 
> single overlay (possibly via the Xv extension)? I am not talking about 
> multi head video cards that have several overlays - one for each monitor 
> but instead normal cards. If one application uses Xv, does it occupy it 
> exclusively?
> I am also interested whether this extension - MOX 
> http://www.techsource.com/mox.htm#x11extension has been integrated or 
> deprecated in Xfree86?
> Best regards:
> al_shopov
> ___
> Devel mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/devel
> 

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Xv MOX extensions multiple client overlays

2004-01-17 Thread Alexander Shopov
What about using a single overlay with multiple clients? (3 mplayers for 
example)
Best regards:
al_shopov
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Xv MOX extensions multiple client overlays

2004-01-17 Thread Mike A. Harris
On Sat, 17 Jan 2004, Alexander Shopov wrote:

>I am also interested whether this extension - MOX 
>http://www.techsource.com/mox.htm#x11extension has been integrated or 
>deprecated in Xfree86?

It appears that the MOX extension, is a proprietary X11 extension
which only exists in that company's X server (Tech Source), at 
least that's what I see when I read that webpage.

It has not ever been part of the official X11 standard, nor part
of the X.org sample implementation nor XFree86 implementation at
least to my knowledge, and as far as I can see from that webpage
at least, it is not open source and never was.

It has not been deprecated from XFree86, because it would have
had to at one point been included in XFree86 in order to
deprecate it, and it wasn't, so that's not possible.  ;o)

Keith Packard has been working on various X extensions lately on
freedesktop.org, including the XFIXES extension, DAMAGE
extension, and COMPOSITE extension, bits of which provide similar
functionality in the freedesktop.org kdrive xserver to what MOX
appears to do.  This functionality is not available (yet at
least) in XFree86 core X server, however it's theoretically
possible that someone could port Keith's extensions to the
XFree86 DDX in the future, once they're considered feature
complete and ready.

You may wish to investigate the freedesktop.org experimental X 
server, to see how the current development compares to MOX.  It 
might be interesting to discuss any suggestions for improvement, 
etc. on the xserver mailing list on fd.o also, as things are in 
development and not locked in stone currently, and feedback is 
always appreciated by developers.

Hope this helps.


-- 
Mike A. Harris

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Xv MOX extensions multiple client overlays

2004-01-17 Thread Alexander Shopov
Hi guys,
I am interested whether it is possible for multiple clients to use a 
single overlay (possibly via the Xv extension)? I am not talking about 
multi head video cards that have several overlays - one for each monitor 
but instead normal cards. If one application uses Xv, does it occupy it 
exclusively?
I am also interested whether this extension - MOX 
http://www.techsource.com/mox.htm#x11extension has been integrated or 
deprecated in Xfree86?
Best regards:
al_shopov
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel