49 #ifndef DW_IMAGE_IMAGESTREAMER_H_ 50 #define DW_IMAGE_IMAGESTREAMER_H_ 52 #include <dw/core/Config.h> 88 dwImageStreamerCrossProcessMode
mode;
233 dwImageStreamerHandle_t streamer);
251 dwImageStreamerHandle_t streamer);
285 #endif // DW_IMAGE_IMAGESSTREAMER_H_ DW_API_PUBLIC dwStatus dwImageStreamer_consumerReturn(dwImageHandle_t *image, dwImageStreamerHandle_t streamer)
Return the received image back to the producer.
struct dwImageObject * dwImageHandle_t
struct dwImageStreamerObject * dwImageStreamerHandle_t
dwImageStreamerCrossProcessMode
NVIDIA DriveWorks API: Core Methods
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
dwStatus
Status definition.
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.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
DW_API_PUBLIC dwStatus dwImageStreamer_getOutputProperties(dwImageProperties *props, dwImageStreamerHandle_t streamer)
Get image properties of the image received from the streamer.
dwImageType
Specifies the image type.
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 acros...
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...
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.
struct dwContextObject * dwContextHandle_t
Context handle.
dwImageStreamerCrossProcessMode mode
Operation mode of the cross-process image streamer.
Sets of parameters for cross-process image streamer creation.
NVIDIA DriveWorks API: Core Exports
DW_API_PUBLIC dwStatus dwImageStreamer_release(dwImageStreamerHandle_t streamer)
Releases the image streamer.
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.
const char * parameters
Array to additional parameters provided to cross-process image streamer creation. ...
DW_API_PUBLIC dwStatus dwImageStreamer_producerSend(dwImageHandle_t image, dwImageStreamerHandle_t streamer)
Sends an image through the streamer acting as the producer.
Defines the properties of the image.
DW_API_PUBLIC dwStatus dwImageStreamer_getCUDAStream(cudaStream_t *stream, dwImageStreamerHandle_t streamer)
Get CUDA stream used by the image streamer.