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=tree;f=doc -> 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/dbe7d1ae4ba7056a -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
