XvShmPutImage with XDraw commands

2003-11-12 Thread Steve Thrash
I am using XvShmPutImage to draw video via a YUV overlay into a window. Then I am using XDraw commands to draw "overlays" directly to the window (lines, arcs, text, etc.). When I do this the video image appears correctly, but the overlays do not update properly. Each time the overlays

Re: XvShmPutImage with XDraw commands

2003-11-12 Thread Tim Roberts
--Original Message Text--- From: Steve Thrash Date: Wed, 12 Nov 2003 13:09:01 -0500 I am using XvShmPutImage to draw video via a YUV overlay into a window. Then I am using XDraw commands to draw "overlays" directly to the window (lines, arcs, text, etc.). When I do this the video

Re: in6addr_any reference breaks libICE.so compatibility

2003-11-12 Thread Marc Aurele La France
On Tue, 11 Nov 2003, David Dawes wrote: On Mon, Nov 10, 2003 at 03:09:14PM -0500, David Dawes wrote: On Mon, Nov 10, 2003 at 11:36:54AM -0800, Alan Coopersmith wrote: David Dawes wrote: I've noticed that the reference to in6addr_any in xtrans has broken libICE.so compatibility, at least on

RE: XvShmPutImage with XDraw commands

2003-11-12 Thread Steve Thrash
Sorry, I'mkind of new to Xv. That makes perfect sense. Is there a way to force the expose event at the server without actually changing what is viewed (mapping/unmapping, moving, etc)? I tried XSendEvent, but that didn't seem to work. I am using XvShmPutImage to draw video via a YUV

RE: XvShmPutImage with XDraw commands

2003-11-12 Thread Steve Thrash
One more question - how can you tell what the chromakey value is? Do I need to use XGetImage or is there a better way? Sorry, I'mkind of new to Xv. That makes perfect sense. Is there a way to force the expose event at the server without actually changing what is viewed

Re: XvShmPutImage with XDraw commands

2003-11-12 Thread Mark Vojkovich
Most drivers implement XvShmPutImage as a video overlay. That means it's not draw into the window. It was not the intention that one should be able to render XvShmPutImage into a window along with normal Xlib rendering, subsequently, that type of thing is not supported in the general case.

Re: in6addr_any reference breaks libICE.so compatibility

2003-11-12 Thread David Dawes
On Wed, Nov 12, 2003 at 12:48:25PM -0700, Marc Aurele La France wrote: On Tue, 11 Nov 2003, David Dawes wrote: On Mon, Nov 10, 2003 at 03:09:14PM -0500, David Dawes wrote: On Mon, Nov 10, 2003 at 11:36:54AM -0800, Alan Coopersmith wrote: David Dawes wrote: I've noticed that the reference to

RE: XvShmPutImage with XDraw commands

2003-11-12 Thread Steve Thrash
Okay, the light bulb finally turned on! I see that the chromakey is something I can set via XvSetPortAttribute(). I also see what you mean about not directly putting the image and drawing the data to the window. The following sequence seems to be working well: For each video frame: 1.

RE: XvShmPutImage with XDraw commands

2003-11-12 Thread Mark Vojkovich
On Wed, 12 Nov 2003, Steve Thrash wrote: Okay, the light bulb finally turned on! I see that the chromakey is something I can set via XvSetPortAttribute(). I also see what you mean about not directly putting the image and drawing the data to the window. The following sequence seems to be