Results 1 to 2 of 2

Thread: how to share data between component A and component B

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    2

    how to share data between component A and component B

    hi,
    i have a problem that how to share data between components.
    for example, i get samplerate and channels from component A, and i want to set the two values to component B.
    what can i do?
    idea1:
    transfer the two from A to B like usual file data.
    idea2:
    using GetParameter() to get from component A and using SetParameter() function to set component B.

    Another problem is about framebuffer.
    i am working on debian in VM.
    what's the detail steps for establish the enviroment for framebuffer?
    how to compile the core and what is the selected items?

    Have some guys done these before? if any, share your idea to me.

    thank.

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

    Re: how to share data between component A and component B

    Quote Originally Posted by openmaxqq
    for example, i get samplerate and channels from component A, and i want to set the two values to component B.
    what can i do?
    I'd recommend using the buffer flag OMX_BUFFERFLAG_EXTRADATA and adding the extra data between the filled length (aligned) and the allocated length. This data should have the headers defined in "4.2.33 OMX_OTHER_EXTRADATATYPE". A closing header with nDataSize set to 0 should be used.
    Quote Originally Posted by openmaxqq
    Another problem is about framebuffer.
    what's the detail steps for establish the enviroment for framebuffer?
    how to compile the core and what is the selected items?
    What use-case are you trying to achieve?

    Thanks,

    Roger
    Roger Nixon, Broadcom Corporation

Similar Threads

  1. Replies: 2
    Last Post: 12-13-2010, 03:44 PM
  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
  •