NvBufSurface and OpenCV

Thank you for pointing me to the docs ( which are just the header files ). However, the behavior is not clearly described.

From my own research I figured out that surface->surfaceList[i].dataPtr can be used on dGPU, while on Tegra you have to chain NvBufSurfaceMapEglImage and cuGraphicsResourceGetMappedEglFrame like described here.

2 Likes