User`s manual

Function Library 59
enable, Threshold, interval, action: Longint,
area:Longint, X_Star:Longint, Y_Start:Longint,
Width: Longint, Height:Longint;
begin
Decoder_Index:= 0;
enable := 1;
Threshold := 5;
Interval := 3; // 3 sec
Action := 1+4; // callback & send motion image
area =1;
X_Start = 0;
Y_Start =0;
Width = 160;
Height = 120;
if (enable = 1) then
Result =
AngeloMPEG4_Decode_Set_Motion_Detection
(Decod
er_Index, area, enable, Threshold, interval,
action, X_Start, Y_Start, Width, Height)
else // disable motion detection
Result =
AngeloMPEG4_Decode_Set_Motion_Detection
(Decod
er_Index, area, 0, Threshold, interval, action,
X_Start, Y_Start, Width, Height);
end;
AngeloMPEG4_Decode_Get_Config–
@ Syntax
C/C++ (Windows 98/NT/2000/XP)
int AngeloMPEG4_Decode_Get_Config(int Decoder_Index, int* iWidth, int* iHeight,
int* video_format, int* color_format, int* Bitrate, int* frame_rate);
Visual Basic(Windows 98/NT/2000/XP)
AngeloMPEG4_Decode_Get_Config (ByVal Decoder_Index As Long, ByRef iWidth
As Long, ByRef iHeight As Long, ByRef Video_Format As Long, ByRef color_format
As Long, ByRef Bitrate As Long, ByRef frame_rate As Long) As Long
Delphi (Windows 98/NT/2000/XP)
AngeloMPEG4_Decode_Get_Config(Decoder_Index:Longint; var iWidth:Longint; var
iHeight:Longint; var videoformat:Longint; var colorspace:Longint; var Bitrate:Longint;
var frame_rate:Longint):Longint;
@ Argument
Decoder_Index
:
Indicates the channel index of the decoder. The range of channels is 0 - 15.
iWidth: