View Full Version : got gpu.dll to go, but now it needs to work in yv12.
Jeremy Duncan
26th August 2008, 12:46
i like how fft3dfilter uses the gpu.
i want somebody to make one that resizes lanczos using the gpu.
that way in ffdshow i can resize first and then run a script that uses the cpu.
nothing really fancy. just lanczos resize.
:thanks:
Atak_Snajpera
26th August 2008, 23:23
http://avisynth.org/oldwiki/index.php?page=GPU_001
.................
Jeremy Duncan
27th August 2008, 00:38
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\GPU.dll")
SetMemoryMax(1024)
GPU_LanczosResize(1920,1080)
link to plugin:
link (http://www.avisynth.info/?plugin=attach&refer=%A5%A2%A1%BC%A5%AB%A5%A4%A5%D6&openfile=GPU_001.zip)
error i got: gpu.dll is not a avisynth 2.5 plugin
click to resize
http://img375.imageshack.us/img375/3332/badswyq2.th.jpg (http://img375.imageshack.us/my.php?image=badswyq2.jpg)
my video card is a pcie 2600xt
i'm using this in ffdshow.
my plugin folder
http://img524.imageshack.us/img524/2516/pluginfolderly0.th.jpg (http://img524.imageshack.us/my.php?image=pluginfolderly0.jpg)
edit. i got it to go using yuy2 in ffdshow avisynth..
this is my script:
SetMemoryMax(1024)
GPU_Start()
GPU_LanczosResize(1920,1080)
GPU_End()
the cpu usage is more than when i simply use the cpu and ffdshow lanczos resize.
and when i try this code i get the error above, not a avisynth 2.5 plugin:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\gpu.dll")
SetMemoryMax(1024)
GPU_Start()
GPU_LanczosResize(1920,1080)
GPU_End()
edit.
i think the filter is running fine with the code i said works, since i can't add taps. and i can get syntax errors with it.
the main problem now is it needs yuy2 to run.
i need it to use yv12, which means the filter needs to cut out the other filters in the gpu.dll filter and just have lanczos so it can use yv12.
edit. ok i can verify that gpu.dll works, but only on yuy2.
i use seesaw and other filters that needs yv12, so i need gpu.dll to work in yv12.
can somebody please update gpu.dll to work in yv12?
Wilbert
27th August 2008, 17:09
error i got: gpu.dll is not a avisynth 2.5 plugin
The package also contains gpu25.dll. I can't read japanese, but i guess that's for AviSynth v2.5 (and the other one for v2.0).
Fizick
27th August 2008, 18:03
I see also _GPU25.dll mod
http://www.avisynth.info/?GPU%A5%D7%A5%E9%A5%B0%A5%A4%A5%F3#a25ae771
Jeremy Duncan
27th August 2008, 23:32
i tried using only the gpu25 package and it didn't go.
i needed the gpu.dll package too, and the gpu25 didn't change gpu.dll's performance.
the thing is i need to use convertyuy2 and convert yv12 if i'm going to use this resize with the gpu. but that really cuts into my available cpu i think.
also i did a comparison on the quality of these two scripts below and the latter script outperforms the first script in quality.
SetMemoryMax(1024)
GPU_Start()
GPU_LanczosResize(1920,1080)
GPU_End()
MT("LanczosResize(1920,last.height,Taps=8)",3)
MT("LanczosResize(last.width,1080,Taps=8)",3,splitvertical=true)
so i need two things from this plugin.
- yv12 in lanczosresize
- taps=8
as it is now it's not really that good.
it scales a bit better than ffdshow lanczos resize 2 taps, i don't know why.
Comatose
28th August 2008, 02:54
First, they are not identical (taps=8)... and I don't know if it's such a great idea doing resizing inside MT.
Jeremy Duncan
28th August 2008, 03:58
it does a good job though, and what do you mean their not identical? no idea what this means? :(
Fizick
28th August 2008, 04:34
there is old gpu25 and new _gpu25
Jeremy Duncan
28th August 2008, 05:59
the new one isn't called up by ffdshow automatically, and when i link to the plugin i get a error.
i need the old one for the gpu lanczos resize.
i tried to get the new one to be used by renaming in, liniing to it,trying automatic linking and it didn't go. it doesn't work. not for me anyway.
Jeremy Duncan
4th September 2008, 18:39
better yet, instead of only a lanczos gpu version that allows taps. there be a blackmanresize one too, allowing taps also.
CaMoTblku_OnToM
5th February 2009, 14:49
anybody can share _gpu25 (gpu25clone) all links is broken :(
NormanBates
14th February 2009, 13:04
I found this file on my harddisc
"_GPU25_Binary_Rev53.7z"
and uploaded it for you:
http://www.sendspace.com/file/3a8tlh
Fizick
14th February 2009, 17:29
mirror is:
http://www.avisynth.info/?%A5%A2%A1%BC%A5%AB%A5%A4%A5%D6#x44606bb
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.