As reported by the unit test here:
HomeOfAviSynthPlusEvolution/AviSynthPlus-UT#25
In "Overlay" filter modes Add, Darken, Lighten, Difference, Exclusion, SoftLight, and HardLight, the full mask does not equal an omitted mask in integer modes.
Expected result: the edge case maximum (full) mask must return the same clip as if we don't pass the mask at all.
The MagicDiv logic is already used in "Layer" and in Overlay "Mul", it just has to be applied.
As reported by the unit test here:
HomeOfAviSynthPlusEvolution/AviSynthPlus-UT#25
In "Overlay" filter modes Add, Darken, Lighten, Difference, Exclusion, SoftLight, and HardLight, the full mask does not equal an omitted mask in integer modes.
Expected result: the edge case maximum (full) mask must return the same clip as if we don't pass the mask at all.
The MagicDiv logic is already used in "Layer" and in Overlay "Mul", it just has to be applied.