DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

Image Streamer Cross-Process
Note
SW Release Applicability: This tutorial is applicable to modules in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.

In addition to using the ImageStreamer module in a single process, you can also use it across multiple processes.

To utilize the ImageStreamer Cross-Process module, specify the ImageStreamer as either PRODUCER or CONSUMER
at initialization before streaming the image. For details on how to create and convert an image, please refer to
Image Creation and Conversion. All other details are left out of this tutorial for simplicity.

Initializing the ImageStreamer Module as a Producer

// Process 1:
while(true)
{
// CODE: Get an image to stream
}

Initializing the ImageStreamer Module as a Consumer

// Process 2:
while(true)
{
// CODE: Use the streamed image
}

To see a full demonstration of this workflow, please refer to Cross-Process Image Streamer Sample.