Results 1 to 4 of 4

Thread: Multiple instances of same component

  1. #1

    Multiple instances of same component

    Does OpenMAX IL handles multiple instances of the same component? The OMX_GetHandle() API does not have a provision to instantiate a particular instance of a given component. Any comments?

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

    Re: Multiple instances of same component

    Quote Originally Posted by rupesh_kumbhare
    Does OpenMAX IL handles multiple instances of the same component?
    Yes. Some hardware will support multiple instances and most software components should also.
    Quote Originally Posted by rupesh_kumbhare
    The OMX_GetHandle() API does not have a provision to instantiate a particular instance of a given component. Any comments?
    GetHandle() creates an instance. What do you mean by "does not have a provision to instantiate a particular instance"? Instances of the same component should be (within resource limits) the same, but with seperate state.

    Thanks,

    Roger
    Roger Nixon, Broadcom Corporation

  3. #3

    Re: Multiple instances of same component

    GetHandle() creates an instance. What do you mean by "does not have a provision to instantiate a particular instance"? Instances of the same component should be (within resource limits) the same, but with seperate state.
    I meant to have a provision for additional argument in GetHandle() such as createConfig which an IL client can supply to differentiate among multiple instances.

    I have understood now that you can do the same with SetParameter method to differentiate between the two instances. I assume GetHandle() call always create a new instance and return (within the limit of HW or SW).

    Thanks.

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

    Re: Multiple instances of same component

    Quote Originally Posted by rupesh_kumbhare
    I meant to have a provision for additional argument in GetHandle() such as createConfig which an IL client can supply to differentiate among multiple instances.

    I have understood now that you can do the same with SetParameter method to differentiate between the two instances. I assume GetHandle() call always create a new instance and return (within the limit of HW or SW).
    OMX_GetHandle() will return a different handle for each component instance. What difference (other than that) are you looking for? Could you give an example?

    You do have pAppData to associate your own metadata with a component instance, if that's what you're after.

    Thanks,

    Roger
    Roger Nixon, Broadcom Corporation

Similar Threads

  1. Replies: 1
    Last Post: 08-18-2008, 01:37 PM
  2. Multiple instances of same component
    By rupesh_kumbhare in forum OpenMAX
    Replies: 3
    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
  •