[mythtv] Patch for Via XvMC VLD QMatrix Decoding

Ivor Hewitt ivor at ivor.org
Mon Sep 20 09:30:03 EDT 2004


Terry Barnaby wrote:

> Hi,
>
> Thanks, but most of the underlying work has been done by Thomas 
> Hellström.
>
> I'm not sure as I havn't looked into the OSD, but the place to start 
> may be:
>
> 1. videoout_xvmc.cpp: VideoOutputXvMC::CreateXvMCBuffers()
>    This sets up a default palette based on the number of entries the 
> XvMC device
>    supports. This should be OK ?
> 2. The VideoOutput::BlendSurfaceToI44() function in videooutbase.cpp
>    generates the OSD. I believe this is a grayscale implementation ...
>
Terry,
As I mentioned on unichrome enhancing the via osd is my project for this 
week. :-)
Yes, it would be possible to patch up the BlendtoI44 to create a colour 
list... but when I did this before the performance was, um, less than 
impressive. Or to hack up a pseudo colour version of the palette... 
(which produced okish results but didn't get rid of the OSD stutter).

However, I was planning on creating a new OSDI44Surface type, to hold 
and handle the OSD in native format instead. I'll let you know if I get 
anywhere.

Regards,
Ivor.



More information about the mythtv-dev mailing list