ADLINK Technology PCI-MP4S Instrukcja Użytkownika Strona 61

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 83
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 60
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
Przeglądanie stron 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 82 83

Komentarze do niniejszej Instrukcji

Brak uwag