Results 1 to 3 of 3

Thread: [OMX-IL] Buffer handling

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

    [OMX-IL] Buffer handling

    Hi,

    I am trying to implement an OpenMAX component that uses some hardware as efficiently as possible. One aspect of the hardware is that you specify a number of buffers that can be used for the output frame data, and only after performing a decode operation do you know which one of the buffers contains the output.

    I think it is fine to get the Client to allocate & use the buffers associated with the output frames, however is it ok for the component to call FillBufferDone in any order (assuming that we can't write to the buffer again until it has been returned to the componet with a FillThisBuffer)?

    I can't find anything in the spec that says this is not allowed, but can anyone forsee any problems with this?

    Thanks
    Phil

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

    Re: [OMX-IL] Buffer handling

    Quote Originally Posted by pedwo
    is it ok for the component to call FillBufferDone in any order (assuming that we can't write to the buffer again until it has been returned to the componet with a FillThisBuffer)?
    Yes, you are free to return buffers that you currently own in any order. You are correct that you can only write to a buffer that you own.

    Thanks,

    Roger
    Roger Nixon, Broadcom Corporation

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

    Re: [OMX-IL] Buffer handling

    Thanks Roger, much appreciated.

Similar Threads

  1. Details about handling transparency with depth peeling
    By Bruce Sherwood in forum Developers Coding:Advanced
    Replies: 7
    Last Post: 07-16-2012, 02:38 PM
  2. [OMX-IL] Buffer handling
    By pedwo in forum OpenMAX
    Replies: 2
    Last Post: 01-01-1970, 12:00 AM

Posting Permissions

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