Get dmabuf_fd from an EGLImageKHR

Hi guys,
we know that NvEGLImageFromFd in “/usr/src/jetson_multimedia_api/include/nvbuf_utils.h” converts dmabuf_fd from nvbuffer (dma buffer) to EGLImageKHR. I need somethings vice-verca, I need a function that gets dmabuff FD of exsisting EGLImageKHR (return DMA buffer file descriptor of that EGLImageKHR).

Thanks so much.

We don’t support this method. The working method is to create NvBuffer and then get EGLImage. Please check jetson_multimedia_api samples for the usage.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.