Tuesday, May 25, 2010

Register Node/Recognizer/OMX decoder component

Register Node/Recognizer/OMX decoder component:
----------------------------------------------------------------------------

//Add the dummy recognizer code in Recognizer folder;

1.#include the rec_factory.h in external\opencore\engines\player\config\core\pv_player_node_registry_populator.cpp
2.Create the instance in RegisterAllRecognizers() fn of the same file.


3.BUILD_MACRO defns available in \external\opencore\build_config\opencore_dynamic\pv_config.h file

4.We need to add our Node/register's library & android.mk in
\external\opencore\build_config\opencore_dynamic\Android_opencore_player.mk file

 

5.Configure Node/recognizer/decoder (pvyuvffrecognizer_lib=m) in \external\opencore\build_config\opencore_dynamic\pv_config_selected.mk

6.Configure the shared recognizer/node/decoder's library make path(/pvmi/recognizer/plugins/pvyuvffrecognizer/build/make)
in \external\opencore\build_config\opencore_dynamic\pv_config_derived.mk

 

No comments: