NvMediaImage to vx_image

Hi,
I am trying to process images from Driveworks’ camera_gmsl sample using VisionWorks library for a Drive PX2.

Is there a way to convert NvMediaImage into vx_image ?
Thanks

Dear pedropgusmao,

Could you please refer to below links for your query? Thanks.

NVMedia EGLStream interop and VPI (CUDA Vision API)
http://docs.nvidia.com/drive/nvvib_docs/index.html#page/NVIDIA%20Vibrante%20Linux%20DPX%20Development%20Guide%2FSystem%20Programming%2Fmultimedia_guide.html%23wwpID0E6HA

And there is a very large sample demonstrating how to work with NvMedia + VisionWorks.
It’s in the form of a library that all the VisionWorks samples are built on top of called “NVXIO”. It uses EglStream APIs to get frames from camera or video through NvMedia.
Please see the files under /usr/share/visionworks/sources/nvxio/src/{NVX/OVX}/FrameSource/NvMedia installed as part of the VisionWorks package. Thanks.