User`s manual

120 Appendix: GEME-VM3000 Series Introduction
@ Argument
Encoder_Index: Indicate the channel index for the MPEG4
encoder. The range of channels is 0 – 15.
Area: User can assign up to 4 motion detection areas in one
frame, the valid values are from 1 - 4.
enable:
1: enables motion detection
0: disables motion detection
Threshold: Determines the sensitivity of motion detection
measurement. The valid values are from 0 - 15, with 0 being
the highest sensitivity.
Interval: The time interval between measurements of
motion detection.
Action: This argument describes what actions the function
will do.
bit 0: Callback,
X_Start, Y_Start, Width, Height: Sets the boundary of
the motion detection area.
@ Return Code
@ Example
< VC/BCB >
int Result;
int Encoder_Index = 0;
int enable = 1;
int Threshold = 5;
int interval = 3;
int action = 1;
int area =1;
int X_Start = 0;
int Y_Start =0;
int Width = 160;
int Height = 120;
Result =
AngeloMPEG4_Encode_Set_Motion_Detection(Enc
oder_Index, area, enable, Threshold,