User manual

Automation Protocol Video Commands
Miranda Technologies Ltd Page 55
Set Key Linear or Full D
Full key refers to the standard keying algorithm where the Fill signal needs
to be multiplied by the Key signal prior to adding it to the Background signal.
The equation for this is: Output = Key x Fill + (1-Key) x Bgnd
Linear key is more typically called Additive Keying. This requires the
foreground image to be ‘pre-composited’ onto a black matte. The equation
for this is: Output = Fill + (1-Key) x Bgnd
CMD Param_1 Param_2
D Layer No. 0=Full, 1=Linear
Example:
void SetKeyMode(int Layer, int Mode)
{
remote_send("D%x %x", Input, Mode);
}