open-source cross-platform real-time video effects plugin system

MaskMix

Freeframe ID: 
MskX
Number of Inputs: 
3
Platform: 
Windows
Plugin Type: 
Effect
License: 
Open Source
Freeframe Version: 
FF 1.0x
Developer: 
Chris Korda

Mixes two inputs according to a third mask input.

PARAMETERS:
1. Mask Mode: controls input roles: see table below
2. Mask Opacity: opacity of mask: 0 = none, 1 = max
3. Negate Mask: if non-zero, invert mask input

Mask mode table:

# ch1 ch2 mask
---- ---- ---- ----
0 src1 src2 src3
1 src1 src3 src2
2 src2 src3 src1
3 src2 src1 src3
4 src3 src1 src2
5 src3 src2 src1

Same behavior as vvDynaMask, but an order of magnitude faster.
Some interesting mask sources: Radar, CharGen/CharGenAA, TextGen/TextGenAA, WaveGen. If the mask input was TextGenAA (for example), the text would contain video source A, while the background would contain video source B. The mask input can be color instead of greyscale or monochrome; it's converted to luma by averaging its color channels.
MMX optimized. Supports 32-bit color only.