NVIDIA DRIVE OS Linux SDK API Reference

5.2.0 Release
For Test and Development only

Detailed Description

Describes a component event.

Definition at line 441 of file nvscistream_types.h.

Data Fields

NvSciStreamEventType type
 Holds the type of event. More...
 
NvSciSyncAttrList syncAttrList
 Used with events that specify sync object attributes: SyncAttr. More...
 
NvSciBufAttrList bufAttrList
 Used with events that specify buffer object attributes: PacketAttr PacketAttrProducer PacketAttrConsumer. More...
 
NvSciSyncObj syncObj
 Used with events that provide a sync object: SyncDesc. More...
 
NvSciBufObj bufObj
 Used with events that provide a buffer object: PacketElement. More...
 
NvSciStreamPacket packetHandle
 Used with events that return a packet handle: PacketCreate. More...
 
NvSciStreamCookie packetCookie
 Used with events that indicate a packet operation: PacketDelete PacketElement PacketStatusProducer PacketStatusConsumer ElementStatusProducer ElementStatusConsumer. More...
 
uint32_t count
 Used with events that require a count: SyncCount PacketElementCount PacketElementCountProducer PacketElementCountConsumer. More...
 
uint32_t index
 Used with events that require an index: SyncDesc PacketAttr PacketElement ElementStatusProducer ElementStatusConsumer. More...
 
NvSciError error
 Used with events that return an error: PacketStatus ElementStatus. More...
 
uint32_t userData
 Used with events that require a user-defined data field: PacketAttr PacketAttrProducer PacketAttrConsumer. More...
 
bool synchronousOnly
 Used with events that specify sync object attributes: SyncAttr. More...
 
NvSciStreamElementMode syncMode
 Used with events that specify a synchronization mode: PacketAttr PacketAttrProducer PacketAttrConsumer. More...
 

Field Documentation

◆ bufAttrList

NvSciBufAttrList NvSciStreamEvent::bufAttrList

Used with events that specify buffer object attributes: PacketAttr PacketAttrProducer PacketAttrConsumer.

For other events, will be set to NULL.

If set, provides an attribute list handle of which the recipient becomes the owner. It should free the handle when it is no longer required.

Definition at line 469 of file nvscistream_types.h.

◆ bufObj

NvSciBufObj NvSciStreamEvent::bufObj

Used with events that provide a buffer object: PacketElement.

For other events, will be set to NULL.

If set, provides a buffer object handle of which the recipient becomes the owner. It should free the handle when it is no longer required.

Definition at line 493 of file nvscistream_types.h.

◆ count

uint32_t NvSciStreamEvent::count

Used with events that require a count: SyncCount PacketElementCount PacketElementCountProducer PacketElementCountConsumer.

For other events, will be set to 0.

Indicates a number of items for this or subsequent events.

Definition at line 529 of file nvscistream_types.h.

◆ error

NvSciError NvSciStreamEvent::error

Used with events that return an error: PacketStatus ElementStatus.

For other events, will be set to NvSciError_Success.

Indicates the status of an operation.

Definition at line 554 of file nvscistream_types.h.

◆ index

uint32_t NvSciStreamEvent::index

Used with events that require an index: SyncDesc PacketAttr PacketElement ElementStatusProducer ElementStatusConsumer.

For other events, will be set to 0.

Indicates position of item to which the event applies within a list.

Definition at line 543 of file nvscistream_types.h.

◆ packetCookie

NvSciStreamCookie NvSciStreamEvent::packetCookie

Used with events that indicate a packet operation: PacketDelete PacketElement PacketStatusProducer PacketStatusConsumer ElementStatusProducer ElementStatusConsumer.

For other events, will be set to NvSciStreamCookie_Invalid.

Provides the component's cookie identifying the packet.

Definition at line 516 of file nvscistream_types.h.

◆ packetHandle

NvSciStreamPacket NvSciStreamEvent::packetHandle

Used with events that return a packet handle: PacketCreate.

For other events, will be set to NvSciStreamPacket_Invalid.

Definition at line 501 of file nvscistream_types.h.

◆ syncAttrList

NvSciSyncAttrList NvSciStreamEvent::syncAttrList

Used with events that specify sync object attributes: SyncAttr.

For other events, or if not needed, will be set to NULL.

If set, provides an attribute list handle of which the recipient becomes the owner. It should free the handle when it is no longer required.

Definition at line 455 of file nvscistream_types.h.

◆ synchronousOnly

bool NvSciStreamEvent::synchronousOnly

Used with events that specify sync object attributes: SyncAttr.

For other events, will be set to false.

Indicates endpoint cannot process sync objects of any kind and data must be published synchronously. (This case is not common.)

Definition at line 578 of file nvscistream_types.h.

◆ syncMode

NvSciStreamElementMode NvSciStreamEvent::syncMode

Used with events that specify a synchronization mode: PacketAttr PacketAttrProducer PacketAttrConsumer.

For other events, defaults to NvSciStreamElementMode_Asynchronous, and can be ignored.

Indicates whether data requires synchronization before using.

Definition at line 591 of file nvscistream_types.h.

◆ syncObj

NvSciSyncObj NvSciStreamEvent::syncObj

Used with events that provide a sync object: SyncDesc.

For other events, will be set to NULL.

If set, provides a sync object handle of which the recipient becomes the owner. It should free the handle when it is no longer required.

Definition at line 481 of file nvscistream_types.h.

◆ type

NvSciStreamEventType NvSciStreamEvent::type

Holds the type of event.

Definition at line 443 of file nvscistream_types.h.

◆ userData

uint32_t NvSciStreamEvent::userData

Used with events that require a user-defined data field: PacketAttr PacketAttrProducer PacketAttrConsumer.

For other events, will be set to 0.

A value provided by application and passed through the stream without interpretation.

Definition at line 567 of file nvscistream_types.h.


The documentation for this struct was generated from the following file: