Contains a list of NvSciStream datatypes.
NvSciStream version: It is expected that, when the NvSciStream library is being developed, it might potentially be incompatible with previous versions. An application built for a given major and minor version of NvSciStream will be compatible with any NvSciStream library with the same major version and equal or greater minor version.
Different processes using different minor versions of NvSciStream libraries with the same major version may share a stream as long as the stream does not make use of any features not supported in the lower minor version.
NvSciStream version numbers are incremented in the following circumstances:
Typedefs | |
| typedef uintptr_t | NvSciStreamBlock |
| Handle to a block. More... | |
| typedef uintptr_t | NvSciStreamPacket |
| NvSciStream assigned handle for a packet. More... | |
| typedef uintptr_t | NvSciStreamCookie |
| Application assigned cookie for a NvSciStreamPacket. More... | |
Variables | |
| static const uint32_t | NvSciStreamMajorVersion = 4U |
| NvSciStream major version number. More... | |
| static const uint32_t | NvSciStreamMinorVersion = 2U |
| NvSciStream minor version number. More... | |
| static const NvSciStreamPacket | NvSciStreamPacket_Invalid = 0U |
| Constant variable denoting an invalid NvSciStreamPacket. More... | |
| static const NvSciStreamCookie | NvSciStreamCookie_Invalid = 0U |
| Constant variable denoting an invalid NvSciStreamCookie. More... | |
| typedef uintptr_t NvSciStreamBlock |
Handle to a block.
Definition at line 79 of file nvscistream_types.h.
| typedef uintptr_t NvSciStreamCookie |
Application assigned cookie for a NvSciStreamPacket.
Definition at line 87 of file nvscistream_types.h.
| typedef uintptr_t NvSciStreamPacket |
NvSciStream assigned handle for a packet.
Definition at line 82 of file nvscistream_types.h.
| enum NvSciStreamBlockType |
Most queries on one block request information received from ! another block.
Where there is ambiguity in the kind of block the ! information originated from, this type is used to specify it.
Definition at line 183 of file nvscistream_types.h.
| enum NvSciStreamEventType |
Defines event types for the blocks.
| Enumerator | |
|---|---|
| NvSciStreamEventType_Connected | Indicates the stream containing the block is fully connected. At all blocks, the following functions become available: At the producer and consumer blocks, the element export phase may begin, and the following functions become available: |
| NvSciStreamEventType_Disconnected | Indicates portions of the stream have disconnected such that no more useful work can be done with the block. Note that this event is not always triggered immediately when any disconnect occurs. For instance:
Received by all blocks. |
| NvSciStreamEventType_WaiterAttr | Signals the arrival of NvSciSync waiter information from the opposing endpoint(s). Received by producer and consumer blocks. The following function becomes available: |
| NvSciStreamEventType_SignalObj | Signals the arrival of NvSciSync signal information from the opposing endpoint(s). Received by producer and consumer blocks. The following function becomes available: |
| NvSciStreamEventType_Elements | Signals the arrival of all element-related information. At the pool, both the element import and export phases may begin, and the following functions become available: At the producer and consumer(s), the element import and waiter information export phases may begin, and the following functions become available:
Not received by any other block types. |
| NvSciStreamEventType_PacketCreate | Signals the arrival of a new packet definition from the pool. Received by producer and consumer blocks. These events become available to the producer and consumer after they have indicated that they are done importing element information by calling NvSciStreamBlockSetupStatusSet() with NvSciStreamSetup_ElementImport. The following functions become available to query and accept or reject packet information: |
| NvSciStreamEventType_PacketsComplete | Signals that the pool has finished defining all of its packets. Received by producer and consumer blocks. This event becomes available to the producer and consumer after the pool indicates it has sent all the packets. |
| NvSciStreamEventType_PacketDelete | Signals that the pool has deleted a packet and no further paylaods using the packet will arrive. Received by producer and consumer blocks. The following function becomes available to query the deleted packet: |
| NvSciStreamEventType_PacketStatus | Signals the arrival of status for a packet from producer and all consumers. Received by pool blocks. The following functions become available to query the packet status: |
| NvSciStreamEventType_PacketReady | Specifies a packet is available for reuse or acquire. Received by producer and consumer blocks. |
| NvSciStreamEventType_SetupComplete | Specifies all setup operations have completed and streaming may begin. Received by all blocks. |
| NvSciStreamEventType_Validate | Signals the validation data provided by all consumers. Received by producer block only. |
| NvSciStreamEventType_Error | Indicates a failure not directly triggered by user action. Received by any block. |
Definition at line 385 of file nvscistream_types.h.
Defines NvSciStream attributes that are queryable.
Definition at line 170 of file nvscistream_types.h.
| enum NvSciStreamSetup |
Setup information will be broken into several distinct groups, ! with restrictions on when they can be specified and queried.
The ! application will indicate when each group has been fully specified ! and is ready to send (for *Export groups) or when it has finished ! querying the group and the driver can reclaim space and allow dependent ! operations to proceed (for *Import groups).
Definition at line 199 of file nvscistream_types.h.
|
static |
Constant variable denoting an invalid NvSciStreamCookie.
Definition at line 101 of file nvscistream_types.h.
|
static |
NvSciStream major version number.
Definition at line 73 of file nvscistream_types.h.
|
static |
NvSciStream minor version number.
Definition at line 76 of file nvscistream_types.h.
|
static |
Constant variable denoting an invalid NvSciStreamPacket.
Definition at line 94 of file nvscistream_types.h.