[mythtv] Patch for Via XvMC VLD QMatrix Decoding

Kenneth Aafløy lists at kenneth.aafloy.net
Fri Sep 24 19:53:20 EDT 2004


On Monday 20 September 2004 15:12, 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 ...

There is something wrong with the VLD decoding, I often get messages like 
this:

XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
[mpegvideo_xvmc_vld @ 0xb7a0a548]XvMCBeginSurface: Error: 2
[mpegvideo_xvmc_vld @ 0xb7a0a548]XvMCBeginSurface: Error: 2
[mpegvideo_xvmc_vld @ 0xb7a0a548]XvMCBeginSurface: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
2004-09-25 01:01:11 prebuffering pause
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
[mpegvideo_xvmc_vld @ 0xb7a0a548]XvMCBeginSurface: Error: 2
[mpegvideo_xvmc_vld @ 0xb7a0a548]XvMCBeginSurface: Error: 2
[mpegvideo_xvmc_vld @ 0xb7a0a548]XvMCBeginSurface: Error: 2

which switching back to xv decoding fixes. I also have experienced the CLE266 
decoder crashing hard, which I fixed in the old CLE266 decoding. This was 
occurring because incomplete slice arrays was sent to the decoder..

Kenneth


More information about the mythtv-dev mailing list