Results 1 to 3 of 3

Thread: Clarification on Content Pipe Implementation

  1. #1

    Clarification on Content Pipe Implementation

    I'm having trouble determining who should be filling and implementing the content pipe structure.

    Should the client provide its own implementation of the content pipe functions and fill out the structure after CPA_GetContentPipe?

    Or should the handle from CPA_GetContentPipe() really be opaque and all the implementation is provided by OpenMAX AL?

    I'm using v1.0 of the content pipe specification.
    Andrew Cooper
    Garmin International, Inc.

  2. #2
    Super Moderator
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    48

    Re: Clarification on Content Pipe Implementation

    Hi andrewcoopergarmin,

    OpenMAX AL (and OpenSL ES and OpenMAX IL) are effectively “clients” or users of the Content Pipe Interface. In the case of AL, the media object uses the content pipe interface methods to read and write data from the content pipe. Therefore, the application is the one that implements the CP functions. AL media objects just invoke these functions. The application will populate the content pipe, when it is used as a data source by AL. AL will write data to the content pipe when it is used as a data sink

    The last line in the second paragraph of Section 2.3 explains the media objects “using” the Content Pipe: The media object utilizes the methods of the content pipe interface to read or write data.

    Hope this clarifies things,

    Erik
    Erik Noreke,
    Work Group Chair OpenSL ES, OpenMAX AL

  3. #3

    Re: Clarification on Content Pipe Implementation

    Yes, that clarifies things. It was the only way that really made sense to me, but I wanted to be sure before I got too deep in implementing content pipe providers.

    Thanks,
    Andrew Cooper
    Garmin International, Inc.

Similar Threads

  1. IL 1.1.2 Content pipe CheckAvailableBytes API
    By mgao in forum OpenMAX IL
    Replies: 0
    Last Post: 01-28-2011, 10:42 PM
  2. IL 1.1.2 Content pipe Read API
    By mgao in forum OpenMAX IL
    Replies: 1
    Last Post: 01-17-2011, 10:19 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
  •