|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
19 #ifndef NVSCISTREAM_API_H
20 #define NVSCISTREAM_API_H
28 #include "nvdvms_client.h"
29 #include "nvdvms_types.h"
162 #if (defined(NV_QNX))
171 #if (NV_IS_SAFETY == 1)
229 #if (defined(NV_QNX))
246 #if (NV_IS_SAFETY == 1)
309 #if (defined(NV_QNX))
326 #if (NV_IS_SAFETY == 1)
355 bool const crcValidate,
384 #if (defined(NV_QNX))
401 #if (NV_IS_SAFETY == 1)
467 #if (defined(NV_QNX))
485 #if (NV_IS_SAFETY == 1)
514 bool const crcValidate,
544 #if (defined(NV_QNX))
556 #if (NV_IS_SAFETY == 1)
584 uint32_t
const numPackets,
616 #if (defined(NV_QNX))
628 #if (NV_IS_SAFETY == 1)
686 #if (defined(NV_QNX))
698 #if (NV_IS_SAFETY == 1)
754 #if (defined(NV_QNX))
768 #if (NV_IS_SAFETY == 1)
796 uint32_t
const outputCount,
832 #if (defined(NV_QNX))
847 #if (NV_IS_SAFETY == 1)
933 #if (defined(NV_QNX))
959 #if (NV_IS_SAFETY == 1)
1033 #if (defined(NV_QNX))
1048 #if (NV_IS_SAFETY == 1)
1130 #if (defined(NV_QNX))
1154 #if (NV_IS_SAFETY == 1)
1218 #if (defined(NV_QNX))
1231 #if (NV_IS_SAFETY == 1)
1259 uint32_t
const maxPackets,
1286 #if (defined(NV_QNX))
1299 #if (NV_IS_SAFETY == 1)
1353 #if (defined(NV_QNX))
1366 #if (NV_IS_SAFETY == 1)
1440 #if (NV_IS_SAFETY == 1)
1468 int64_t
const timeoutUsec,
1490 #if (NV_IS_SAFETY == 1)
1538 #if (defined(NV_QNX))
1550 #if (NV_IS_SAFETY == 1)
1579 uint32_t*
const numConsumers
1600 #if (defined(NV_QNX))
1629 #if (NV_IS_SAFETY == 1)
1658 bool const completed
1683 #if (defined(NV_QNX))
1711 #if (NV_IS_SAFETY == 1)
1744 uint32_t
const userType,
1776 #if (defined(NV_QNX))
1799 #if (NV_IS_SAFETY == 1)
1831 uint32_t*
const numElements
1871 #if (defined(NV_QNX))
1896 #if (NV_IS_SAFETY == 1)
1927 uint32_t
const elemIndex,
1928 uint32_t*
const userType,
1950 #if (defined(NV_QNX))
1974 #if (NV_IS_SAFETY == 1)
2008 uint32_t
const userType,
2009 uint32_t
const consumerIndex
2031 #if (defined(NV_QNX))
2049 #if (NV_IS_SAFETY == 1)
2083 uint32_t
const elemIndex,
2106 #if (defined(NV_QNX))
2129 #if (NV_IS_SAFETY == 1)
2179 #if (defined(NV_QNX))
2200 #if (NV_IS_SAFETY == 1)
2228 uint32_t
const index,
2244 #if (defined(NV_QNX))
2262 #if (NV_IS_SAFETY == 1)
2312 #if (defined(NV_QNX))
2327 #if (NV_IS_SAFETY == 1)
2372 #if (defined(NV_QNX))
2391 #if (NV_IS_SAFETY == 1)
2439 #if (defined(NV_QNX))
2460 #if (NV_IS_SAFETY == 1)
2492 uint32_t
const elemIndex,
2510 #if (defined(NV_QNX))
2528 #if (NV_IS_SAFETY == 1)
2580 #if (defined(NV_QNX))
2601 #if (NV_IS_SAFETY == 1)
2647 #if (defined(NV_QNX))
2665 #if (NV_IS_SAFETY == 1)
2694 bool*
const accepted
2715 #if (defined(NV_QNX))
2736 #if (NV_IS_SAFETY == 1)
2766 uint32_t
const queryBlockIndex,
2789 #if (defined(NV_QNX))
2808 #if (NV_IS_SAFETY == 1)
2838 uint32_t
const elemIndex,
2861 #if (defined(NV_QNX))
2881 #if (NV_IS_SAFETY == 1)
2914 uint32_t
const elemIndex,
2937 #if (defined(NV_QNX))
2959 #if (NV_IS_SAFETY == 1)
2989 uint32_t
const elemIndex,
3017 #if (defined(NV_QNX))
3039 #if (NV_IS_SAFETY == 1)
3075 uint32_t
const queryBlockIndex,
3076 uint32_t
const elemIndex,
3111 #if (NV_IS_SAFETY == 1)
3168 #if (NV_IS_SAFETY == 1)
3229 #if (NV_IS_SAFETY == 1)
3285 #if (NV_IS_SAFETY == 1)
3347 #if (NV_IS_SAFETY == 1)
3376 uint32_t
const elemIndex,
3415 #if (NV_IS_SAFETY == 1)
3444 uint32_t
const queryBlockIndex,
3445 uint32_t
const elemIndex,
3466 #if (defined(NV_QNX))
3484 #if (NV_IS_SAFETY == 1)
3513 uint32_t
const consumerIndex,
3514 bool*
const newConnected );
3541 #if (defined(NV_QNX))
3549 #if (NV_IS_SAFETY == 1)
3602 #if (NV_IS_SAFETY == 1)
3645 #if (defined(NV_QNX))
3674 int32_t *
const value
3703 #if (defined(NV_QNX))
3717 #if (NV_IS_SAFETY == 1)
3731 #if (NV_IS_SAFETY == 1)
3798 #if (defined(NV_QNX))
3817 #if (NV_IS_SAFETY == 1)
3855 uint32_t*
const notifierCount,
3885 #if (NV_IS_SAFETY == 1)
3934 #if (defined(NV_QNX))
3951 #if (NV_IS_SAFETY == 1)
3981 uint32_t
const userType,
3982 uint32_t
const dataSize,
3983 void const*
const data);
4012 #if (defined(NV_QNX))
4033 #if (NV_IS_SAFETY == 1)
4065 uint32_t
const queryBlockIndex,
4066 uint32_t
const userType,
4067 uint32_t*
const dataSize,
4096 #if (defined(NV_QNX))
4113 #if (NV_IS_SAFETY == 1)
4143 uint32_t
const userType,
4144 uint32_t
const dataSize,
4145 void const*
const data,
4146 uint32_t*
const crc);
4182 #if (defined(NV_QNX))
4204 #if (NV_IS_SAFETY == 1)
4236 uint32_t
const queryBlockIndex,
4237 uint32_t
const userType,
4238 uint32_t*
const dataSize,
4240 uint32_t*
const crc);
4270 #if (defined(NV_QNX))
4299 #if (NV_IS_SAFETY == 1)
4332 uint32_t
const userType,
4334 uint32_t*
const crc);
4380 #if (defined(NV_QNX))
4406 #if (NV_IS_SAFETY == 1)
4437 uint32_t
const elemIndex,
4438 uint32_t*
const userType,
4440 uint32_t*
const crc);
4465 #if (defined(NV_QNX))
4488 #if (NV_IS_SAFETY == 1)
4517 uint32_t
const index,
4519 uint32_t*
const crc);
4545 #if (defined(NV_QNX))
4568 #if (NV_IS_SAFETY == 1)
4602 uint32_t
const elemIndex,
4604 size_t const crcCount,
4605 uint32_t*
const crc);
4633 #if (defined(NV_QNX))
4656 #if (NV_IS_SAFETY == 1)
4686 uint32_t
const elemIndex,
4688 uint32_t*
const crc);
4720 #if (defined(NV_QNX))
4743 #if (NV_IS_SAFETY == 1)
4779 uint32_t
const queryBlockIndex,
4780 uint32_t
const elemIndex,
4782 uint32_t*
const crc);
4825 #if (NV_IS_SAFETY == 1)
4854 uint32_t
const elemIndex,
4856 uint32_t*
const crc);
4903 #if (NV_IS_SAFETY == 1)
4932 uint32_t
const queryBlockIndex,
4933 uint32_t
const elemIndex,
4935 uint32_t*
const crc);
4950 #if (defined(NV_QNX))
4965 #if (NV_IS_SAFETY == 1)
4994 uint32_t*
const index);
5013 #if (defined(NV_QNX))
5025 #if (NV_IS_SAFETY == 1)
NvSciError NvSciStreamBlockElementSignalObjSet(NvSciStreamBlock const block, uint32_t const elemIndex, NvSciSyncObj const signalSyncObj)
Specifies block's NvSciSync object used to signal when it is done writing or reading a buffer referen...
NvSciError
Return/error codes for all NvSci functions.
struct NvSciSyncObjRec * NvSciSyncObj
NVIDIA Software Communications Interface (SCI) : NvSci Event Service
NvSciError NvSciStreamPoolPacketDelete(NvSciStreamBlock const pool, NvSciStreamPacket const handle)
Removes a packet referenced by the given NvSciStreamPacket from the pool block referenced by the give...
NvSciError NvSciStreamBlockPacketFenceGetWithCrc(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const queryBlockIndex, uint32_t const elemIndex, NvSciSyncFence *const prefence, uint32_t *const crc)
Retrieves the prefence which indicates when the the indexed opposing endpoint will be done operating ...
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,...
NvSciError NvSciStreamBlockPacketNewHandleGet(NvSciStreamBlock const block, NvSciStreamPacket *const handle)
In producer and consumer blocks, queries the handle of a newly defined packet.
NvSciError NvSciStreamConsumerIndexGet(NvSciStreamBlock const consumer, uint32_t *const index)
Queries the index of the consumer block referenced by the given NvSciStreamBlock.
NvSciError NvSciStreamConsumerPacketRelease(NvSciStreamBlock const consumer, NvSciStreamPacket const handle)
Instructs the consumer referenced by consumer to release the packet referenced by handle into the str...
uintptr_t NvSciStreamBlock
Handle to a 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 blo...
NvSciError NvSciStreamBlockUserInfoGet(NvSciStreamBlock const block, NvSciStreamBlockType const queryBlockType, uint32_t const queryBlockIndex, uint32_t const userType, uint32_t *const dataSize, void *const data)
Queries the user-defined information with userType in list of endpoint information at the block from ...
NvSciError NvSciStreamBlockElementWaiterAttrSet(NvSciStreamBlock const block, uint32_t const elemIndex, NvSciSyncAttrList const waitSyncAttrList)
Specifies block's NvSciSync requirements to be able to wait for sync objects provided by the opposing...
NvSciError NvSciStreamBlockElementSignalObjSetWithCrc(NvSciStreamBlock const block, uint32_t const elemIndex, NvSciSyncObj const signalSyncObj, uint32_t *const crc)
Specifies block's NvSciSync object used to signal when it is done writing or reading a buffer referen...
NvSciError NvSciStreamPoolPacketComplete(NvSciStreamBlock const pool, NvSciStreamPacket const handle)
Marks a packet as complete and sends it to the rest of the stream.
NvSciError NvSciStreamAttributeQuery(NvSciStreamQueryableAttrib const attr, int32_t *const value)
Queries the value of one of the NvSciStreamQueryableAttrib.
NvSciError NvSciStreamBlockEventQuery(NvSciStreamBlock const block, int64_t const timeoutUsec, NvSciStreamEventType *const event)
Queries for the next event from block referenced by the given NvSciStreamBlock, optionally waiting wh...
NvSciError NvSciStreamProducerPacketGet(NvSciStreamBlock const producer, NvSciStreamCookie *const cookie)
Instructs the producer referenced by producer to retrieve a packet from the pool.
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 NvSc...
NvSciError NvSciStreamPoolPacketInsertBufferWithCrc(NvSciStreamBlock const pool, NvSciStreamPacket const handle, uint32_t const index, NvSciBufObj const bufObj, uint32_t *const crc)
Registers an NvSciBufObj as the indexed element of the referenced NvSciStreamPacket owned by the pool...
NvSciError NvSciStreamPacketSendSync(NvSciStreamBlock const block)
Enables the synchronous payload transfer during runtime.
NvSciError NvSciStreamBlockElementAttrGet(NvSciStreamBlock const block, NvSciStreamBlockType const queryBlockType, uint32_t const elemIndex, uint32_t *const userType, NvSciBufAttrList *const bufAttrList)
Queries the user-defined type and/or buffer attribute list for an entry, referenced by elemIndex,...
NvSciError NvSciStreamBlockUserInfoGetWithCrc(NvSciStreamBlock const block, NvSciStreamBlockType const queryBlockType, uint32_t const queryBlockIndex, uint32_t const userType, uint32_t *const dataSize, void *const data, uint32_t *const crc)
Queries the user-defined information with userType in list of endpoint information at the block from ...
NvSciError NvSciStreamLimiterCreate(uint32_t const maxPackets, NvSciStreamBlock *const limiter)
Creates an instance of Limiter block and returns a NvSciStreamBlock referencing the created Limiter b...
const WFDPipeline NvSciBufObj *const bufObj
NvSciError NvSciStreamBlockConsumerCountGet(NvSciStreamBlock const block, uint32_t *const numConsumers)
Queries the number of consumers downstream of the block referenced by the given NvSciStreamBlock (or ...
NvSciError NvSciStreamConsumerPacketAcquire(NvSciStreamBlock const consumer, NvSciStreamCookie *const cookie)
Instructs the consumer referenced by consumer to retrieve a packet from the queue.
NvSciError NvSciStreamFifoQueueCreate(NvSciStreamBlock *const queue)
Creates an instance of FIFO queue block and returns a NvSciStreamBlock referencing the created FIFO q...
NvSciError NvSciStreamProducerCreate(NvSciStreamBlock const pool, NvSciStreamBlock *const producer)
Creates an instance of producer block, associates the given pool referenced by the given NvSciStreamB...
NvSciError NvSciStreamReturnSyncCreate(NvSciSyncModule const syncModule, NvSciStreamBlock *const returnSync)
Creates an instance of ReturnSync block and returns a NvSciStreamBlock referencing the created Return...
NvSciError NvSciStreamStaticPoolCreate(uint32_t const numPackets, NvSciStreamBlock *const pool)
Creates an instance of static pool block and returns a NvSciStreamBlock referencing the created pool ...
NvSciError NvSciStreamBlockDisconnect(NvSciStreamBlock const block)
Disconnects an IpcSrc block referenced by the given NvSciStreamBlock during streaming phase.
An abstract interface to notify event to event consumer and to register event handler of the event co...
struct NvSciBufObjRefRec * NvSciBufObj
struct NvSciBufAttrListRec * NvSciBufAttrList
NvSciError NvSciStreamBlockPacketBufferGet(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const elemIndex, NvSciBufObj *const bufObj)
In producer and consumer blocks, queries an indexed buffer from a packet.
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvSciStreamQueryableAttrib
Defines NvSciStream attributes that are queryable.
const WFDCommitType const WFDHandle handle
NvSciError NvSciStreamBlockSetupStatusSet(NvSciStreamBlock const block, NvSciStreamSetup const setupType, bool const completed)
Indicates a group of setup operations identified by setupType on block are complete.
NvSciError NvSciStreamBlockElementAttrGetWithCrc(NvSciStreamBlock const block, NvSciStreamBlockType const queryBlockType, uint32_t const elemIndex, uint32_t *const userType, NvSciBufAttrList *const bufAttrList, uint32_t *const crc)
Queries the user-defined type and/or buffer attribute list for an entry, referenced by elemIndex,...
NvSciError NvSciStreamBlockPacketFenceSet(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const elemIndex, NvSciSyncFence const *const postfence)
Sets the postfence which indicates when the application controlling will be done operating on the ind...
NvSciError NvSciStreamBlockHandleInternalEvents(NvSciStreamBlock const block)
Handle NvSciStream internal events on a block referenced by the given NvSciStreamBlock.
NvSciError NvSciStreamBlockInternalEventServiceSetup(NvSciStreamBlock const block, NvSciEventService *const eventService, uint32_t *const notifierCount, NvSciEventNotifier **const eventNotifierArray)
Configures a block referenced by the given NvSciStreamBlock to use the user-provided NvSciEventServic...
NvSciError NvSciStreamMulticastCreate(uint32_t const outputCount, NvSciStreamBlock *const multicast)
Creates an instance of multicast block and returns a NvSciStreamBlock referencing the created multica...
NvSciError NvSciStreamIpcSrcCreate2(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock const queue, NvSciStreamBlock *const ipc)
Creates an instance of IpcSrc or C2CSrc block and returns a NvSciStreamBlock referencing the created ...
NvSciStreamSetup
Setup information will be broken into several distinct groups, ! with restrictions on when they can b...
NvSciError NvSciStreamBlockElementSignalObjGetWithCrc(NvSciStreamBlock const block, uint32_t const queryBlockIndex, uint32_t const elemIndex, NvSciSyncObj *const signalSyncObj, uint32_t *const crc)
Retrieves an opposing endpoint's NvSciSync object which it uses to signal when it is done writing or ...
NvSciError NvSciStreamNewConsumerGet(NvSciStreamBlock const producer, uint32_t const consumerIndex, bool *const newConnected)
Queries whether the indexed consumer is a newly connected consumer.
NVIDIA Software Communications Interface (SCI) : NvSci Inter-Process Communication
NvSciError NvSciStreamBlockPacketStatusSet(NvSciStreamBlock const block, NvSciStreamPacket const handle, NvSciStreamCookie const cookie, NvSciError const status)
In producer and consumer blocks, either accepts a packet, providing a cookie to be used in subsequent...
NvSciError NvSciStreamBlockUserInfoSetWithCrc(NvSciStreamBlock const block, uint32_t const userType, uint32_t const dataSize, void const *const data, uint32_t *const crc)
Provides user-defined information at the producer and consumer with the specified userType,...
uintptr_t NvSciStreamCookie
Application assigned cookie for a NvSciStreamPacket.
uint64_t NvSciIpcEndpoint
Handle to the NvSciIpc endpoint.
NvSciError NvSciStreamBlockElementCountGet(NvSciStreamBlock const block, NvSciStreamBlockType const queryBlockType, uint32_t *const numElements)
Queries the number of elements received at the block from the source identified by queryBlockType.
NVIDIA Software Communications Interface (SCI) : NvSciStream
NvSciError NvSciStreamProducerPacketPresent(NvSciStreamBlock const producer, NvSciStreamPacket const handle)
Instructs the producer referenced by producer to insert the packet referenced by handle into the stre...
NvSciError NvSciStreamBlockPacketFenceSetWithCrc(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const elemIndex, NvSciSyncFence const *const postfence, uint32_t *const crc)
Sets the postfence which indicates when the application controlling will be done operating on the ind...
NvSciError NvSciStreamBlockElementWaiterAttrGet(NvSciStreamBlock const block, uint32_t const elemIndex, NvSciSyncAttrList *const waitSyncAttrList)
Retrieves the opposing endpoints' NvSciSync requirements to be be able to wait for sync objects signa...
NvSciError NvSciStreamBlockPacketFenceGet(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const queryBlockIndex, uint32_t const elemIndex, NvSciSyncFence *const prefence)
Retrieves the prefence which indicates when the the indexed opposing endpoint will be done operating ...
uintptr_t NvSciStreamPacket
NvSciStream assigned handle for a packet.
struct NvSciBufModuleRec * NvSciBufModule
top-level container for the following set of resources: NvSciBufAttrLists, memory objects,...
NvSciError NvSciStreamBlockElementAttrSet(NvSciStreamBlock const block, uint32_t const userType, NvSciBufAttrList const bufAttrList)
Adds an element with the specified userType and bufAttrList to the list of elements defined by block.
NvSciError NvSciStreamPresentSyncCreate(NvSciSyncModule const syncModule, NvSciStreamBlock *const presentSync)
Creates an instance of PresentSync block and returns a NvSciStreamBlock referencing the created Prese...
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 blo...
NvSciError NvSciStreamMailboxQueueCreate(NvSciStreamBlock *const queue)
Creates an instance of mailbox queue block and returns a NvSciStreamBlock referencing the created mai...
NvSciError NvSciStreamBlockElementSignalObjGet(NvSciStreamBlock const block, uint32_t const queryBlockIndex, uint32_t const elemIndex, NvSciSyncObj *const signalSyncObj)
Retrieves an opposing endpoint's NvSciSync object which it uses to signal when it is done writing or ...
Defines the opaque NvSciSyncFence.
NvSciError NvSciStreamPoolPacketStatusValueGet(NvSciStreamBlock const pool, NvSciStreamPacket const handle, NvSciStreamBlockType const queryBlockType, uint32_t const queryBlockIndex, NvSciError *const status)
In pool, queries the status value for a given packet returned by a specified endpoint.
NvSciError NvSciStreamBlockElementAttrSetWithCrc(NvSciStreamBlock const block, uint32_t const userType, NvSciBufAttrList const bufAttrList, uint32_t *const crc)
Adds an element with the specified userType and bufAttrList to the list of elements defined by block.
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvSciError NvSciStreamProducerCreate2(NvSciStreamBlock const pool, bool const crcValidate, NvSciStreamBlock *const producer)
Creates an instance of producer block, associates the given pool referenced by the given NvSciStreamB...
NvSciError NvSciStreamConsumerCreate2(NvSciStreamBlock const queue, bool const crcValidate, NvSciStreamBlock *const consumer)
Creates an instance of consumer block, associates the given queue block referenced by the given NvSci...
NvSciError NvSciStreamPoolPacketStatusAcceptGet(NvSciStreamBlock const pool, NvSciStreamPacket const handle, bool *const accepted)
In pool, queries whether or not a packet has been accepted.
NvSciStreamEventType
Defines event types for the blocks.
NvSciError NvSciStreamBlockDelete(NvSciStreamBlock const block)
Schedules a block referenced by the given NvSciStreamBlock for destruction, disconnecting the block i...
NvSciError NvSciStreamBlockElementUsageSet(NvSciStreamBlock const block, uint32_t const elemIndex, bool const used)
Indicates whether the entry at elemIndex in the list of allocated elements will be used by the block.
NvSciError NvSciStreamBlockConnect(NvSciStreamBlock const upstream, NvSciStreamBlock const downstream)
Establishes connection between two blocks referenced by the given NvSciStreamBlock(s).
NvSciError NvSciStreamBlockPacketOldCookieGet(NvSciStreamBlock const block, NvSciStreamCookie *const cookie)
In producer and consumer blocks, queries the cookie of a recently deleted packet.
NvSciError NvSciStreamBlockPacketBufferGetWithCrc(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const elemIndex, NvSciBufObj *const bufObj, size_t const crcCount, uint32_t *const crc)
In producer and consumer blocks, queries an indexed buffer from a packet.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
struct NvSciSyncModuleRec * NvSciSyncModule
Represents an instance of the NvSciSyncModule.
NvSciError NvSciStreamBlockErrorGet(NvSciStreamBlock const block, NvSciError *const status)
Queries the error code for an error event.
NvSciError NvSciStreamIpcDstCreate2(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock const pool, NvSciStreamBlock *const ipc)
Creates an instance of IpcDst or C2CDst block and returns a NvSciStreamBlock referencing the created ...
NvSciError NvSciStreamConsumerCreate(NvSciStreamBlock const queue, NvSciStreamBlock *const consumer)
Creates an instance of consumer block, associates the given queue block referenced by the given NvSci...
NvSciError NvSciStreamPoolPacketInsertBuffer(NvSciStreamBlock const pool, NvSciStreamPacket const handle, uint32_t const index, NvSciBufObj const bufObj)
Registers an NvSciBufObj as the indexed element of the referenced NvSciStreamPacket owned by the pool...
NvSciStreamBlockType
Most queries on one block request information received from ! another block.
NvSciError NvSciStreamBlockElementNotVisible(NvSciStreamBlock const pool, uint32_t const userType, uint32_t const consumerIndex)
Indicates the entry with userType in the list of allocated elements will NOT be visible to the consum...
NvSciError NvSciStreamBlockUserInfoSet(NvSciStreamBlock const block, uint32_t const userType, uint32_t const dataSize, void const *const data)
Provides user-defined information at the producer and consumer with the specified userType,...
An abstract interface for a program's event handling infrastructure.