I decode video file using Nvidia Jetson Multimedia API, the decoded data is in dma, i want to map the dma id to one address pointer, and then use cuda map the opengl es texture id to another address pointer, then copy data. but i cannot find how to map opengles texuture id to one address pointer, i just find one cudaGraphicsGLRegisterImage function, which is used to opengl texture. Is there one for opengles ?
In userspace, we can map NvBuffer/NvBufSurface with EGLImage and then get CUDA pointer. Please refer to cuda_postprocess() in