NVIDIA DRIVE OS Linux API Reference Release
For Test and Development only

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvSciStreamPayload Struct Reference

Detailed Description

Defines a "frame" of data sent to the consumer or returned to the producer.

Definition at line 117 of file nvscistream.h.

Collaboration diagram for NvSciStreamPayload:

Data Fields

NvSciStreamCookie cookie
 Holds the recipient's cookie for the packet. More...
 Pointer array in which prefences will be written. More...

Field Documentation

NvSciStreamCookie NvSciStreamPayload::cookie

Holds the recipient's cookie for the packet.

This value cannot be 0U.

Definition at line 121 of file nvscistream.h.

NvSciSyncFence* NvSciStreamPayload::prefences

Pointer array in which prefences will be written.

The recipient of the packet is expected to provide an array large enough to hold the maximum packet count defined in the sync description.

The recipient must wait for all fences to be reached before safely accessing the ASYNCHRONOUS buffers. The pointer is guaranteed to remain valid until the component inserts the packet back into the stream.

The fences in the array should be in the order according to the indices specified in NvSciStreamSyncDesc. That is, if the sync object is set with index == 1, its fence should be the 2nd element in the prefences array.

Definition at line 138 of file nvscistream.h.

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