User`s manual
Function Library • 61
<Visual Basic >
Dim Result As Long, Decoder_Index As Long, iWidth As
Long, iHeight As Long, video_format As Long,
color_format As Long, Bitrate As Long, frame_rate As
Long
Decoder_Index = 0
Result =
AngeloMPEG4_Decode_Get_Config
(Decoder_Index,
iWidth, iHeight, videoformat, colorformat, Bitrate,
frame_rate)
<Delphi >
var
Decoder_Index: Longint;
iWidth, iHeight: Longint;
videoformat, colorspace, Bitrate, frame_rate: Longint;
Result: Longint;
begin
Decoder_Index:= 0;
Result :=
AngeloMPEG4_Decode_Get_Config
(Decoder_Index, iWidth,
iHeight, videoformat, colorspace, Bitrate, frame_rate);
end;
AngeloMPEG4_Decode_From_File–
@ Syntax
C/C++ (Windows 98/NT/2000/XP)
int AngeloMPEG4_Decode_From_File(int Decoder_Index, char* file_name, int action,
int speed);
C/C++ (Windows 98/NT/2000/XP)
AngeloMPEG4_Decode_From_File(Byval Decoder_Index As Long, Byval
file_name As String, Byval action As Long, Byval speed As Long)
As Long
Delphi (Windows 98/NT/2000/XP)
AngeloMPEG4_Decode_From_File(Decoder_Index:Longint; file_name:String;
action:Longint; speed:Longint):Longint;
@ Argument
Decoder_Index
:
Indicates the channel index of the decoder. The range of channels is 0 - 15.
file_name:
the file name of the saved MPEG4 stream
action:
0 for forward.