[MPlayer-dev-eng] libdha rewrite

Sascha Sommer saschasommer at freenet.de
Sun Aug 22 14:18:32 CEST 2004


On Friday 20 August 2004 18:28, Dmitry Baryshkov wrote:
> Hello,
>
> On Fri, Aug 20, 2004 at 04:29:55PM +0000, Sascha Sommer wrote:
> > On Friday 20 August 2004 12:55, Dmitry Baryshkov wrote:
> >
> > Maybe it is a good idea to send this patch to vidix.sf.net, too.
>
> Maybe a good idea. WIll do in some minutes. Didn't do it because
> vidix.sf.net seemed dead last time I checked it.
>
>
> BTW: Could you please verify, that it works with Win platforms?

Just tested it with the dhahelperwin driver, but it didn't work. The Problem 
is that this driver an only be opened in one instance because it overwrites 
some
permission table in windows to get portio working from userspace ;)
In the old libdha disable_io was called before the mapping, but this won't 
work for some drivers, that do port io.  
Moreover cyberblade and sis drivers are using INPORT and other macros that are 
not defined on windows at all so they won't compile at all with your version.  
It would also be nice to have some private context and a possibility to have 
combined drivers that do portio and mmap. That would be helpfull for windows
and svgalib helper and kernelhelpers for linux, too.
Another not so nice thing is the duplication of the IsNT function.
After all vidix on windows is just a big hack and I wonder if it shouldn't be 
disabled at all, because most cards have working and fast directx drivers.

Sascha




More information about the MPlayer-dev-eng mailing list