User`s manual
Appendix: GEME-VM3000 Series Introduction 113
AngeloMPEG4_Encode_Set_Callback(Encoder_Index:Lo
ngint;
lpEncodeCallBackProc:EncodeCallBackProc):Lo
ngint;
@ Argument
Encoder_Index: Indicates the channel Index for the MPEG4
encoder. The range of channels is 0 – 15.
@ Return Code
@ Example
< VC/BCB >
int Result;
int Encoder_Index = 0;
void __stdcall Encode_Callback(int Encoder_Index,
long int_status, param_str *param_struct)
{
if(int_status & 0x01 ==1) //Image Ready
{
}
if(int_status >> 4 & 0x01 ==1) //Motion
Dection
{
}
}
Result =
AngeloMPEG4_Encode_Set_Callback(Encoder_Ind
ex, Encode_Callback);