On Thu, 18 Oct 2001, Billy Biggs wrote:

> Sottek, Matthew J ([EMAIL PROTECTED]):
> 
> > It would be nice to have a software fallback so that you could do as
> > many Xv's as you wanted (slowly) but that isn't the way Xv was
> > designed. You'll have to convert the YUV data into RGB and do a
> > regular XShmPutImage in the second window.
> 
>   Such a capability needs to be in the client side, since different
> applications have different needs regarding the accuracy of the
> Y'CbCr->RGB conversion for optimization.  So, really here we just need a
> method where Xv can tell a client 'I only support one overlay at a
> time'.  I'm curious why the i810 driver would allow his code to get as
> far as he did.
> 
>   Sounds like a bug to me.

   No, he's just not using the interface correctly.  The number
of XvPorts offered is the number of simultaneous streams.  If
you don't grab the port before you are using it you can be 
prempted.  If nobody grabs the port everybody just preempts
each other.  There's a whole notification mechanism for this
including events that can be sent when you get prempted. 

   Normally, you want to grab the port before you use it.
If the grab fails, somebody else is using it.  If somebody
else trys to use it while you have it grabbed, their requests
will be ignored.


                        mark.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to