Vapoursynth-Plugins-Gitify / G41Fun

6 stars 4 forks source link

psharpen expr needs to be fixed #2

Closed theChaosCoder closed 3 years ago

theChaosCoder commented 3 years ago

Unprotected div... expr = 'x y / ...'

https://github.com/Vapoursynth-Plugins-Gitify/G41Fun/blob/baad3ee1f47a5ed0b8526bef083b938f900a0bc7/G41Fun.py#L192

https://github.com/vapoursynth/vapoursynth/issues/780

theChaosCoder commented 3 years ago

"Fixed" by switching to akarin.Expr() plugin for now.

If someone can properly fix the expression line, pls do.

theChaosCoder commented 3 years ago

Fixed by https://github.com/Vapoursynth-Plugins-Gitify/G41Fun/pull/4

AkarinVS commented 3 years ago

The reason for the difference in behavior of std.Expr and akarin.Expr is that they clamp nan (when the expression computes 0/0 it generates nan) differently.

theChaosCoder commented 3 years ago

Ah good to know. Thx for the explanation.