ADLINK Technology PCI-MP4S Bedienungsanleitung Seite 141

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 172
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 140
Appendix: GEME-VM3000 Series Introduction 129
Delphi (Windows 98/NT/2000/XP)
AngeloMPEG4_Decode_Set_Callback(Decoder_Index:Lo
ngint;
lpDecodeCallBackProc:DecodeCallBackProc):Longint
;
@ Argument
Decoder_Index: Indicates the channel number of Decoder.
The range of channel is 0 - 15.
int_status:
Interrupt status:
Bit 0: Image ready
Bit 1: Motion Detection occur
Bit 2: Connection establish
@ Return Code
0: ERROR_NoError
@ Example
< VC/BCB >
int Result;
int channel = 0;
void __stdcall Decode_Callback(int channel, long
int_status, long VideoBufferaddress)
{
if((int_status & 0x01) == 1) //Image Ready
{
//Start Drawing
memcpy(Temp,(PVOID)VideoBufferaddress,iWidt
h*iHeight*3);
gpDC-
>BitBlt(10,10,iWidth,iHeight,MemDC,0,0,SRCC
OPY);
}
if((int_status>>1 & 0x01) == 1) //
MotionDetection Occur
{
//Deal with MotionDetection
Beep(1024, 100);
Seitenansicht 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 171 172

Kommentare zu diesen Handbüchern

Keine Kommentare