Skip to content

Overlay full mask does not equal an omitted mask in integer modes #512

Description

@pinterf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions