The implementation math forms are subsequently listed, where:
Legend: D = Destination S = Source a = alpha c = chroma (color) || = OR (logical operator); ? : = if (true/false) ... then (conditional ternary operator) |
Each line describes a pair with the left one for alpha and the right one for chroma.