User`s manual
106 Function Library
m_filename = “test1.m4v”
m4v_filename = “test2.m4v”
avi_filename = “test3.avi”
m_Decoder_Channel = 0
Mode = 0 ‘play once
Public Sub lpcallback(ByVal Decoder_Index As
Long, ByVal int_status As Long, ByVal
VideoBufferaddress As Long)
…
…
End Sub
Result =
AngeloMPEG4_Decode_Set_Callback(m_Decoder_C
hannel, AddressOf lpcallback)
Result=AngeloMPEG4_Decode_File(m_Decoder_Channel
,m_filename,Width,Height,Byte_Pixel,m_total
_frame,m_Time_Seconds)
Result =
AngeloMPEG4_Decode_File_Start(m_Decoder_Cha
nnel,Mode)
Result =
AngeloMPEG4_Decode_File_Set_Position(m_Deco
der_Channel,m_total_frame/2)
Result =
AngeloMPEG4_Decode_File_Pause(m_Decoder_Cha
nnel)
Result =
AngeloMPEG4_Decode_File_Continue(m_Decoder_
Channel)
Result =
AngeloMPEG4_Decode_File_Get_Position(m_Deco
der_Channel,m_pos)
Result =
AngeloMPEG4_Decode_Stop(m_Decoder_Channel)
Result=AngeloMPEG4_Decode_M4V_2_AVI(m4v_filename
,Width,Height,Byte_Pixel,m_total_frame,m_Ti
me_Seconds)
Result=AngeloMPEG4_Decode_AVI_2_M4V(avi_filename
,Width,Height,Byte_Pixel,m_total_frame,m_Ti
me_Seconds)