DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

ImageStreamer.h File Reference

Detailed Description

NVIDIA DriveWorks API: Image Streamer

Description: This file defines the image streamer function.

Definition in file ImageStreamer.h.

Go to the source code of this file.

Data Structures

struct  dwImageStreamerCrossProcessModeParams
 Sets of parameters for cross-process image streamer creation. More...


typedef struct dwImageStreamerObject * dwImageStreamerHandle_t


enum  dwImageStreamerCrossProcessMode {


DW_API_PUBLIC dwStatus dwImageStreamer_consumerReceive (dwImageHandle_t *image, dwTime_t timeout_us, dwImageStreamerHandle_t streamer)
 Receive a pointer to a dwImageHandle_t from the streamer, acting as a consumer. More...
DW_API_PUBLIC dwStatus dwImageStreamer_consumerReturn (dwImageHandle_t *image, dwImageStreamerHandle_t streamer)
 Return the received image back to the producer. More...
DW_API_PUBLIC dwStatus dwImageStreamer_getCUDAStream (cudaStream_t *stream, dwImageStreamerHandle_t streamer)
 Get CUDA stream used by the image streamer. More...
DW_API_PUBLIC dwStatus dwImageStreamer_getOutputProperties (dwImageProperties *props, dwImageStreamerHandle_t streamer)
 Get image properties of the image received from the streamer. More...
DW_API_PUBLIC dwStatus dwImageStreamer_initialize (dwImageStreamerHandle_t *streamer, const dwImageProperties *from, dwImageType to, dwContextHandle_t ctx)
 Creates and initializes the image streamer capable of moving images between different API types. More...
DW_API_PUBLIC dwStatus dwImageStreamer_initializeCrossProcess (dwImageStreamerHandle_t *streamer, const dwImageProperties *from, dwImageType to, dwImageStreamerCrossProcessModeParams params, dwContextHandle_t ctx)
 Creates and initializes the image streamer capable of moving images between different API types across processes. More...
DW_API_PUBLIC dwStatus dwImageStreamer_producerReturn (dwImageHandle_t *image, dwTime_t timeout_us, dwImageStreamerHandle_t streamer)
 The producer streamer waits for the image sent to be returned by the consumer. More...
DW_API_PUBLIC dwStatus dwImageStreamer_producerSend (dwImageHandle_t image, dwImageStreamerHandle_t streamer)
 Sends an image through the streamer acting as the producer. More...
DW_API_PUBLIC dwStatus dwImageStreamer_release (dwImageStreamerHandle_t streamer)
 Releases the image streamer. More...
DW_API_PUBLIC dwStatus dwImageStreamer_setCUDAStream (cudaStream_t stream, dwImageStreamerHandle_t streamer)
 Sets the CUDA stream for CUDA related streaming operations such as post and receive. More...