|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.1.15.0 Release For Test and Development only
|
Go to the documentation of this file.
758 uint32_t
const numPackets,
888 uint32_t
const outputCount,
1041 int64_t
const timeoutUsec,
1083 bool const synchronousOnly,
1134 uint32_t
const count
1184 uint32_t
const index,
1241 uint32_t
const count
1313 uint32_t
const index,
1314 uint32_t
const type,
1407 uint32_t
const index,
1565 uint32_t
const index,
1855 int32_t *
const value
NvSciBufAttrList bufAttrList
Used with events that specify buffer object attributes: PacketAttr PacketAttrProducer PacketAttrConsu...
NvSciError
Return/error codes for all NvSci functions.
@ NvSciStreamEventType_PacketElementCountProducer
Specifies number of packets elements request from producer.
@ NvSciStreamQueryableAttrib_MaxSyncObj
Maximum number of NvSciSync objects allowed.
NvSciError NvSciStreamPoolPacketInsertBuffer(NvSciStreamBlock const pool, NvSciStreamPacket const handle, uint32_t const index, NvSciBufObj const bufObj)
Registers a buffer to the packet.
@ NvSciStreamEventType_PacketElementCountConsumer
Specifies number of packets elements request from consumer.
NvSciError NvSciStreamMailboxQueueCreate(NvSciStreamBlock *const queue)
Creates a mailbox queue block.
@ NvSciStreamEventType_ElementStatusProducer
Specifies the producer-side status of packet element.
NvSciError NvSciStreamIpcSrcCreate(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock *const ipc)
Creates an IPC source block.
NvSciStreamCookie packetCookie
Used with events that indicate a packet operation: PacketDelete PacketElement PacketStatusProducer Pa...
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.
NvSciSyncObj syncObj
Used with events that provide a sync object: SyncDesc.
NvSciError NvSciStreamProducerPacketPresent(NvSciStreamBlock const producer, NvSciStreamPacket const handle, NvSciSyncFence const *const postfences)
Inserts a data packet into the stream.
@ NvSciStreamEventType_PacketStatusProducer
Specifies the producer-side status of packet.
static const NvSciStreamPacket NvSciStreamPacket_Invalid
Constant variable denoting invalid packet.
NvSciStreamEventType type
Holds the type of event.
NvSciError error
Used with events that return an error: PacketStatus ElementStatus.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
A container constituting an NvSciSyncAttrList which contains:
NvSciError NvSciStreamConsumerCreate(NvSciStreamBlock const queue, NvSciStreamBlock *const consumer)
Creates a stream consumer block.
struct NvSciBufObjRefRec * NvSciBufObj
A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the bu...
NvSciError NvSciStreamBlockPacketElementCount(NvSciStreamBlock const block, uint32_t const count)
Block sets the number of elements in a packet.
@ NvSciStreamEventType_PacketAttrProducer
Specifies the packet capabilities from producer.
NVIDIA Software Communications Interface (SCI) : NvSciSync
NvSciStreamPacket packetHandle
Used with events that return a packet handle: PacketCreate.
@ NvSciStreamEventType_Error
Indicates a failure not directly triggered by user action.
@ NvSciStreamElementMode_Immediate
Written synchronously, typically by CPU.
@ NvSciStreamEventType_PacketReady
Specifies a packet is available for reuse or acquire.
@ NvSciStreamEventType_SyncDesc
Specifies a sync object sent from the opposite endpoint.
NvSciError NvSciStreamProducerCreate(NvSciStreamBlock const pool, NvSciStreamBlock *const producer)
Creates a stream producer block.
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...
@ NvSciStreamEventType_PacketCreate
Indicates new packet object has been introduced by pool.
NvSciBufObj bufObj
Used with events that provide a buffer object: PacketElement.
NvSciError NvSciStreamProducerPacketGet(NvSciStreamBlock const producer, NvSciStreamCookie *const cookie, NvSciSyncFence *const prefences)
Instructs the producer to get a packet from the pool.
NvSciError NvSciStreamBlockSyncObjCount(NvSciStreamBlock const block, uint32_t const count)
Provides block's number of sync objects.
NvSciError NvSciStreamConsumerPacketAcquire(NvSciStreamBlock const consumer, NvSciStreamCookie *const cookie, NvSciSyncFence *const prefences)
Instructs the consumer to get a packet from the queue.
NvSciStreamElementMode syncMode
Used with events that specify a synchronization mode: PacketAttr PacketAttrProducer PacketAttrConsume...
uint32_t userData
Used with events that require a user-defined data field: PacketAttr PacketAttrProducer PacketAttrCons...
NvSciStreamElementMode mode
@ NvSciStreamEventType_PacketStatusConsumer
Specifies the consumer-side status of packet.
NvSciError NvSciStreamFifoQueueCreate(NvSciStreamBlock *const queue)
Creates a FIFO queue block.
uint64_t NvSciIpcEndpoint
Handle to the NvSciIpc endpoint.
NVIDIA Software Communications Interface (SCI) : NvSci Inter-Process Communication
NvSciSyncFence * prefences
NvSciError NvSciStreamIpcDstCreate(NvSciIpcEndpoint const ipcEndpoint, NvSciSyncModule const syncModule, NvSciBufModule const bufModule, NvSciStreamBlock *const ipc)
Creates an IPC destination block.
NvSciError NvSciStreamBlockSyncRequirements(NvSciStreamBlock const block, bool const synchronousOnly, NvSciSyncAttrList const waitSyncAttrList)
Sets block sync object requirements.
NvSciStreamElementMode
Defines packet element access modes.
@ NvSciStreamEventType_Disconnected
Indicates portions of the stream have disconnected such that no more useful work can be done with the...
@ NvSciStreamElementMode_Asynchronous
Written asynchronously, typically by hardware engine.
@ NvSciStreamEventType_PacketAttr
Specifies the packet final settings from pool.
NvSciError NvSciStreamBlockDelete(NvSciStreamBlock const block)
Destroys a stream block.
@ NvSciStreamEventType_PacketAttrConsumer
Specifies the packet requests from consumer.
struct NvSciBufModuleRec * NvSciBufModule
top-level container for the following set of resources: NvSciBufAttrLists, buffers,...
uint32_t index
Used with events that require an index: SyncDesc PacketAttr PacketElement ElementStatusProducer Eleme...
struct NvSciBufAttrListRec * NvSciBufAttrList
A container constituting an attribute list which contains.
@ NvSciStreamEventType_SyncAttr
Specifies sync object requirements.
@ NvSciStreamQueryableAttrib_MaxMulticastOutputs
Maximum number of multicast outputs allowed.
NvSciError NvSciStreamAttributeQuery(NvSciStreamQueryableAttrib const attr, int32_t *const value)
Queries NvSciStream attributes.
@ NvSciStreamEventType_PacketDelete
Specifies the discontinued packet object.
uintptr_t NvSciStreamCookie
Component-assigned cookie for a packet.
Defines the opaque NvSciSyncFence.
NvSciError NvSciStreamBlockSyncObject(NvSciStreamBlock const block, uint32_t const index, NvSciSyncObj const syncObj)
Provides block's sync object.
NvSciError NvSciStreamPoolPacketCreate(NvSciStreamBlock const pool, NvSciStreamCookie const cookie, NvSciStreamPacket *const handle)
Adds a new packet to the pool.
NVIDIA Software Communications Interface (SCI) : NvSciBuf
The following data structures are no longer used by any interfaces and are deprecated.
NvSciError NvSciStreamStaticPoolCreate(uint32_t const numPackets, NvSciStreamBlock *const pool)
Creates a static stream pool block.
NvSciError NvSciStreamConsumerPacketRelease(NvSciStreamBlock const consumer, NvSciStreamPacket const handle, NvSciSyncFence const *const postfences)
Returns a data packet to the stream.
NvSciStreamQueryableAttrib
Defines NvSciStream attributes that are queryable.
NvSciSyncAttrList syncAttrList
Used with events that specify sync object attributes: SyncAttr.
@ NvSciStreamEventType_PacketElementCount
Specifies the number of packet elements determined by pool.
uintptr_t NvSciStreamBlock
Handle to a stream component.
@ NvSciStreamEventType_SyncCount
Specifies the number of sync objects sent from the opposite endpoint.
@ NvSciStreamEventType_Connected
Indicates block has complete connection to producer and consumer endpoints.
NvSciError NvSciStreamBlockPacketAttr(NvSciStreamBlock const block, uint32_t const index, uint32_t const type, NvSciStreamElementMode const syncMode, NvSciBufAttrList const bufAttrList)
Sets block packet requirements/capabilities.
struct NvSciSyncModuleRec * NvSciSyncModule
Represents an instance of the NvSciSyncModule.
NvSciError NvSciStreamBlockConnect(NvSciStreamBlock const upstream, NvSciStreamBlock const downstream)
Connects two stream blocks.
NvSciSyncAttrList waiterSyncAttr
@ NvSciStreamEventType_ElementStatusConsumer
Specifies the consumer-side status of packet element.
uintptr_t NvSciStreamPacket
NvSciStream-assigned handle for a packet.
Describes a component event.
static const NvSciStreamCookie NvSciStreamCookie_Invalid
Constant variable denoting invalid cookie.
NvSciError NvSciStreamPoolPacketDelete(NvSciStreamBlock const pool, NvSciStreamPacket const handle)
Removes a packet from the pool.
uint32_t count
Used with events that require a count: SyncCount PacketElementCount PacketElementCountProducer Packet...
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
bool synchronousOnly
Used with events that specify sync object attributes: SyncAttr.
@ NvSciStreamQueryableAttrib_MaxElements
Maximum number of elements allowed per packet.
@ NvSciStreamEventType_PacketElement
Specifies new packet element.
NvSciError NvSciStreamBlockElementAccept(NvSciStreamBlock const block, NvSciStreamPacket const handle, uint32_t const index, NvSciError const err)
Accepts a packet element provided by the pool.
NvSciStreamEventType
Defines component event types.