Beatrice-Raws / VapourSynth-insaneAA

InsaneAA Anti-Aliasing Script
MIT License
20 stars 3 forks source link

Slight mask optimization #1

Open kgrabs opened 4 years ago

kgrabs commented 4 years ago

For L134 it's a little faster to use the built-in parameter scale=2. The results are not exact but are ±1 with integer formats so that can be chalked up to rounding errors.

A quick test with ffms2 video input gave me

DJATOM commented 4 years ago

You can put external whateveryouwant mask clip and it will have zero overhead against internal one. The bottleneck of this script is not a mask anyway, but eedi3.

kgrabs commented 4 years ago

Yeah that's more or less why I didn't bother to make it a PR, but it wouldn't hurt to add it in next time there's a meaningful update.

DJATOM commented 4 years ago

I'll probably break things once again and allow to pass kwargs into filters in the next updates.