[MPlayer-dev-eng] Writing a brand new D3D video output to fix Vista Aero disabling

elupus elupus at ecce.se
Wed Jun 4 15:47:19 CEST 2008


On that yuv->rgb pixelshaders. We have two in xbmc's d3d renderer for mplayer. 
Now it's a very specialiced renderer that only support yv12, and an extremly 
messy codebase. But you can steal the pixelshader code. 

One of them does yuv -> rgb in one pass, and is quite accurate. The other uses 
a lookup texture and should be about as accurate you can get. 
xbmc/cores/VideoRenderers/*

RGBRenderer(2).cpp is the lookup version that uses two passes. (the 2 version 
does deinterlacing by a combination bob+weave, the other can just do either 
bob or weave).

PixelShaderRenderer.cpp is the one-pass one (code is actually in 
XBoxRenderer.cpp).

Cheers
Joakim




More information about the MPlayer-dev-eng mailing list