606 NvSciStreamBlock upstream,
607 NvSciStreamBlock downstream
635 NvSciStreamBlock pool,
636 NvSciStreamBlock *producer
664 NvSciStreamBlock queue,
665 NvSciStreamBlock *consumer
706 NvSciStreamBlock *pool
748 NvSciStreamBlock *queue
791 NvSciStreamBlock *queue
829 uint32_t outputCount,
830 NvSciStreamBlock *multicast
881 NvSciStreamBlock *ipc
932 NvSciStreamBlock *ipc
976 NvSciStreamBlock block,
1016 NvSciStreamBlock block,
1017 bool synchronousOnly,
1065 NvSciStreamBlock block,
1112 NvSciStreamBlock block,
1167 NvSciStreamBlock block,
1236 NvSciStreamBlock block,
1282 NvSciStreamBlock pool,
1283 NvSciStreamCookie cookie,
1284 NvSciStreamPacket *handle
1326 NvSciStreamBlock pool,
1327 NvSciStreamPacket handle,
1374 NvSciStreamBlock pool,
1375 NvSciStreamPacket handle
1427 NvSciStreamBlock block,
1428 NvSciStreamPacket handle,
1429 NvSciStreamCookie cookie,
1478 NvSciStreamBlock block,
1479 NvSciStreamPacket handle,
1531 NvSciStreamBlock producer,
1532 NvSciStreamCookie *cookie,
1583 NvSciStreamBlock producer,
1584 NvSciStreamPacket handle,
1633 NvSciStreamBlock consumer,
1634 NvSciStreamCookie *cookie,
1684 NvSciStreamBlock consumer,
1685 NvSciStreamPacket handle,
1729 NvSciStreamBlock block
NvSciError NvSciStreamProducerCreate(NvSciStreamBlock pool, NvSciStreamBlock *producer)
Creates a stream producer block.
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvSciError NvSciStreamBlockDelete(NvSciStreamBlock block)
Destroys a stream block.
Written asynchronously, typically by hardware engine.
NvSciBufAttrList bufAttrList
Used with events that specify buffer object attributes: PacketAttr PacketAttrProducer PacketAttrConsu...
NvSciError NvSciStreamPoolPacketCreate(NvSciStreamBlock pool, NvSciStreamCookie cookie, NvSciStreamPacket *handle)
Adds a new packet to the pool.
NvSciStreamEventType type
Holds the type of event.
NvSciError NvSciStreamIpcSrcCreate(NvSciIpcEndpoint ipcEndpoint, NvSciSyncModule syncModule, NvSciBufModule bufModule, NvSciStreamBlock *ipc)
Creates an IPC source block.
NvSciStreamElementMode
Defines packet element access modes.
NVIDIA Software Communications Interface (SCI): Error Handling
NvSciError NvSciStreamFifoQueueCreate(NvSciStreamBlock *queue)
Creates a FIFO queue block.
Specifies new packet element.
uint64_t NvSciIpcEndpoint
Handle to the IPC endpoint.
NvSciError NvSciStreamProducerPacketPresent(NvSciStreamBlock producer, NvSciStreamPacket handle, NvSciSyncFence *postfences)
Inserts a data packet into the stream.
NvSciError NvSciStreamConsumerCreate(NvSciStreamBlock queue, NvSciStreamBlock *consumer)
Creates a stream consumer block.
NvSciStreamPacket packetHandle
Used with events that return a packet handle: PacketCreate.
NvSciError NvSciStreamPoolPacketInsertBuffer(NvSciStreamBlock pool, NvSciStreamPacket handle, uint32_t index, NvSciBufObj bufObj)
Registers a buffer to the packet.
NvSciError NvSciStreamBlockSyncRequirements(NvSciStreamBlock block, bool synchronousOnly, NvSciSyncAttrList waitSyncAttrList)
Sets block sync object requirements.
Specifies sync object requirements.
NvSciStreamCookie packetCookie
Used with events that indicate a packet operation: PacketDelete PacketElement PacketStatusProducer Pa...
NvSciError NvSciStreamMulticastCreate(uint32_t outputCount, NvSciStreamBlock *multicast)
Creates a multicast block.
NvSciError NvSciStreamBlockPacketAccept(NvSciStreamBlock block, NvSciStreamPacket handle, NvSciStreamCookie cookie, NvSciError err)
Accepts a packet provided by the pool.
Specifies number of packets elements request from consumer.
NvSciError NvSciStreamBlockEventQuery(NvSciStreamBlock block, int64_t timeoutUsec, NvSciStreamEvent *event)
Queries for the next event from block's event queue.
Specifies the packet final settings from pool.
NvSciStreamQueryableAttrib
Defines NvSciStream attributes that are queryable.
NvSciError NvSciStreamBlockConnect(NvSciStreamBlock upstream, NvSciStreamBlock downstream)
Connects two stream blocks.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
Holds a pointer to an opaque NvSciSync attribute list.
uintptr_t NvSciStreamCookie
Component-assigned cookie for a packet.
NvSciError NvSciStreamPoolPacketDelete(NvSciStreamBlock pool, NvSciStreamPacket handle)
Removes a packet from the pool.
Specifies a sync object sent from the opposite endpoint.
struct NvSciBufObjRefRec * NvSciBufObj
Holds a pointer to NvSciBufObjRefRec.
Specifies the packet capabilities from producer.
Indicates a failure not directly triggered by user action.
static const NvSciStreamCookie NvSciStreamCookie_Invalid
Constant variable denoting invalid cookie.
Maximum number of elements allowed per packet.
uintptr_t NvSciStreamBlock
Handle to a stream component.
NvSciError error
Used with events that return an error: PacketStatus ElementStatus.
NvSciSyncAttrList waiterSyncAttr
NvSciSyncObj syncObj
Used with events that provide a sync object: SyncDesc.
NvSciError NvSciStreamMailboxQueueCreate(NvSciStreamBlock *queue)
Creates a mailbox queue block.
NvSciStreamElementMode mode
Indicates portions of the stream have disconnected such that no more useful work can be done with the...
NvSciStreamEventType
Defines component event types.
uintptr_t NvSciStreamPacket
NvSciStream-assigned handle for a packet.
struct NvSciBufAttrListRec * NvSciBufAttrList
Holds a pointer to NvSciBufAttrListRec.
NVIDIA Software Communications Interface (SCI) : NvSci Inter-Process Communication ...
Describes a component event.
NvSciBufObj bufObj
Used with events that provide a buffer object: PacketElement.
Specifies the consumer-side status of packet element.
uint32_t userData
Used with events that require a user-defined data field: PacketAttr PacketAttrProducer PacketAttrCons...
NvSciError NvSciStreamConsumerPacketRelease(NvSciStreamBlock consumer, NvSciStreamPacket handle, NvSciSyncFence *postfences)
Returns a data packet to the stream.
NvSciSyncFence * prefences
struct NvSciBufModuleRec * NvSciBufModule
Holds a pointer to NvSciBufModuleRec.
NvSciError NvSciStreamIpcDstCreate(NvSciIpcEndpoint ipcEndpoint, NvSciSyncModule syncModule, NvSciBufModule bufModule, NvSciStreamBlock *ipc)
Creates an IPC destination block.
Specifies a packet is available for reuse or acquire.
enum NvSciErrorRec NvSciError
Return/error codes for all NvSci functions.
NvSciError NvSciStreamBlockPacketAttr(NvSciStreamBlock block, uint32_t index, uint32_t type, NvSciStreamElementMode syncMode, NvSciBufAttrList bufAttrList)
Sets block packet requirements/capabilities.
NvSciError NvSciStreamBlockSyncObject(NvSciStreamBlock block, uint32_t index, NvSciSyncObj syncObj)
Provides block's sync objects.
Specifies the number of packet elements determined by pool.
NvSciStreamElementMode syncMode
Used with events that specify a synchronization mode: PacketAttr PacketAttrProducer PacketAttrConsume...
NvSciSyncAttrList syncAttrList
Used with events that specify sync object attributes: SyncAttr.
Specifies number of packets elements request from producer.
NvSciError NvSciStreamBlockElementAccept(NvSciStreamBlock block, NvSciStreamPacket handle, uint32_t index, NvSciError err)
Accepts a packet element provided by the pool.
Specifies the producer-side status of packet.
uint32_t index
Used with events that require an index: SyncDesc PacketAttr PacketElement ElementStatusProducer Eleme...
NvSciError NvSciStreamConsumerPacketAcquire(NvSciStreamBlock consumer, NvSciStreamCookie *cookie, NvSciSyncFence *prefences)
Instructs the consumer to get a packet from the queue.
NvSciError NvSciStreamBlockPacketElementCount(NvSciStreamBlock block, uint32_t count)
Block sets the number of elements in a packet.
static const NvSciStreamPacket NvSciStreamPacket_Invalid
Constant variable denoting invalid packet.
Maximum number of multicast outputs allowed.
Indicates block has complete connection to producer and consumer endpoints.
Specifies the discontinued packet object.
NvSciError NvSciStreamBlockSyncObjCount(NvSciStreamBlock block, uint32_t count)
Provides block's number of sync objects.
struct NvSciSyncObjRec * NvSciSyncObj
Holds a pointer to an opaque NvSciSync object.
Written synchronously, typically by CPU.
Specifies the number of sync objects sent from the opposite endpoint.
Specifies the producer-side status of packet element.
Specifies the packet requests from consumer.
Defines the opaque NvSciSyncFence.
NVIDIA Software Communications Interface (SCI) : NvSciSync
Maximum number of NvSciSync objects allowed.
struct NvSciSyncModuleRec * NvSciSyncModule
Represents an instance of the NvSciSync module.
uint32_t count
Used with events that require a count: SyncCount PacketElementCount PacketElementCountProducer Packet...
NvSciError NvSciStreamStaticPoolCreate(uint32_t numPackets, NvSciStreamBlock *pool)
Creates a static stream pool block.
The following data structures are no longer used by any interfaces and are deprecated.
NvSciError NvSciStreamAttributeQuery(NvSciStreamQueryableAttrib attr, int32_t *value)
Queries NvSciStream attributes.
Specifies the consumer-side status of packet.
NvSciError NvSciStreamProducerPacketGet(NvSciStreamBlock producer, NvSciStreamCookie *cookie, NvSciSyncFence *prefences)
Instructs the producer to get a packet from the pool.
Indicates new packet object has been introduced by pool.
bool synchronousOnly
Used with events that specify sync object attributes: SyncAttr.