Log in

View Full Version : Planar2Interleaved function can't be found


Maraza
4th January 2013, 20:16
Hi,
I'm getting the avisynth error:

Script error: there is no function named "Planar2Interleaved"

and when trying to load SSE2Tools.dll and RemoveDirtSSE2.dll:

unable to load "C:\Program Files\AviSynth 2.5\plugins\SSE2Tools.dll", error=0x7e

and the same for RemoveDirtSSE2.dll as well.

the script contains:


LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\SSE2Tools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveDirtSSE2.dll")


s=AviSource("test.avi")

d=mdenoise (s,400,220,255)


return d

function mdenoise (clip s, int thSAD, int thSADC, int lim)
{

super = MSuper(s, planar=true)
bv1 = MAnalyse(super, blksize=8, isb = true, delta = 1, overlap=4)
fv1 = MAnalyse(super, blksize=8, isb = false, delta = 1, overlap=4)
bv2 = MAnalyse(super, blksize=8, isb = true, delta = 2, overlap=4)
fv2 = MAnalyse(super, blksize=8, isb = false, delta = 2, overlap=4)
bv3 = MAnalyse(super, blksize=8, isb = true, delta = 3, overlap=4)
fv3 = MAnalyse(super, blksize=8, isb = false, delta = 3, overlap=4)

temp=MDegrain3(s,super,bv1,fv1,bv2,fv2,bv3,fv3,thSAD=thSAD,thSADC=thSADC,limit=lim,planar=true)
return (Planar2Interleaved(temp))

}

I've used MDegrain3 with mvtools some time and decided to move all avisynth plugins to new pc with freshly installed WinXp.
And for some reason the Planar2Interleaved function located in the SSE2Tools.dll (30720 bytes) can't be opened... :(
I'm started to use avisynth 2.6 version.

Wilbert
4th January 2013, 21:11
Perhaps your processor doesn't support SSE2. There's also a SSETools.dll version somewhere.

IanB
4th January 2013, 21:22
winerror 0x7e 126 ERROR_MOD_NOT_FOUND

You are missing a support library needed for the SSE2Tools.dll your trying to use. Probably one of the MSVC runtimes version 7, 8, 9 or 10.

Maraza
4th January 2013, 23:07
winerror 0x7e 126 ERROR_MOD_NOT_FOUND

You are missing a support library needed for the SSE2Tools.dll your trying to use. Probably one of the MSVC runtimes version 7, 8, 9 or 10.



Planar2Interleaved function is working from SSETools.dll although (found on http://avisynth.org/warpenterprises/). CPU-Z utility shows that SSE2 and even SSE3 is supported, http://bayimg.com/kaiEHaaED. It's absolutely not clear for me why SSE2Tools.dll is can't be loaded even after C++ updates and pc reboot.

OS: WinXP SP3. The error message (http://bayimg.com/MAiEOaAeD) still the same when trying to "LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\SSE2Tools.dll")"


I've installed these:

Microsoft Visual C++ 2005 Redistributable Package (x86)
http://www.microsoft.com/en-us/download/details.aspx?id=3387
Microsoft Visual C++ 2008 Redistributable Package (x86)
http://www.microsoft.com/en-us/download/details.aspx?id=29
Microsoft Visual C++ 2010 Redistributable Package (x86)
http://www.microsoft.com/en-us/download/details.aspx?id=5555

StainlessS
31st March 2013, 12:15
Old thread but I thought issue should be closed.
SSEtools requires MSVCR71.dll from I think VS toolkit 3 or VS Dot Net 2003.