I want to share a dwImageCUDA object across multiple processes in a Tegra.
I came across dwImageStreamer_initializeCrossProcess in the manual.
DW_API_PUBLIC dwStatus dwImageStreamer_initializeCrossProcess ( dwImageStreamerHandle_t * streamer, const dwImageProperties * from, dwImageType to, dwImageStreamerCrossProcessModeParams params, dwContextHandle_t ctx )
My question is
- How to set param.parameters so that the consumer will get the correct data from the producer when there is multiple consumers and producers?
- Any sample codes that I could refer?
- Is this function thread-safe?
- Is there anyway to share dwImageCUDA across TegraA and TegraB?