Hi Deva,

 Thanks for your response. I did see the JPEG thread and tried
the .cfg thingy (added my entry to the pvplayer.cfg as it's mentioned
in the PDF), but I'm not getting a call into MyComponentFactory()
function. That is when I decided to debug some more and found that the
software decoder is picked up based on the MIME type (PVMF_MIME_M4V).
This is one of the PV OMX base node functions in which I can tweak the
code to instantiate my plug-in instead of the S/W version. But, this
won't be what I plan to achieve which is to have both decoders running
simultaneously. Also, don't think I can use my own MIME type.

 So, now back to the .cfg stuff, I am assuming I could the web to get
me a UUID and place the entry in the .cfg. But, how does PV/OMX load
my decoder without having to change the MIME type? To be more
specific, is it possible to associate 2 decoders to the same MIME
type?

Thanks again
HV

On Apr 26, 6:13 pm, Deva R <[email protected]> wrote:
> hi,
>
> Opencore picks up Decoder components by \system\etc\<omx>.cfg
> you can replace existing opencore codecs or add your own OMX library.
>
> You can refer opencore OMX integration guide to support multiple 
> codecs..,http://git.omapzoom.org/?p=patch/platform/external/opencore.git;a=tre...
> -> omx_core_integration_guide.pdf
>
> fyi - this thread talks abt switching between multiple jpeg 
> codecs..http://groups.google.com/group/android-porting/browse_thread/thread/d...
>
> -deva
>
>
>
>
>
> On Mon, Apr 26, 2010 at 11:25 AM, HV <[email protected]> wrote:
> > Hi,
>
> >  I'm fairly new to Android & PV/OMX and excuse me if this topic has
> > already been discussed. I've searched this forum and generally the
> > web, but couldn't find an answer. Hope to get some clues here. I'm
> > trying to writing up an OMX plugin which will eventually use my
> > hardware enabled MPEG-4 decoder.
>
> >  As of now, I've used the software decoder under ~/external/opencore/
> > codecs_v2/omx/omx_m4v and created a my_mp4 tree. After some fire-
> > fighting I've been able to build my static & dynamic libraries. I've
> > put in debug prints in MyMP4Register() function (under (~/external/
> > opencore/codecs_v2/omx/omx_common/src/pv_omxregistry.cpp) to make sure
> > this component is part of the image.
>
> >  The question I now have is: how do I enable my MPEG-4 decoder along
> > with the software version? I want to see my debug print show up in
> > MyMP4OmxComponentFactory(). I've gone thru some of the code in
> > pv_omxmastercore.cpp but not sure if I need to do something there.
> > Truly appreciate your help.
>
> > Best regards
> > HV
>
> > --
> > unsubscribe: [email protected]
> > website:http://groups.google.com/group/android-porting
>
> --
> unsubscribe: [email protected]
> website:http://groups.google.com/group/android-porting- Hide quoted text -
>
> - Show quoted text -

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to