Hello,
I want to know the principle.
Can you explain how to pass the decoded image to the EGL renderer (principle) without additional memory copy?
Thank you.
Hi,
The implementation of redering is
/usr/src/jetson_multimedia_api/samples/common/classes/NvEglRenderer.cpp
The function is
/**
* Renders a buffer.
*
* This method waits until the rendering time of the next buffer,
* caluclated from the rendering time of the last buffer and the
* render rate in frames per second (fps). This is a blocking
* call.
*
* @param[in] fd Specifies the file descriptor (FD) of the exported buffer
* to render.
* @return 0 for success, -1 otherwise.
*/
int render(int fd);