|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.2.0 Release For Test and Development only
|
Go to the documentation of this file.
19 #ifndef NVSCISTREAM_API_H
20 #define NVSCISTREAM_API_H
211 uint32_t
const numPackets,
341 uint32_t
const outputCount,
494 int64_t
const timeoutUsec,
536 bool const synchronousOnly,
637 uint32_t
const index,
766 uint32_t
const index,
860 uint32_t
const index,
1018 uint32_t
const index,
1308 int32_t *
const value
NvSciError NvSciStreamBlockSyncObjCount(NvSciStreamBlock const block, uint32_t const count)
Provides block's number of sync objects.
NvSciError
Return/error codes for all NvSci functions.
NvSciError NvSciStreamBlockSyncObject(NvSciStreamBlock const block, uint32_t const index, NvSciSyncObj const syncObj)
Provides block's sync object.
NvSciError NvSciStreamPoolPacketDelete(NvSciStreamBlock const pool, NvSciStreamPacket const handle)
Removes a packet from the pool.
NvSciError NvSciStreamPoolPacketCreate(NvSciStreamBlock const pool, NvSciStreamCookie const cookie, NvSciStreamPacket *const handle)
Adds a new packet to the pool.
uintptr_t NvSciStreamBlock
Handle to a stream component.
NvSciError NvSciStreamIpcSrcCreate(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock *const ipc)
Creates an IPC source block.
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 NvSciStreamAttributeQuery(NvSciStreamQueryableAttrib const attr, int32_t *const value)
Queries NvSciStream attributes.
NvSciError NvSciStreamBlockElementAccept(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const index, NvSciError const err)
Accepts a packet element provided by the pool.
NvSciError NvSciStreamFifoQueueCreate(NvSciStreamBlock *const queue)
Creates a FIFO queue block.
NvSciError NvSciStreamProducerCreate(NvSciStreamBlock const pool, NvSciStreamBlock *const producer)
Creates a stream producer block.
NvSciError NvSciStreamStaticPoolCreate(uint32_t const numPackets, NvSciStreamBlock *const pool)
Creates a static stream pool block.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
A container constituting an NvSciSyncAttrList which contains:
NvSciError NvSciStreamBlockPacketElementCount(NvSciStreamBlock const block, uint32_t const count)
Block sets the number of elements in a packet.
struct NvSciBufObjRefRec * NvSciBufObj
A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the bu...
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvSciStreamQueryableAttrib
Defines NvSciStream attributes that are queryable.
NvSciError NvSciStreamBlockPacketAccept(NvSciStreamBlock const block, NvSciStreamPacket const handle, NvSciStreamCookie const cookie, NvSciError const err)
Accepts a packet provided by the pool.
NvSciError NvSciStreamMulticastCreate(uint32_t const outputCount, NvSciStreamBlock *const multicast)
Creates a multicast block.
uint64_t NvSciIpcEndpoint
Handle to the NvSciIpc endpoint.
NVIDIA Software Communications Interface (SCI) : NvSci Inter-Process Communication
NvSciError NvSciStreamConsumerPacketRelease(NvSciStreamBlock const consumer, NvSciStreamPacket const handle, NvSciSyncFence const *const postfences)
Returns a data packet to the stream.
uintptr_t NvSciStreamCookie
Component-assigned cookie for a packet.
NVIDIA Software Communications Interface (SCI) : NvSciStream
NvSciError NvSciStreamConsumerPacketAcquire(NvSciStreamBlock const consumer, NvSciStreamCookie *const cookie, NvSciSyncFence *const prefences)
Instructs the consumer to get a packet from the queue.
uintptr_t NvSciStreamPacket
NvSciStream-assigned handle for a packet.
struct NvSciBufModuleRec * NvSciBufModule
top-level container for the following set of resources: NvSciBufAttrLists, buffers,...
struct NvSciBufAttrListRec * NvSciBufAttrList
A container constituting an attribute list which contains.
NvSciError NvSciStreamIpcDstCreate(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock *const ipc)
Creates an IPC destination block.
NvSciError NvSciStreamMailboxQueueCreate(NvSciStreamBlock *const queue)
Creates a mailbox queue block.
NvSciError NvSciStreamBlockSyncRequirements(NvSciStreamBlock const block, bool const synchronousOnly, NvSciSyncAttrList const waitSyncAttrList)
Sets block sync object requirements.
Defines the opaque NvSciSyncFence.
NvSciError NvSciStreamProducerPacketGet(NvSciStreamBlock const producer, NvSciStreamCookie *const cookie, NvSciSyncFence *const prefences)
Instructs the producer to get a packet from the pool.
NVIDIA Software Communications Interface (SCI) : NvSciBuf
NvSciError NvSciStreamProducerPacketPresent(NvSciStreamBlock const producer, NvSciStreamPacket const handle, NvSciSyncFence const *const postfences)
Inserts a data packet into the stream.
NvSciError NvSciStreamBlockDelete(NvSciStreamBlock const block)
Destroys a stream block.
NvSciError NvSciStreamBlockConnect(NvSciStreamBlock const upstream, NvSciStreamBlock const downstream)
Connects two stream blocks.
NvSciStreamElementMode
Defines packet element access modes.
struct NvSciSyncModuleRec * NvSciSyncModule
Represents an instance of the NvSciSyncModule.
Describes a component event.
NvSciError NvSciStreamConsumerCreate(NvSciStreamBlock const queue, NvSciStreamBlock *const consumer)
Creates a stream consumer block.
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
NvSciError NvSciStreamPoolPacketInsertBuffer(NvSciStreamBlock const pool, NvSciStreamPacket const handle, uint32_t const index, NvSciBufObj const bufObj)
Registers a buffer to the packet.
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...