Sensoray 819 Linuxs SDK Uživatelský manuál Strana 10

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 12
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 9
streams = SMASK(STREAM_H264_PRI); or
streams = SMASK(STREAM_H264_PRI) | SMASK(STREAM_H264_SEC);
S819_StartStreams
ECODE S819_StartStreams (HCNODE hCnode, int chan, int streams)
Starts capture of a combination of streams attached to a capture node. Other streams that may be
attached to the same capture node are not affected.
hCnode a valid capture node handle.
chan selected channel number (1-based).
streams streams bitmask corresponding to desired stream combination. To select a stream, set
a bit of the parameter streams to 1 by using an SMASK macro. For example,
streams = SMASK(STREAM_H264_PRI); or
streams = SMASK(STREAM_H264_PRI) | SMASK(STREAM_H264_SEC);
S819_StopStreams
ECODE S819_StopStreams (HCNODE hCnode, int chan, int streams)
Stops capture of a combination of streams attached to a capture node. Other streams that may be
attached to the same capture node are not affected.
hCnode a valid capture node handle.
chan selected channel number (1-based).
streams streams bitmask corresponding to desired stream combination. To select a stream, set
a bit of the parameter streams to 1 by using an SMASK macro.
S819_StartAll
ECODE S819_StartAll (HCNODE hCnode)
Starts capture of all streams attached to a selected capture node.
S819_WaitBuffer
ECODE S819_WaitBuffer (HCNODE hCnode, BUFFER *buffer)
A blocking function that waits for data to become available for a selected capture node. The function
times out if the data is not ready in 5 seconds and returns an error code. If the data is available the
function fills in the structure pointed to by buffer with data parameters. A buffer needs to be returned
back to the driver by calling S819_ReleaseBuffer.
10
Zobrazit stránku 9
1 2 ... 5 6 7 8 9 10 11 12

Komentáře k této Příručce

Žádné komentáře