Sensoray 819 Linuxs SDK Manuale Utente Pagina 7

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 12
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 6
H264_PSLICE = 1,
H264_ISLICE = 5,
H264_IDRSLICE = 6,
H264_SPS = 7,
H264_PPS = 8
} SLICE_TYPE;
typedef enum {
ALARM_VIDEO_LOST = 0x01,
ALARM_NIGHT = 0x02,
ALARM_BLIND = 0x04,
ALARM_STDCHG = 0x08,
ALARM_MV = 0x10
} ALARM_TYPE;
typedef union {
SLICE_TYPE slice;
ALARM_TYPE atype;
} S819_SUBTYPE;
typedef struct {
int chan;
S819_STREAM_TYPE stream;
S819_SUBTYPE subtype;
char *buf;
int length;
unsigned int frm;
unsigned int pts;
void *rsv;
} BUFFER;
chan channel number, 1 through maximum available channels based on the number of
boards detected, but no more than 64.
stream type of stream captured into buffer.
subtype stream subtype
buf pointer to buffer data.
length length of valid data currently in buffer, bytes.
frm frame number (H.264, JPEG streams).
pts time stamp (H.264, JPEG streams).
rsv Reserved.
S819_SUBTYPE provides additional information about the streams depending on stream's type.
For H.264 streams it is current slice type, for alarm stream it is alarm type. Application should first
determine the stream type using .stream, then use .subtype based on context.
7
Vedere la pagina 6
1 2 3 4 5 6 7 8 9 10 11 12

Commenti su questo manuale

Nessun commento