Results 1 to 3 of 3

Thread: OMX IL: UseEGLImage access to data

  1. #1
    Junior Member
    Join Date
    May 2008
    Location
    UK
    Posts
    23

    OMX IL: UseEGLImage access to data

    Hi,

    According to section 3.2.2.19 of the spec, on returning from UseEGLImage, "the pBuffer field of the pBufferHdr parameter shall be 0x0". That makes sense as an EGLimage is opaque, so the IL client can't access the data.

    So, when the cmpt gets a call to Fill/EmptyThisBuffer, how does it get access to the EGLhandle and ultimately the pysical buffers? Looking at the buffer header structure, the only way to get to this data is through either pPlatformPrivate or pInputPortPrivate/pOutputPortPrivate fields.

    From bug #3698, I guess the only field that the component is guaranteed to be able to use is the pInputPortPrivate/pOutputPortPrivate fields, is that correct?

    Thanks
    Phil

  2. #2
    Member
    Join Date
    May 2008
    Location
    California, USA
    Posts
    51

    Re: OMX IL: UseEGLImage access to data

    Quote Originally Posted by pedwo
    the only field that the component is guaranteed to be able to use is the pInputPortPrivate/pOutputPortPrivate fields, is that correct?
    Yes, that's my understanding.

    Thanks,

    Roger
    Roger Nixon, Broadcom Corporation

  3. #3
    Junior Member
    Join Date
    Dec 2009
    Posts
    1

    Re: OMX IL: UseEGLImage access to data

    Phil/Roger -

    I do have a follow up question on usage of UseEGLImage. How is the OMX Component supposed to access the EGLImage given the EGLImageKHR handle.
    (as OMX isn't a client of EGL).

    Does this impose that EGLImageKHR be actually a pointer to the EGLImage struct and EGLImage struct definition be shared between OMX and EGL ?
    I don't see how the OMX Component can access the EGLImage data if EGLImageKHR is some kind of ID rather than the pointer.

    Thanks,
    Mac

Similar Threads

  1. texturing from alpha data to RGBA data
    By neha.bhende in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    Replies: 0
    Last Post: 05-14-2012, 05:50 AM
  2. Do I have coalsecing access?
    By howaidi in forum OpenCL
    Replies: 1
    Last Post: 04-02-2012, 05:39 PM

Posting Permissions

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