


# base on Dither_limit_dif16 idea (not 100% same output)įunction slimit_dif(clip "flt", clip "src", clip "ref", float "thr", float "elast", int "Y", int "U", int "V", bool "elastinfl")Įlast2 = elast > 1.0 ? elast * thr : elastĪssert(!(elast < 1), "slimit_dif: elast must be more than 1")Īssert((defined(flt) & defined(src)), "slimit_dif: both flt clip and src clip are needed")
