[MPlayer-dev-eng] Re: [PATCH] support for On2 vp6.2 video codec

Roberto Togni r_togni at tiscali.it
Mon Mar 15 20:42:42 CET 2004


On 2004.03.15 07:32, adland123 wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> stud.uni-karlsruhe.de>
> writes:
[...]
> My latest codec attempt is on a Video codec which has two Dlls A and
> B.
> I load A.dll in codecs.conf using the dshow driver.
> 
> I was able to implement the missing advapi32.dll function
> RegCreateKeyA
> inside win32.c from the wine source code for this dll.
> 
> (used to Store a key something about the company in registry)
> 
> but the decompress frame function is in the B dll and is also  
> unknown.
> 
> (B dll just has two functions compress and decompress frame)
> 
> obviously at this point since it cant decompress frames the playing
> fails.
> 
> Unsure how to proceed. I cant implement the function myself as the
> codec
> algorithm is unknown to me.
>
Try to add B.dll (warning: file name is case sensitive) to line 5219 if  
dll functions are referred by name (see vssh264code.dll) or to line  
5152 if referred by number (see vssh264dec.dll) in win32.c
In this way the loader will try to load B.dll instead of looking for  
emulated functions.
> And I am unsure how to allow the exported function in B.dll to be
> called
> from A.dll.
> 
> Any tips would be welcomed.
>
I'll look into your vp6 patch asap. BTW, we already patch QuickTime dll  
in memory, and i don't think we have any agreement with Apple :)

Ciao,
 Roberto




More information about the MPlayer-dev-eng mailing list