Results 1 to 2 of 2

Thread: OpenMAX IL clarification of OMX state in the case of timeout

  1. #1
    Junior Member
    Join Date
    Sep 2008
    Location
    Thames Valley, UK
    Posts
    4

    OpenMAX IL clarification of OMX state in the case of timeout

    Hello,

    When the IL Client requests a transition from OMX_StateIdle to OMX_StateLoaded state, it is possible for the component to send the OMX_ErrorPortUnresponsiveDuringDeallocation event to the IL Client if the supplier port has not requested deallocation of a buffer header for the non-supplier port within a certain time period. In this case what state should the component be in if some buffer headers have been deallocated but not all?

    My understanding of the component states are as follows:

    OMX_StateIdle: All enabled ports must be populated.
    OMX_StateLoaded: There must be no buffers allocated.

    Neither of which is valid in the case where some buffer headers have been deallocated but not all. OMX_StateInvalid would be a possibility though.

    Thanks.

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

    Re: OpenMAX IL clarification of OMX state in the case of timeout

    Quote Originally Posted by dang.sananikone
    In this case what state should the component be in if some buffer headers have been deallocated but not all?
    Whilst there are requirements for the component states, there are transitions that must occur. You can't atomically populate, or depopulate, a port (with more than one buffer), so the practical definition of the states is more flexible.

    To answer the question, I would stay in the idle state until all buffers have been deallocated. The port will show as depopulated.

    Quote Originally Posted by dang.sananikone
    OMX_StateInvalid would be a possibility though.
    My personal view is that the invalid state should not ever be used.

    Thanks,

    Roger
    Roger Nixon, Broadcom Corporation

Similar Threads

  1. OMX State transition failing
    By barindam in forum OpenMAX IL
    Replies: 0
    Last Post: 02-16-2012, 08:22 AM
  2. Replies: 1
    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
  •