Methods to setup and stream sequences of data packets.
Functions | |
NvSciError | NvSciStreamBlockConnect (NvSciStreamBlock const upstream, NvSciStreamBlock const downstream) |
Establishes connection between two blocks referenced by the given NvSciStreamBlock(s). More... | |
NvSciError | NvSciStreamProducerCreate (NvSciStreamBlock const pool, NvSciStreamBlock *const producer) |
Creates an instance of producer block, associates the given pool referenced by the given NvSciStreamBlock with it and returns a NvSciStreamBlock referencing the created producer block. More... | |
NvSciError | NvSciStreamConsumerCreate (NvSciStreamBlock const queue, NvSciStreamBlock *const consumer) |
Creates an instance of consumer block, associates the given queue block referenced by the given NvSciStreamBlock with it and returns a NvSciStreamBlock referencing the created consumer block. More... | |
NvSciError | NvSciStreamStaticPoolCreate (uint32_t const numPackets, NvSciStreamBlock *const pool) |
Creates an instance of static pool block and returns a NvSciStreamBlock referencing the created pool block. More... | |
NvSciError | NvSciStreamMailboxQueueCreate (NvSciStreamBlock *const queue) |
Creates an instance of mailbox queue block and returns a NvSciStreamBlock referencing the created mailbox queue block. More... | |
NvSciError | NvSciStreamFifoQueueCreate (NvSciStreamBlock *const queue) |
Creates an instance of FIFO queue block and returns a NvSciStreamBlock referencing the created FIFO queue block. More... | |
NvSciError | NvSciStreamMulticastCreate (uint32_t const outputCount, NvSciStreamBlock *const multicast) |
Creates an instance of multicast block and returns a NvSciStreamBlock referencing the created multicast block. More... | |
NvSciError | NvSciStreamIpcSrcCreate (NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock *const ipc) |
Creates an instance of IpcSrc block and returns a NvSciStreamBlock referencing the created IpcSrc block. More... | |
NvSciError | NvSciStreamIpcDstCreate (NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock *const ipc) |
Creates an instance of IpcDst block and returns a NvSciStreamBlock referencing the created IpcDst block. More... | |
NvSciError | NvSciStreamLimiterCreate (uint32_t const maxPackets, NvSciStreamBlock *const limiter) |
Creates an instance of Limiter block and returns a NvSciStreamBlock referencing the created Limiter block. More... | |
NvSciError | NvSciStreamBlockEventQuery (NvSciStreamBlock const block, int64_t const timeoutUsec, NvSciStreamEvent *const event) |
Queries for the next NvSciStreamEvent from block referenced by the given NvSciStreamBlock, optionally waiting when the event information is not available, then removes the event from the queue and returns the event information to the caller. More... | |
NvSciError | NvSciStreamBlockSyncRequirements (NvSciStreamBlock const block, bool const synchronousOnly, NvSciSyncAttrList const waitSyncAttrList) |
Sets NvSciSyncObj waiter requirements to the block referenced by the given NvSciStreamBlock. More... | |
NvSciError | NvSciStreamBlockSyncObjCount (NvSciStreamBlock const block, uint32_t const count) |
Sets NvSciSyncObj count to the block referenced by the given NvSciStreamBlock. More... | |
NvSciError | NvSciStreamBlockSyncObject (NvSciStreamBlock const block, uint32_t const index, NvSciSyncObj const syncObj) |
Sets NvSciSyncObj to the block referenced by the given NvSciStreamBlock. More... | |
NvSciError | NvSciStreamBlockPacketElementCount (NvSciStreamBlock const block, uint32_t const count) |
Sets packet element count to the block referenced by the given NvSciStreamBlock. More... | |
NvSciError | NvSciStreamBlockPacketAttr (NvSciStreamBlock const block, uint32_t const index, uint32_t const type, NvSciStreamElementMode const syncMode, NvSciBufAttrList const bufAttrList) |
Sets packet element information to the block referenced by the given NvSciStreamBlock. More... | |
NvSciError | NvSciStreamPoolPacketCreate (NvSciStreamBlock const pool, NvSciStreamCookie const cookie, NvSciStreamPacket *const handle) |
Creates a new packet and adds it to the pool block referenced by the given NvSciStreamBlock, associates the given NvSciStreamCookie with the packet and returns a NvSciStreamPacket which references the created packet. More... | |
NvSciError | NvSciStreamPoolPacketInsertBuffer (NvSciStreamBlock const pool, NvSciStreamPacket const handle, uint32_t const index, NvSciBufObj const bufObj) |
Registers an NvSciBufObj to the packet element referenced by the given index of the packet referenced by the given NvSciStreamPacket, if the packet is associated with the pool block referenced by the given NvSciStreamBlock. More... | |
NvSciError | NvSciStreamPoolPacketDelete (NvSciStreamBlock const pool, NvSciStreamPacket const handle) |
Removes a packet referenced by the given NvSciStreamPacket from the pool block referenced by the given NvSciStreamBlock. More... | |
NvSciError | NvSciStreamBlockPacketAccept (NvSciStreamBlock const block, NvSciStreamPacket const handle, NvSciStreamCookie const cookie, NvSciError const err) |
Accepts a packet referenced by the given NvSciStreamPacket. More... | |
NvSciError | NvSciStreamBlockElementAccept (NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const index, NvSciError const err) |
Accepts a packet element referenced by the given index of the packet referenced by the given NvSciStreamPacket. More... | |
NvSciError | NvSciStreamProducerPacketGet (NvSciStreamBlock const producer, NvSciStreamCookie *const cookie, NvSciSyncFence *const prefences) |
Instructs the producer referenced by the given NvSciStreamBlock to get a packet from the pool. More... | |
NvSciError | NvSciStreamProducerPacketPresent (NvSciStreamBlock const producer, NvSciStreamPacket const handle, NvSciSyncFence const *const postfences) |
Instructs the producer referenced by the given NvSciStreamBlock to insert the packet referenced by the given NvSciStreamPacket and the associated NvSciSyncFence array to every queue in the stream configuration for consumer processing. More... | |
NvSciError | NvSciStreamConsumerPacketAcquire (NvSciStreamBlock const consumer, NvSciStreamCookie *const cookie, NvSciSyncFence *const prefences) |
Instructs the consumer referenced by the given NvSciStreamBlock to get a ready packet from the queue. More... | |
NvSciError | NvSciStreamConsumerPacketRelease (NvSciStreamBlock const consumer, NvSciStreamPacket const handle, NvSciSyncFence const *const postfences) |
Instructs the consumer referenced by the given NvSciStreamBlock to release the packet referenced by the given NvSciStreamPacket and the associated NvSciSyncFence array to pool block. More... | |
NvSciError | NvSciStreamBlockDelete (NvSciStreamBlock const block) |
Schedules a block referenced by the given NvSciStreamBlock for destruction, disconnecting the block if this hasn't already occurred. More... | |
NvSciError | NvSciStreamAttributeQuery (NvSciStreamQueryableAttrib const attr, int32_t *const value) |
Queries the value of one of the NvSciStreamQueryableAttrib. More... | |
NvSciError | NvSciStreamBlockEventServiceSetup (NvSciStreamBlock const block, NvSciEventService *const eventService, NvSciEventNotifier **const eventNotifier) |
Sets up the NvSciEventService on a block referenced by the given NvSciStreamBlock by creating an NvSciEventNotifier to report the occurrence of any events on that block. More... | |
NvSciError NvSciStreamAttributeQuery | ( | NvSciStreamQueryableAttrib const | attr, |
int32_t *const | value | ||
) |
Queries the value of one of the NvSciStreamQueryableAttrib.
Preconditions
Actions
Postconditions
[in] | attr | NvSciStreamQueryableAttrib to query. |
[out] | value | The value queried. |
NvSciError NvSciStreamBlockConnect | ( | NvSciStreamBlock const | upstream, |
NvSciStreamBlock const | downstream | ||
) |
Establishes connection between two blocks referenced by the given NvSciStreamBlock(s).
Preconditions
Actions
Postconditions
[in] | upstream | NvSciStreamBlock which references an upstream block. Valid value: A valid NvSciStreamBlock which does not reference a Pool or Queue block. |
[in] | downstream | NvSciStreamBlock which references a downstream block. Valid value: A valid NvSciStreamBlock which does not reference a Pool or Queue block. |
NvSciError NvSciStreamBlockDelete | ( | NvSciStreamBlock const | block | ) |
Schedules a block referenced by the given NvSciStreamBlock for destruction, disconnecting the block if this hasn't already occurred.
Preconditions
Actions
Postconditions
[in] | block | NvSciStreamBlock which references a block. |
NvSciError NvSciStreamBlockElementAccept | ( | NvSciStreamBlock const | block, |
NvSciStreamPacket const | handle, | ||
uint32_t const | index, | ||
NvSciError const | err | ||
) |
Accepts a packet element referenced by the given index of the packet referenced by the given NvSciStreamPacket.
Preconditions
Actions
Postconditions
[in] | block | NvSciStreamBlock which references a producer or consumer block. |
[in] | handle | NvSciStreamPacket which references the actual packet. |
[in] | index | Index of the element within the packet. Valid value: 0 to packet element count received from pool through NvSciStreamEventType_PacketElementCount event. |
[in] | err | Status of mapping operation. |
NvSciError NvSciStreamBlockEventQuery | ( | NvSciStreamBlock const | block, |
int64_t const | timeoutUsec, | ||
NvSciStreamEvent *const | event | ||
) |
Queries for the next NvSciStreamEvent from block referenced by the given NvSciStreamBlock, optionally waiting when the event information is not available, then removes the event from the queue and returns the event information to the caller.
If the block is set up to use NvSciEventService, applications should call this API with zero timeout after waking up from waiting on the NvSciEventNotifier obtained from NvSciStreamBlockEventServiceSetup() interface, and applications should query all the events in the block after waking up. Wake up due to spurious events is possible, and in that case calling this function will return no event.
The appropriate handling of each NvSciStreamEventType is described in the section for the corresponding NvSciStreamEvent structure.
Preconditions
Actions
Postconditions
[in] | block | NvSciStreamBlock which references a block. |
[in] | timeoutUsec | Timeout in microseconds (-1 to wait forever). |
[out] | event | NvSciStreamEvent filled with corresponding event data. |
NvSciError NvSciStreamBlockEventServiceSetup | ( | NvSciStreamBlock const | block, |
NvSciEventService *const | eventService, | ||
NvSciEventNotifier **const | eventNotifier | ||
) |
Sets up the NvSciEventService on a block referenced by the given NvSciStreamBlock by creating an NvSciEventNotifier to report the occurrence of any events on that block.
The NvSciEventNotifier is bound to the input NvSciEventService and NvSciStreamBlock. Users can wait for events on the block using the NvSciEventService API and then retrieve event details using NvSciStreamBlockEventQuery(). Binding one or more blocks in a stream to an NvSciEventService is optional. If not bound to an NvSciEventService, users may instead wait for events on a block by specifying a non-zero timeout in NvSciStreamBlockEventQuery(). If blocks in the same stream within the same process are bound to different NvSciEventService, behavior is undefined. The user is responsible for destroying the NvSciEventNotifier when it's no longer needed.
Preconditions
Actions
Postconditions
[in] | block | NvSciStreamBlock which references a block. |
[in] | eventService | Pointer to a NvSciEventService object. |
[out] | eventNotifier | To be filled with the pointer to the created NvSciEventNotifier object. |
NvSciError NvSciStreamBlockPacketAccept | ( | NvSciStreamBlock const | block, |
NvSciStreamPacket const | handle, | ||
NvSciStreamCookie const | cookie, | ||
NvSciError const | err | ||
) |
Accepts a packet referenced by the given NvSciStreamPacket.
Preconditions
Actions
Postconditions
[in] | block | NvSciStreamBlock which references a producer or consumer block. |
[in] | handle | NvSciStreamPacket which references the actual packet. |
[in] | cookie | Block's NvSciStreamCookie to be associated with the NvSciStreamPacket. Valid value: cookie > NvSciStreamCookie_Invalid. |
[in] | err | Status of packet setup. |
NvSciError NvSciStreamBlockPacketAttr | ( | NvSciStreamBlock const | block, |
uint32_t const | index, | ||
uint32_t const | type, | ||
NvSciStreamElementMode const | syncMode, | ||
NvSciBufAttrList const | bufAttrList | ||
) |
Sets packet element information to the block referenced by the given NvSciStreamBlock.
Preconditions
Actions
Postconditions
[in] | block | NvSciStreamBlock which references a producer or consumer or pool block. |
[in] | index | Index of element within list of packet elements. Valid value: 0 to count set earlier with NvSciStreamBlockPacketElementCount() - 1. |
[in] | type | User-defined type to identify element. |
[in] | syncMode | Preferred NvSciStreamElementMode for element data. |
[in] | bufAttrList | NvSciBufAttrList for packet element. |
NvSciError NvSciStreamBlockPacketElementCount | ( | NvSciStreamBlock const | block, |
uint32_t const | count | ||
) |
Sets packet element count to the block referenced by the given NvSciStreamBlock.
Preconditions
Actions
Postconditions
[in] | block | NvSciStreamBlock which references a producer or consumer or pool block. |
[in] | count | Number of elements per packet. Valid value: 0 to NvSciStreamQueryableAttrib_MaxElements attribute value queried by successful call to NvSciStreamAttributeQuery() API. |
NvSciError NvSciStreamBlockSyncObjCount | ( | NvSciStreamBlock const | block, |
uint32_t const | count | ||
) |
Sets NvSciSyncObj count to the block referenced by the given NvSciStreamBlock.
Preconditions
Actions
Postconditions
[in] | block | NvSciStreamBlock which references a producer or consumer block. |
[in] | count | NvSciSyncObj count to be sent. Valid value: 0 to NvSciStreamQueryableAttrib_MaxSyncObj attribute value queried by successful call to NvSciStreamAttributeQuery() API. |
NvSciError NvSciStreamBlockSyncObject | ( | NvSciStreamBlock const | block, |
uint32_t const | index, | ||
NvSciSyncObj const | syncObj | ||
) |
Sets NvSciSyncObj to the block referenced by the given NvSciStreamBlock.
Used with producer and consumer to establish the created NvSciSyncObj(s) used by the endpoint for signaling.
Preconditions
Actions
Postconditions
[in] | block | NvSciStreamBlock which references a producer or consumer block. |
[in] | index | Index in list of NvSciSyncObj(s). Valid value: 0 to count set earlier with NvSciStreamBlockSyncObjCount() - 1 (only when the count set with NvSciStreamBlockSyncObjCount() is greater than 0). |
[in] | syncObj | NvSciSyncObj. |
NvSciError NvSciStreamBlockSyncRequirements | ( | NvSciStreamBlock const | block, |
bool const | synchronousOnly, | ||
NvSciSyncAttrList const | waitSyncAttrList | ||
) |
Sets NvSciSyncObj waiter requirements to the block referenced by the given NvSciStreamBlock.
Used with producer and consumer to establish their waiter requirements for NvSciSyncObj(s) provided by the other endpoint(s).
Preconditions
Actions
Postconditions
[in] | block | NvSciStreamBlock which references a producer or consumer block. |
[in] | synchronousOnly | Flag to indicate whether the endpoint supports NvSciSyncObj(s) or not. |
[in] | waitSyncAttrList | Requirements for endpoint to wait for NvSciSyncObj(s). This parameter should be NULL if synchronousOnly parameter is true. |
NvSciError NvSciStreamConsumerCreate | ( | NvSciStreamBlock const | queue, |
NvSciStreamBlock *const | consumer | ||
) |
Creates an instance of consumer block, associates the given queue block referenced by the given NvSciStreamBlock with it and returns a NvSciStreamBlock referencing the created consumer block.
Preconditions
Actions
Postconditions
[in] | queue | NvSciStreamBlock which references a queue block to be associated with the consumer block. |
[out] | consumer | NvSciStreamBlock which references a new consumer block. |
NvSciError NvSciStreamConsumerPacketAcquire | ( | NvSciStreamBlock const | consumer, |
NvSciStreamCookie *const | cookie, | ||
NvSciSyncFence *const | prefences | ||
) |
Instructs the consumer referenced by the given NvSciStreamBlock to get a ready packet from the queue.
Preconditions
Actions
Postconditions
[in] | consumer | NvSciStreamBlock which references a consumer block. |
[out] | cookie | NvSciStreamCookie identifying the packet. |
[out] | prefences | Pointer to an array of NvSciSyncFence(s) to wait for before using the packet. Valid value: Must be at least large enough to hold one NvSciSyncFence for each NvSciSyncObj created by the producer. If the NvSciSyncObj count received through NvSciStreamEventType_SyncCount event from producer is zero, it can be NULL. |
NvSciError NvSciStreamConsumerPacketRelease | ( | NvSciStreamBlock const | consumer, |
NvSciStreamPacket const | handle, | ||
NvSciSyncFence const *const | postfences | ||
) |
Instructs the consumer referenced by the given NvSciStreamBlock to release the packet referenced by the given NvSciStreamPacket and the associated NvSciSyncFence array to pool block.
Preconditions
Actions
Postconditions
[in] | consumer | NvSciStreamBlock which references a consumer block. |
[in] | handle | NvSciStreamPacket which references the actual packet. |
[in] | postfences | A pointer to array of NvSciSyncFences associated with the packet. |
NvSciError NvSciStreamFifoQueueCreate | ( | NvSciStreamBlock *const | queue | ) |
Creates an instance of FIFO queue block and returns a NvSciStreamBlock referencing the created FIFO queue block.
Preconditions
Actions
Postconditions
[out] | queue | NvSciStreamBlock which references a new FIFO queue block. |
NvSciError NvSciStreamIpcDstCreate | ( | NvSciIpcEndpoint const | ipcEndpoint, |
NvSciSyncModule const | syncModule, | ||
NvSciBufModule const | bufModule, | ||
NvSciStreamBlock *const | ipc | ||
) |
Creates an instance of IpcDst block and returns a NvSciStreamBlock referencing the created IpcDst block.
Preconditions
Actions
Postconditions
[in] | ipcEndpoint | NvSciIpcEndpoint handle. |
[in] | syncModule | NvSciSyncModule that is used to import a NvSciSyncAttrList across an IPC boundary. This must be same module that was used to create NvSciSyncAttrList when specifying the NvSciSyncObj waiter requirements. |
[in] | bufModule | NvSciBufModule that is used to import a NvSciBufAttrList across an IPC boundary. This must be same module that was used to create NvSciBufAttrList when specifying the packet element information. |
[out] | ipc | NvSciStreamBlock which references a new IpcDst block. |
NvSciError NvSciStreamIpcSrcCreate | ( | NvSciIpcEndpoint const | ipcEndpoint, |
NvSciSyncModule const | syncModule, | ||
NvSciBufModule const | bufModule, | ||
NvSciStreamBlock *const | ipc | ||
) |
Creates an instance of IpcSrc block and returns a NvSciStreamBlock referencing the created IpcSrc block.
Preconditions
Actions
Postconditions
[in] | ipcEndpoint | NvSciIpcEndpoint handle. |
[in] | syncModule | NvSciSyncModule that is used to import a NvSciSyncAttrList across an IPC boundary. This must be same module that was used to create NvSciSyncAttrList when specifying the NvSciSyncObj waiter requirements. |
[in] | bufModule | NvSciBufModule that is used to import a NvSciBufAttrList across an IPC boundary. This must be same module that was used to create NvSciBufAttrList when specifying the packet element information. |
[out] | ipc | NvSciStreamBlock which references a new IpcSrc block. |
NvSciError NvSciStreamLimiterCreate | ( | uint32_t const | maxPackets, |
NvSciStreamBlock *const | limiter | ||
) |
Creates an instance of Limiter block and returns a NvSciStreamBlock referencing the created Limiter block.
Preconditions
Actions
Postconditions
[in] | maxPackets | Number of packets allowed to be sent downstream to a consumer block. |
[out] | limiter | NvSciStreamBlock which references a new limiter block. |
NvSciError NvSciStreamMailboxQueueCreate | ( | NvSciStreamBlock *const | queue | ) |
Creates an instance of mailbox queue block and returns a NvSciStreamBlock referencing the created mailbox queue block.
Preconditions
Actions
Postconditions
[out] | queue | NvSciStreamBlock which references a new mailbox queue block. |
NvSciError NvSciStreamMulticastCreate | ( | uint32_t const | outputCount, |
NvSciStreamBlock *const | multicast | ||
) |
Creates an instance of multicast block and returns a NvSciStreamBlock referencing the created multicast block.
Preconditions
Actions
Postconditions
[in] | outputCount | Number of output blocks that will be connected. Valid value: 1 to NvSciStreamQueryableAttrib_MaxMulticastOutputs attribute value queried by successful call to NvSciStreamAttributeQuery() API. |
[out] | multicast | NvSciStreamBlock which references a new multicast block. |
NvSciError NvSciStreamPoolPacketCreate | ( | NvSciStreamBlock const | pool, |
NvSciStreamCookie const | cookie, | ||
NvSciStreamPacket *const | handle | ||
) |
Creates a new packet and adds it to the pool block referenced by the given NvSciStreamBlock, associates the given NvSciStreamCookie with the packet and returns a NvSciStreamPacket which references the created packet.
Preconditions
Actions
Postconditions
[in] | pool | NvSciStreamBlock which references a pool block. |
[in] | cookie | Pool's NvSciStreamCookie for the packet. Valid value: cookie != NvSciStreamCookie_Invalid. |
[out] | handle | NvSciStreamPacket which references the created packet. |
NvSciError NvSciStreamPoolPacketDelete | ( | NvSciStreamBlock const | pool, |
NvSciStreamPacket const | handle | ||
) |
Removes a packet referenced by the given NvSciStreamPacket from the pool block referenced by the given NvSciStreamBlock.
If the packet is currently in the pool, it is removed right away. Otherwise this is deferred until the packet returns to the pool.
Preconditions
Actions
Postconditions
[in] | pool | NvSciStreamBlock which references a pool block. |
[in] | handle | NvSciStreamPacket which references the actual packet. |
NvSciError NvSciStreamPoolPacketInsertBuffer | ( | NvSciStreamBlock const | pool, |
NvSciStreamPacket const | handle, | ||
uint32_t const | index, | ||
NvSciBufObj const | bufObj | ||
) |
Registers an NvSciBufObj to the packet element referenced by the given index of the packet referenced by the given NvSciStreamPacket, if the packet is associated with the pool block referenced by the given NvSciStreamBlock.
Preconditions
Actions
Postconditions
[in] | pool | NvSciStreamBlock which references a pool block. |
[in] | handle | NvSciStreamPacket which references the actual packet. |
[in] | index | Index of element within packet. Valid value: 0 to count set to pool earlier with NvSciStreamBlockPacketElementCount() - 1. |
[in] | bufObj | NvSciBufObj to be registered. |
NvSciError NvSciStreamProducerCreate | ( | NvSciStreamBlock const | pool, |
NvSciStreamBlock *const | producer | ||
) |
Creates an instance of producer block, associates the given pool referenced by the given NvSciStreamBlock with it and returns a NvSciStreamBlock referencing the created producer block.
Preconditions
Actions
Postconditions
[in] | pool | NvSciStreamBlock which references a pool block to be associated with the producer block. |
[out] | producer | NvSciStreamBlock which references a new producer block. |
NvSciError NvSciStreamProducerPacketGet | ( | NvSciStreamBlock const | producer, |
NvSciStreamCookie *const | cookie, | ||
NvSciSyncFence *const | prefences | ||
) |
Instructs the producer referenced by the given NvSciStreamBlock to get a packet from the pool.
Preconditions
Actions
Postconditions
[in] | producer | NvSciStreamBlock which references a producer block. |
[out] | cookie | NvSciStreamCookie identifying the packet. |
[out] | prefences | Pointer to an array of NvSciSyncFence(s) to wait for before using the packet. Valid value: Must be at least large enough to hold one NvSciSyncFence for each NvSciSyncObj created by the consumer. If the NvSciSyncObj count received through NvSciStreamEventType_SyncCount event from consumer is zero, it can be NULL. |
NvSciError NvSciStreamProducerPacketPresent | ( | NvSciStreamBlock const | producer, |
NvSciStreamPacket const | handle, | ||
NvSciSyncFence const *const | postfences | ||
) |
Instructs the producer referenced by the given NvSciStreamBlock to insert the packet referenced by the given NvSciStreamPacket and the associated NvSciSyncFence array to every queue in the stream configuration for consumer processing.
Preconditions
Actions
Postconditions
[in] | producer | NvSciStreamBlock which references a producer block. |
[in] | handle | NvSciStreamPacket which references the actual packet. |
[in] | postfences | A pointer to array of NvSciSyncFences associated with the packet. |
NvSciError NvSciStreamStaticPoolCreate | ( | uint32_t const | numPackets, |
NvSciStreamBlock *const | pool | ||
) |
Creates an instance of static pool block and returns a NvSciStreamBlock referencing the created pool block.
Preconditions
Actions
Postconditions
[in] | numPackets | Number of packets. |
[out] | pool | NvSciStreamBlock which references a new pool block. |