Log in

View Full Version : LimitedSharpenFaster versions?


AntiJw
28th October 2008, 00:29
Hey,
I wonder, which is the latest/recommended version of LSF?
This say "2.0b":
http://avisynth.org/mediawiki/LimitedSharpen

there is a LSF-version in the masktools-v2.0a35-package also, and this, "A variation on LimitedSharpenBeta by mg262":
http://avisynth.org/LimitedSharpen#LimitedSharpenFaster

All three are different versions.
Thanks in advance.

EDIT: I just read "Note: this site is now read-only. For the most up-to-date information, please visit the new Avisynth MediaWiki" in the 'mg262'-LSF page, so it's probably not recommended.

pitch.fr
28th October 2008, 00:53
latest version of MT2 crashes sometimes with LSF for me, I had to use 2.0.32

I use a spline36 variation of LSF, I can post it if you like

AntiJw
28th October 2008, 01:05
latest version of MT2 crashes sometimes with LSF for me, I had to use 2.0.32

I use a spline36 variation of LSF, I can post it if you likeThanks, but the first one I wrote uses spline36 (the other two uses lanczosresize). I just read spline36 is recommended over lanczosresize (IIRC spline36 saves more detail, when I saw a picture-comparison of them two).
Although if your version sharpens with higher quality, I'd appreciate it if you write the link.
For me LSF crashes also sometimes with masktools-v2.0a35.

pitch.fr
28th October 2008, 02:13
oops you got me, I didn't realize there was so many variations.

I will benchmark them tomorrow, I could always use a faster LSF :)

I guess they're all mods of the same SMode=3, the only and best one in LSF last time I checked.

AntiJw
28th October 2008, 03:44
oops you got me, I didn't realize there was so many variations.

I will benchmark them tomorrow, I could always use a faster LSF :)

I guess they're all mods of the same SMode=3, the only and best one in LSF last time I checked.I'm looking forward to your benchmark :) Although I prefer spline36-versions (as you do too) over lanczosresize.
The lanczosresize-versions are very similar.

talen9
28th October 2008, 14:22
See here (http://avisynth.org/mediawiki/LimitedSharpen), this should be Didée's reference one (see the link at the bottom of the page for the avs).

pitch.fr
28th October 2008, 14:28
ok, here are the fps results in VDUB on a Q6600 in MT(,4) in ss1.0 :

2.0b : 297-300
mg262: 302-305
LimitedSharpenBeta.avsi : 168
LimitedSharpenBetaMT2.avsi : 166
"floating around" from wiki : 297

I've redone the test several times, the mg262 is always very slighty faster.

AntiJw
28th October 2008, 17:11
ok, here are the fps results in VDUB on a Q6600 in MT(,4) in ss1.0 :

2.0b : 297-300
mg262: 302-305
LimitedSharpenBeta.avsi : 168
LimitedSharpenBetaMT2.avsi : 166
"floating around" from wiki : 297

I've redone the test several times, the mg262 is always very slighty faster.Okey, thanks for the test. I'll use 2.0b, it seems good (spline36+rather fast), as 'talen9' also said.

EDIT: Yes, I could "replace "lanczosresize" by "spline36resize"", but I don't trust (for quality, because I won't use it in realtime) the scripter that used lanczosresize, s/he might have other low-quality settings :-P

pitch.fr
28th October 2008, 17:20
well except for realtime use in ffdshow, I don't think that a few percents faster would make any difference.

OTOH you can edit any build and replace "lanczosresize" by "spline36resize" ;)

Sagekilla
29th October 2008, 07:01
297 fps vs 305 fps isn't really much of a difference. By then, such low increases might translate to a real world of 1 or 2% faster, if that.


Don't fret over it too much ;) I'd advise the mediawiki version, and as pitch.fr said it's very easy to convert for Spline (Just do a find and replace for Lanczos --> Spline36)

talen9
29th October 2008, 09:56
I'd advise the mediawiki version, and as pitch.fr said it's very easy to convert for Spline (Just do a find and replace for Lanczos --> Spline36)

The mediawiki version uses Spline36 already :)

pitch.fr
29th October 2008, 10:16
297 fps vs 305 fps isn't really much of a difference. By then, such low increases might translate to a real world of 1 or 2% faster, if that.
well I ran benchmarks in VDUB with all my scripts(SmoothLevels/LSF/GrainFactory/AviShader), and this version is definitely a few % faster :eek:
considering I use it in realtime in ffdshow, I'm very happy :D
thanks to the OP for the heads up!

pitch.fr
29th October 2008, 14:38
so it seems that the version from mg262 that requires both MT2 and limitedsupport.dll is actually older than the MT2 version ?
http://forum.doom9.org/showthread.php?t=125343

how come it's faster then :confused:

EDIT : http://forum.doom9.org/showpost.php?p=743734&postcount=297

EDIT 2 : I guess we also need to change this ?
http://forum.doom9.org/showpost.php?p=762323&postcount=396

it seems to slightly increase the speed as well