Results 1 to 2 of 2

Thread: how to get the assoiciated buffer from EGLImage ?

Hybrid View

  1. #1
    Newbie
    Join Date
    Nov 2013
    Posts
    4

    how to get the assoiciated buffer from EGLImage ?

    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);

    OMX_UseEGLImage(hComponent,ppBufferHdr,nPortIndex, pAppPrivate,eglImage);

    the problem is how i can use eglImage ? is there anyway get the underlying buffer associated with eglImage ? thanks!

  2. #2
    Newbie
    Join Date
    Nov 2013
    Posts
    4
    this problem have troubled me for several days,could somebody give me advice ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •