401 NvSciStreamBlock upstream,
402 NvSciStreamBlock downstream
430 NvSciStreamBlock pool,
431 NvSciStreamBlock *producer
459 NvSciStreamBlock queue,
460 NvSciStreamBlock *consumer
501 NvSciStreamBlock *pool
543 NvSciStreamBlock *queue
586 NvSciStreamBlock *queue
637 NvSciStreamBlock *ipc
688 NvSciStreamBlock *ipc
732 NvSciStreamBlock block,
772 NvSciStreamBlock block,
820 NvSciStreamBlock block,
866 NvSciStreamBlock block,
920 NvSciStreamBlock block,
986 NvSciStreamBlock block,
1029 NvSciStreamBlock pool,
1030 NvSciStreamCookie cookie,
1031 NvSciStreamPacket *handle
1072 NvSciStreamBlock pool,
1118 NvSciStreamBlock pool,
1119 NvSciStreamPacket handle
1171 NvSciStreamBlock block,
1172 NvSciStreamPacket handle,
1173 NvSciStreamCookie cookie,
1222 NvSciStreamBlock block,
1223 NvSciStreamPacket handle,
1271 NvSciStreamBlock producer,
1322 NvSciStreamBlock producer,
1323 NvSciStreamPacket handle,
1369 NvSciStreamBlock consumer,
1419 NvSciStreamBlock consumer,
1420 NvSciStreamPacket handle,
1464 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.
NvSciError NvSciStreamPoolPacketCreate(NvSciStreamBlock pool, NvSciStreamCookie cookie, NvSciStreamPacket *handle)
Adds a new packet to the pool.
NvSciStreamEventType type
Holds the type of event.
NvSciStreamSyncAttr syncAttr
Used with SyncAttr events.
NvSciError NvSciStreamIpcSrcCreate(NvSciIpcEndpoint ipcEndpoint, NvSciSyncModule syncModule, NvSciBufModule bufModule, NvSciStreamBlock *ipc)
Creates an IPC source block.
NvSciStreamElementMode
Defines packet element access modes.
NvSciBufObj buffer
Refers to the NvSciBuf object belonging to this element.
NVIDIA Software Communications Interface (SCI): Error Handling
bool synchronousOnly
Indicates endpoint cannot process sync objects of any kind and data must be published synchronously...
NvSciError NvSciStreamFifoQueueCreate(NvSciStreamBlock *queue)
Creates a FIFO queue block.
Specifies the 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.
Describes a single sync object that will be sent to or received from the other endpoint.
Specifies sync object requirements.
NvSciStreamCookie packetCookie
Used with PacketDelete, PacketStatus, and PacketElement events.
NvSciBufAttrList bufAttr
Holds memory buffer allocation requirements for this element.
NvSciError NvSciStreamBlockPacketAttr(NvSciStreamBlock block, const NvSciStreamElementAttr *attr)
Sets block packet requirements/capabilities.
NvSciError NvSciStreamBlockPacketAccept(NvSciStreamBlock block, NvSciStreamPacket handle, NvSciStreamCookie cookie, NvSciError err)
Accepts a packet provided by the pool.
Specifies number of packets elements requirement 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.
NvSciStreamElementAttr packetAttr
Used with PacketAttrConsumer, PacketAttrProducer, and PacketAttr.
NvSciStreamQueryableAttrib
Defines NvSciStream attributes that are queryable.
NvSciError NvSciStreamBlockConnect(NvSciStreamBlock upstream, NvSciStreamBlock downstream)
Connects two stream blocks.
NvSciStreamElementDesc packetElement
Used with PacketElement events.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
Holds a pointer to an opaque NvSciSync attribute list.
uintptr_t NvSciStreamCookie
Component-assigned cookie for a packet.
Indicates complete upstream connection to producer.
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.
uint32_t index
Zero-based index of the sync object.
NvSciStreamCookie cookie
Holds the recipient's cookie for the packet.
Maximum number of elements allowed per packet.
uintptr_t NvSciStreamBlock
Handle to a stream component.
NvSciError error
Used with PacketStatus and ElementStatus events.
NvSciSyncAttrList waiterSyncAttr
Holds requirements for UMDs, as an NvSciSyncAttrList object.
uint32_t index
Zero-based index of this packet element in a packet.
NvSciError NvSciStreamMailboxQueueCreate(NvSciStreamBlock *queue)
Creates a mailbox queue block.
NvSciStreamElementMode mode
Holds the mode with which data will be written/accessed.
NvSciError NvSciStreamProducerPacketGet(NvSciStreamBlock producer, NvSciStreamPayload *payload)
Instructs the producer to get a packet from the pool.
Structure representing a packet element.
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 ...
Defines a "frame" of data sent to the consumer or returned to the producer.
Describes a component event.
NvSciError NvSciStreamConsumerPacketAcquire(NvSciStreamBlock consumer, NvSciStreamPayload *payload)
Instructs the consumer to get a packet from the queue.
Specifies the status of element.
NvSciError NvSciStreamBlockSyncRequirements(NvSciStreamBlock block, const NvSciStreamSyncAttr *attr)
Sets block sync object requirements.
NvSciError NvSciStreamConsumerPacketRelease(NvSciStreamBlock consumer, NvSciStreamPacket handle, NvSciSyncFence *postfences)
Returns a data packet to the stream.
NvSciSyncFence * prefences
Pointer array in which prefences will be written.
struct NvSciBufModuleRec * NvSciBufModule
Holds a pointer to NvSciBufModuleRec.
NvSciError NvSciStreamIpcDstCreate(NvSciIpcEndpoint ipcEndpoint, NvSciSyncModule syncModule, NvSciBufModule bufModule, NvSciStreamBlock *ipc)
Creates an IPC destination block.
Specifies the packet available for reuse or acquire.
enum NvSciErrorRec NvSciError
Return/error codes for all NvSci functions.
NvSciError NvSciStreamPoolPacketInsertBuffer(NvSciStreamBlock pool, const NvSciStreamElementDesc *desc)
Registers a buffer to the packet.
Specifies the number of packet elements determined by pool.
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.
uint32_t index
Zero-based index of this buffer in the packet.
NvSciStreamSyncDesc syncDesc
Used with SyncDesc events.
NvSciStreamPacket packetCreate
Used with PacketCreate events.
Specifies the status of packet.
uint32_t index
Used with events that require an index.
NvSciError NvSciStreamBlockPacketElementCount(NvSciStreamBlock block, uint32_t count)
Block sets the number of elements in a packet.
NvSciSyncObj sync
Handle to sync object.
Specifies the discontinued packet object.
NvSciError NvSciStreamBlockSyncObjCount(NvSciStreamBlock block, uint32_t count)
Provides block's number of sync objects.
Defines the requirements for an endpoint to be able to read sync objects provided by the other endpoi...
NvSciError NvSciStreamBlockSyncObject(NvSciStreamBlock block, const NvSciStreamSyncDesc *sync)
Provides block's sync objects.
Indicates a downstream component has been destroyed.
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 status of element.
Specifies the packet requests from consumer.
Defines the opaque NvSciSyncFence.
NvSciStreamPacket handle
Handle for the packet.
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.
NvSciError NvSciStreamStaticPoolCreate(uint32_t numPackets, NvSciStreamBlock *pool)
Creates a static stream pool block.
Defines attributes of a packet element.
Indicates complete downstream connection to consumer.
Indicates an upstream component has been destroyed.
NvSciError NvSciStreamAttributeQuery(NvSciStreamQueryableAttrib attr, int32_t *value)
Queries NvSciStream attributes.
Specifies the status of packet.
Specifies the new packet object.
uint32_t type
Application-defined type to identify the required data.