Did you look at the mp4 parser node/recognizer?

http://android.git.kernel.org/?p=platform/external/opencore.git;a=tree;f=modules/linux_mp4;h=e3d550d29ee3d2070ddf4c8e791077f0d956043b;hb=582c0d57052faafdce3a57e47533d341d407418e

-Ravi


On Nov 17, 12:54 pm, jeffb <jeffbo...@gmail.com> wrote:
> Ravi,
> Thanks for the reply. I understand the need to implement the
> PVMFNodeInterface as the baseline interface for a parser node. But I
> was wondering about the interfaces that must be implemented to enable
> a node (parser and recognizer functionality) to be registered
> dynamically (i.e. when opencore executes RegisterAllNodes and
> RegisterAllRecognizers, what interfaces must be in place in the shared
> library). Also, where should the library be placed within the
> directory structure and where should the .cfg file be located as well?
>
> Regards,
> Jeff
>
> On Nov 17, 9:11 am, RaviY <yend...@pv.com> wrote:
>
> > You would need to look at PVMFNodeInterface and PVMFNodeInterfaceImpl.
>
> > PVMFNodeInterface --- This is the actual interface.
> > PVMFNodeInterfaceImpl --- This is the base node implementation.
>
> > You can create a node from scratch by deriving from PVMFNodeInterface.
> > Or, you can derive from PVMFNodeInterfaceImpl and reuse the code from
> > the base implementation.
>
> > -Ravi
>
> > On Nov 16, 2:17 pm, jeffb <jeffbo...@gmail.com> wrote:
>
> > > I am adding a parser node to the engine. As I understand it, a
> > > dynamically loadable shared library must be created for a custom
> > > parser node and a .cfg file must be created to reference the library.
> > > To avoid reverse engineering OpenCore, is there any documentation that
> > > provides a description of the necessary interfaces that must be
> > > implemented?
>
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to