User`s manual

Function Library 49
5.3 Decode Functions
@ Name
AngeloMPEG4_Decode_Set_Callback(Decoder_Index, CallBackProc) –Setup the
callback function for decoder.
AngeloMPEG4_Decode_Connect(Decoder_Index, Encoder_IP,
Encoder_Index) –Connect to the encoder.
AngeloMPEG4_Decode_Disconnect(Decoder_Index) –Disconnect from the
encoder.
AngeloMPEG4_Decode_Set_Image_Config(Decoder_Index, ConfigIndex ,
Value) –Adjust the brightness, contrast, hue etc..
AngeloMPEG4_Decode_Set_Motion_Detection(Decoder_Index, Area, enable,
Threshold, interval, action, X_Start, Y_Start, Width, Height) –Set the motion
detection criteria, and action when motion occurs in decode site.
AngeloMPEG4_Decode_Get_Config(Decoder_Index, iWidth, iHeight,
video_format, color_format, Bitrate, frame_rate) –Get the video property from
encode site.
AngeloMPEG4_Decode_From_File(Decoder_Index, file_name, action,
speed) –Decode the video form “.m4v” file.
AngeloMPEG4_Decode_Start(Decoder_Index) –Start to decode the video.
AngeloMPEG4_Decode_Stop(Decoder_Index) –Stop decoding the video.
AngeloMPEG4_Decode_Get_FlowRate(Decoder_Index, Byte_Second) – Get the
current data flow rate between encoder and decoder
AngeloMPEG4_Decode_ReInitialEx(Decoder_Index, Bitrate, frame_rate,
Angelo_Video_Format) –Reset the video property.
AngeloMPEG4_Decode_ReInitial(Decoder_Index, Quality ,
Angelo_Video_Format) –Reset the video property.
AngeloMPEG4_Decode_Save_File_Start(Decoder_Index, n_file_name,
interval_second, format) – Start to save compressed file in decode site.
AngeloMPEG4_Decode_Save_File_Stop(Decoder_Index) – Stop saving
compressed file in decode site.
@ Description
AngeloMPEG4_Decode_Set_Callback:
This function establishes a notification mechanism between function library
and user process. The callback function is application-defined. The user
passes the function pointer to the function library by calling this function. In
order to receive any notification event, the user must apply this function
before any decode function at the decode site.
AngeloMPEG4_Decode_ Connect: