[mythtv] Off list: Chroma OSD (again)
danielk at cat.nyu.edu
Wed Jun 8 03:05:37 UTC 2005
On Tue, 2005-06-07 at 22:26 -0400, Isaac Richards wrote:
> > Have a look at BlendToBlack() in OSDSurface. If you still think
> > it's complicated I can write the BlendToChromaKey() function
> > for you.
> Just checking, but this mainly is only affecting the final stage drawing, not
> the internal compositing, right?
Right, the BlendToBlack() function works as a post process on an ARGB
buffer so that it can be blitted without having to do a full composite
if the background is all black (used in the signal monitor patch, but
I was thinking of the ChromaKey OSD). It is basically a hack to get
around slow software composits that won't be a problem anymore with the
new UI stuff. BlendToChromaKey() would be the same, once the new
UI stuff is in we probably won't need it unless XVideo is somehow
incompatible with MythUI's OpenGL drawing methods.
> yuv420 one for software blended OSD, argb for things like the pvr-350, could
> possibly do one for this sort of this, etc).
Cool, the slowest thing in Andy's ChromaKey OSD is the yuv->argb
conversion, which we won't need anymore...
How is the MythUI stuff going?
I've noticed you've made a lot of check-ins in the last few days...
More information about the mythtv-dev