User manual
Automation Protocol Video Commands
Miranda Technologies Ltd Page 50
Masking & Positioning Commands
Set Layer Mask 4
Loads the mask registers with the left, right, top, and bottom values defining
the size of the mask. In cascade mode, the mask registers of both layers may
be loaded, but in swap / preview mode, only the preview layer mask registers
may be loaded.
The left and right values must be from zero to the width of the image loaded
onto the layer specified (measured in pixels). Similarly the top and bottom
values must be from zero to the height of the image.
CMD Param_1 Param_2 Param_3 Param_4 Param_5 Param_6
(optional)
4 Layer No. Left Right Top Bottom Speed
Example:
void SetMask(int Layer, int Left, int Right,
int Top, int Bottom)
{
remote_send("4%x %x %x %x %x", Layer, Left,
Right, Top, Bottom);
}
Speed parameter is optional and is measured in pixels/lines per field.
Note: Speed is not implemented in Imagestore 300, Imagestore HD-
TV, Imagestore 750, LGK-3901 or DSK-3901
Layer Mask Enable 5
In cascade mode, the mask registers of both layers may be enabled/disabled,
but in swap/preview mode, only the preview layer mask registers may be
enabled/disabled.
CMD Param_1 Param_2
5 Layer No. 0=Disable , 1 =Enable