EGLImageKHR NvEGLImageFromFd(EGLDisplay display, int dmabuf_fd);
In the “include/nvbuf_utils.h” file, can find the func NvEGLImageFromFd().
IIRC,the decoded video data is sending to dmabuf_fd,then the NVRender gets the ImageData by NvEGLImageFromFd and
My question is :
The video data from dmabuf_fd is YUV ?
If yes , the Image Data (EGLImageKHR) is RGB ?
If yes, NvEGLImageFromFd can change YUV to RGB ?