I want to implement OMX_UseEGLImage in my native openmax componet on android,but could anbody tell me how to get the underlying buffer associated with an EGLImage specified by eglImage ?
the client api will create a EGLImage and call OMX_UseEGLImage to notify my native openmax componet to use eglimage:
eglImage = eglCreateImageKHR( m_egl_display, m_egl_context, EGL_GL_TEXTURE_2D_KHR, (EGLClientBuffer)(egl_buffer->texture_id), &attrib);
the problem is how i can use eglImage ? is there anyway get the underlying buffer associated with eglImage ? thanks!