[MPlayer-dev-eng] Writing a brand new D3D video output to fix Vista Aero disabling
Georgi Petrov
gogothebee at gmail.com
Fri May 30 18:10:04 CEST 2008
Hi Alban Bedel :)
We discussed this topic back then exactly with you :)
It turned out to be 2004:
http://www.itdp.de/mplayer-dev-eng/2004-03/msg00415.html
I don't remember the details, but I had a good reason. I only recall
that tdfx_vid was kernel mode driver written by you, but something
didn't quite work.... I don't have time right now, but tomorrow I'll
check the thread :)
It was something about the scaling - it didn't used overlay or the
other driver (the console one - something like tdfxfb) didn't used it,
BUT overlay was NEEDED in order to do bilinear scaling. Without
overlay only nearest neighborhood was used by the video hardware.
Just a quick info - I checked and in D3D9 you don't need necessary
VMR7/9. D3D9 can be used to create YV12/YUY2 surface and this is
enough. VMR7/9 is optional and you can still use D3D9 only for the
surface and without any VMR7/9.
Also as I preliminary understand VMR7/9 require DirectShow
initialization (I could be wrong) and I don't want to go that far.
About -vo gl:yuv=1 - it's slower than DirectDraw. Much slower. Try to
run e real movie and observe CPU usage. Especially taking into account
full screen or any size larger than the video itself. Try it ;)
More information about the MPlayer-dev-eng
mailing list