635 NvSciStreamBlock
const upstream,
636 NvSciStreamBlock
const downstream
674 NvSciStreamBlock
const pool,
675 NvSciStreamBlock *
const producer
713 NvSciStreamBlock
const queue,
714 NvSciStreamBlock *
const consumer
758 uint32_t
const numPackets,
759 NvSciStreamBlock *
const pool
803 NvSciStreamBlock *
const queue
848 NvSciStreamBlock *
const queue
888 uint32_t
const outputCount,
889 NvSciStreamBlock *
const multicast
942 NvSciStreamBlock *
const ipc
995 NvSciStreamBlock *
const ipc
1040 NvSciStreamBlock
const block,
1041 int64_t
const timeoutUsec,
1082 NvSciStreamBlock
const block,
1083 bool const synchronousOnly,
1133 NvSciStreamBlock
const block,
1134 uint32_t
const count
1183 NvSciStreamBlock
const block,
1184 uint32_t
const index,
1240 NvSciStreamBlock
const block,
1241 uint32_t
const count
1312 NvSciStreamBlock
const block,
1313 uint32_t
const index,
1314 uint32_t
const type,
1360 NvSciStreamBlock
const pool,
1361 NvSciStreamCookie
const cookie,
1362 NvSciStreamPacket *
const handle
1405 NvSciStreamBlock
const pool,
1406 NvSciStreamPacket
const handle,
1407 uint32_t
const index,
1455 NvSciStreamBlock
const pool,
1456 NvSciStreamPacket
const handle
1510 NvSciStreamBlock
const block,
1511 NvSciStreamPacket
const handle,
1512 NvSciStreamCookie
const cookie,
1563 NvSciStreamBlock
const block,
1564 NvSciStreamPacket
const handle,
1565 uint32_t
const index,
1618 NvSciStreamBlock
const producer,
1619 NvSciStreamCookie *
const cookie,
1672 NvSciStreamBlock
const producer,
1673 NvSciStreamPacket
const handle,
1724 NvSciStreamBlock
const consumer,
1725 NvSciStreamCookie *
const cookie,
1777 NvSciStreamBlock
const consumer,
1778 NvSciStreamPacket
const handle,
1824 NvSciStreamBlock
const block
1855 int32_t *
const value
NvSciError NvSciStreamProducerCreate(NvSciStreamBlock const pool, NvSciStreamBlock *const producer)
Creates a stream producer block.
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvSciError NvSciStreamPoolPacketCreate(NvSciStreamBlock const pool, NvSciStreamCookie const cookie, NvSciStreamPacket *const handle)
Adds a new packet to the pool.
NvSciError NvSciStreamProducerPacketGet(NvSciStreamBlock const producer, NvSciStreamCookie *const cookie, NvSciSyncFence *const prefences)
Instructs the producer to get a packet from the pool.
Written asynchronously, typically by hardware engine.
NvSciBufAttrList bufAttrList
Used with events that specify buffer object attributes: PacketAttr PacketAttrProducer PacketAttrConsu...
NvSciStreamEventType type
Holds the type of event.
NvSciError NvSciStreamAttributeQuery(NvSciStreamQueryableAttrib const attr, int32_t *const value)
Queries NvSciStream attributes.
NvSciStreamElementMode
Defines packet element access modes.
NvSciError NvSciStreamBlockConnect(NvSciStreamBlock const upstream, NvSciStreamBlock const downstream)
Connects two stream blocks.
NVIDIA Software Communications Interface (SCI): Error Handling
NvSciError NvSciStreamFifoQueueCreate(NvSciStreamBlock *const queue)
Creates a FIFO queue block.
NvSciError NvSciStreamBlockSyncObject(NvSciStreamBlock const block, uint32_t const index, NvSciSyncObj const syncObj)
Provides block's sync object.
Specifies new packet element.
NvSciError NvSciStreamBlockSyncRequirements(NvSciStreamBlock const block, bool const synchronousOnly, NvSciSyncAttrList const waitSyncAttrList)
Sets block sync object requirements.
uint64_t NvSciIpcEndpoint
Handle to the NvSciIpc endpoint.
NvSciStreamPacket packetHandle
Used with events that return a packet handle: PacketCreate.
NvSciError NvSciStreamConsumerPacketRelease(NvSciStreamBlock const consumer, NvSciStreamPacket const handle, NvSciSyncFence const *const postfences)
Returns a data packet to the stream.
Specifies sync object requirements.
NvSciStreamCookie packetCookie
Used with events that indicate a packet operation: PacketDelete PacketElement PacketStatusProducer Pa...
Specifies number of packets elements request from consumer.
Specifies the packet final settings from pool.
NvSciStreamQueryableAttrib
Defines NvSciStream attributes that are queryable.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
Holds a pointer to an opaque NvSciSync attribute list.
uintptr_t NvSciStreamCookie
Component-assigned cookie for a packet.
NvSciError NvSciStreamBlockPacketAttr(NvSciStreamBlock const block, uint32_t const index, uint32_t const type, NvSciStreamElementMode const syncMode, NvSciBufAttrList const bufAttrList)
Sets block packet requirements/capabilities.
NvSciError NvSciStreamStaticPoolCreate(uint32_t const numPackets, NvSciStreamBlock *const pool)
Creates a static stream pool block.
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.
NvSciStreamElementMode mode
Indicates portions of the stream have disconnected such that no more useful work can be done with the...
NvSciError NvSciStreamPoolPacketDelete(NvSciStreamBlock const pool, NvSciStreamPacket const handle)
Removes a packet from the pool.
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.
NvSciError NvSciStreamBlockElementAccept(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const index, NvSciError const err)
Accepts a packet element provided by the pool.
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 NvSciStreamPoolPacketInsertBuffer(NvSciStreamBlock const pool, NvSciStreamPacket const handle, uint32_t const index, NvSciBufObj const bufObj)
Registers a buffer to the packet.
NvSciSyncFence * prefences
struct NvSciBufModuleRec * NvSciBufModule
Holds a pointer to NvSciBufModuleRec.
Specifies a packet is available for reuse or acquire.
NvSciError NvSciStreamMulticastCreate(uint32_t const outputCount, NvSciStreamBlock *const multicast)
Creates a multicast block.
Specifies the number of packet elements determined by pool.
NvSciStreamElementMode syncMode
Used with events that specify a synchronization mode: PacketAttr PacketAttrProducer PacketAttrConsume...
NvSciError NvSciStreamProducerPacketPresent(NvSciStreamBlock const producer, NvSciStreamPacket const handle, NvSciSyncFence const *const postfences)
Inserts a data packet into the stream.
NvSciSyncAttrList syncAttrList
Used with events that specify sync object attributes: SyncAttr.
Specifies number of packets elements request from producer.
Specifies the producer-side status of packet.
uint32_t index
Used with events that require an index: SyncDesc PacketAttr PacketElement ElementStatusProducer Eleme...
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 NvSciStreamBlockPacketElementCount(NvSciStreamBlock const block, uint32_t const count)
Block sets the number of elements in a packet.
struct NvSciSyncObjRec * NvSciSyncObj
Holds a pointer to an opaque NvSciSync object.
Written synchronously, typically by CPU.
NvSciError NvSciStreamConsumerCreate(NvSciStreamBlock const queue, NvSciStreamBlock *const consumer)
Creates a stream consumer block.
NvSciError NvSciStreamConsumerPacketAcquire(NvSciStreamBlock const consumer, NvSciStreamCookie *const cookie, NvSciSyncFence *const prefences)
Instructs the consumer to get a packet from the queue.
Specifies the number of sync objects sent from the opposite endpoint.
NvSciError NvSciStreamBlockEventQuery(NvSciStreamBlock const block, int64_t const timeoutUsec, NvSciStreamEvent *const event)
Queries for the next event from block's event queue, optionally waiting, and returns it to the caller...
Specifies the producer-side status of packet element.
Specifies the packet requests from consumer.
NvSciError NvSciStreamIpcSrcCreate(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock *const ipc)
Creates an IPC source block.
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 NvSciStreamMailboxQueueCreate(NvSciStreamBlock *const queue)
Creates a mailbox queue block.
The following data structures are no longer used by any interfaces and are deprecated.
NvSciError NvSciStreamIpcDstCreate(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock *const ipc)
Creates an IPC destination block.
NvSciError NvSciStreamBlockDelete(NvSciStreamBlock const block)
Destroys a stream block.
Specifies the consumer-side status of packet.
NvSciError NvSciStreamBlockPacketAccept(NvSciStreamBlock const block, NvSciStreamPacket const handle, NvSciStreamCookie const cookie, NvSciError const err)
Accepts a packet provided by the pool.
Indicates new packet object has been introduced by pool.
NvSciError NvSciStreamBlockSyncObjCount(NvSciStreamBlock const block, uint32_t const count)
Provides block's number of sync objects.
bool synchronousOnly
Used with events that specify sync object attributes: SyncAttr.
NvSciError
Return/error codes for all NvSci functions.