User`s manual

Function Library 55
<Delphi >
procedure DecoderCallbackProc(Decoder_Index:Longint;
int_status:Longint; VideoBufferaddress:Longint); stdcall
var
Str_Addr: Pointer;
Bitrate, Framerate, colorspace, videoformat: Longint;
begin
case int_status of
1: begin {********* image buffer OK *********}
// draw image here
end;
2: begin {********* Motion Detected *********}
end;
4: begin {********* Connect Ready Interrupt *********}
// You can get image config here and do somthing
end;
end; // end case int_status of
end;
// Main Code
var
Decoder_Index: Longint;
Result: Longint;
begin
channel := 0;
Result :=
AngeloMPEG4_Decode_Set_Callback
(Decoder_Index,
DecoderCallbackProc);
end;
AngeloMPEG4_Decode_Set_Image_Config–
@ Syntax
C/C++ (Windows 98/NT/2000/XP)
int AngeloMPEG4_Decode_Set_Image_Config(int Decoder_Index, int ConfigIndex ,
int Value);
Visual Basic(Windows 98/NT/2000/XP)
AngeloMPEG4_Decode_Set_Image_Config(ByVal Decoder_Index As Long, ByVal
ConfigIndex As Long, ByVal Value As Long) As Long
Delphi (Windows 98/NT/2000/XP)
AngeloMPEG4_Decode_Set_Image_Config(Decoder_Index:Longint;
ConfigIndex:Longint; Value:Longint):Longint;
@ Argument
Decoder_Index
:
Indicates the channel index of the decoder. The range of channels is 0 - 15.
ConfigIndex:
0 for BRIGHTNESS
1 for HUE