Take a look at "PVMFOMXAudioDecNode::InitDecoder( )" in external/
opencore/nodes/pvomxaudiodecnode/src/pvmf_omx_audiodec_node.cpp.

-Ravi

On Mar 21, 11:05 am, MMF <[email protected]> wrote:
> Hi Ravi,
>
> OK. Agree.
> Can you please let me know how you send config data/information for "those"
> codecs?
> Its kinda imp as I am trying to generalize the implementation as much as
> possible.
>
> Thanks
> APT
>
> On Sat, Mar 21, 2009 at 1:15 PM, rktb <[email protected]> wrote:
>
> > We should remember that the mp3 frames can be totally disjoint. So,
> > configuring the decoder with one set of parameters seems to be
> > dangerous.
>
> > Generally speaking, we send configuration information for only those
> > codecs that have some config data. AMR, MP3, and H.263 decoders don't
> > really have config data, and hence there is no information required to
> > initialize the decoder.
>
> > -Ravi
>
> > On Mar 20, 11:21 pm, MMF <[email protected]> wrote:
> > > Hi Ravi,
>
> > > Thanks for the reply.
> > > In my case parser has to send this information as I need this information
> > at
> > > the time of initializing the decoder.
> > > And I would create my decoder instance only when I get this information
> > > using OMX_AUDIO_PARAM_MP3TYPE.
> > > and then proceed with the decoding.
>
> > > Regards
> > > APT
>
> > > On Sat, Mar 21, 2009 at 12:22 AM, rktb <[email protected]> wrote:
>
> > > > Why would the parser need to communicate this information the
> > > > component? The component will know this when it decodes the first
> > > > frame. Right?
>
> > > > -Ravi
>
> > > > On Mar 20, 10:33 am, MMF <[email protected]> wrote:
> > > > > Hello Friends,
>
> > > > > I have a small doubt to be clarified.
> > > > > I will try to explain it with mp3 decoder example.
>
> > > > > I have a mp3 parser (pv parser node) which is capable of extracting
> > the
> > > > > information about channel, bit-rate, sample-rate from the .mp3 file
> > while
> > > > > parsing.
> > > > > Now this information I need in my OMX mp3 decoder component..
> > > > > Is there any way I can communicate this info from my parser to OMX
> > > > > component? (which is nothing but calling the SetParam of the OMX
> > > > component).
> > > > > What I need to do in the parser or in the player engine so that the
> > > > SetParam
> > > > > gets called?
> > > > > Is there any method or way of achieving this in OpenCORE FW.
>
> > > > > regards
> > > > > APT
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to