<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.8"/> <title>OpenMAXBellagio: ste_dynamic_component_loader.c File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">OpenMAXBellagio  <span id="projectnumber">0.9.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.8 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('ste__dynamic__component__loader_8c.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#define-members">Macros</a> | <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">ste_dynamic_component_loader.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <stdio.h></code><br /> <code>#include <stdlib.h></code><br /> <code>#include <string.h></code><br /> <code>#include <dlfcn.h></code><br /> <code>#include <sys/types.h></code><br /> <code>#include <dirent.h></code><br /> <code>#include <strings.h></code><br /> <code>#include <errno.h></code><br /> <code>#include <assert.h></code><br /> <code>#include "<a class="el" href="common_8h_source.html">common.h</a>"</code><br /> <code>#include "<a class="el" href="ste__dynamic__component__loader_8h_source.html">ste_dynamic_component_loader.h</a>"</code><br /> <code>#include "<a class="el" href="omx__reference__resource__manager_8h_source.html">omx_reference_resource_manager.h</a>"</code><br /> <code>#include "<a class="el" href="omx__base__component_8h_source.html">base/omx_base_component.h</a>"</code><br /> </div> <p><a href="ste__dynamic__component__loader_8c_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:a369266c24eacffb87046522897a570d5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#a369266c24eacffb87046522897a570d5">_GNU_SOURCE</a></td></tr> <tr class="separator:a369266c24eacffb87046522897a570d5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5ff55eedfd34f21fdecc4cf5306cc813"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#a5ff55eedfd34f21fdecc4cf5306cc813">OMX_COMPONENT_PATH</a>   "/usr/lib/bellagio/"</td></tr> <tr class="separator:a5ff55eedfd34f21fdecc4cf5306cc813"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a470f404e2c946b1e201e4d619dd46e77"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#a470f404e2c946b1e201e4d619dd46e77">setup_component_loader</a> (<a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> *loader)</td></tr> <tr class="memdesc:a470f404e2c946b1e201e4d619dd46e77"><td class="mdescLeft"> </td><td class="mdescRight">The initialization of the ST specific component loader. <a href="#a470f404e2c946b1e201e4d619dd46e77">More...</a><br /></td></tr> <tr class="separator:a470f404e2c946b1e201e4d619dd46e77"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a42e1b1a9d00b3a43934200c1295cacb1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#a42e1b1a9d00b3a43934200c1295cacb1">BOSA_STE_InitComponentLoader</a> (<a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> *loader)</td></tr> <tr class="memdesc:a42e1b1a9d00b3a43934200c1295cacb1"><td class="mdescLeft"> </td><td class="mdescRight">the ST static loader constructor <a href="#a42e1b1a9d00b3a43934200c1295cacb1">More...</a><br /></td></tr> <tr class="separator:a42e1b1a9d00b3a43934200c1295cacb1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9f94c56de5e60dc14c4e08121c0eb8bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#a9f94c56de5e60dc14c4e08121c0eb8bb">BOSA_STE_DeInitComponentLoader</a> (<a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> *loader)</td></tr> <tr class="memdesc:a9f94c56de5e60dc14c4e08121c0eb8bb"><td class="mdescLeft"> </td><td class="mdescRight">The destructor of the ST specific component loader. <a href="#a9f94c56de5e60dc14c4e08121c0eb8bb">More...</a><br /></td></tr> <tr class="separator:a9f94c56de5e60dc14c4e08121c0eb8bb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a77d1f07873604615f1c5fee8249ebce6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#a77d1f07873604615f1c5fee8249ebce6">BOSA_STE_CreateComponent</a> (<a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> *loader, <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> *pHandle, <a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> cComponentName, <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppData, <a class="el" href="struct_o_m_x___c_a_l_l_b_a_c_k_t_y_p_e.html">OMX_CALLBACKTYPE</a> *pCallBacks)</td></tr> <tr class="memdesc:a77d1f07873604615f1c5fee8249ebce6"><td class="mdescLeft"> </td><td class="mdescRight">creator of the requested OpenMAX component <a href="#a77d1f07873604615f1c5fee8249ebce6">More...</a><br /></td></tr> <tr class="separator:a77d1f07873604615f1c5fee8249ebce6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acaa443b3c994b9481c161ac7acd75c5d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#acaa443b3c994b9481c161ac7acd75c5d">BOSA_STE_DestroyComponent</a> (<a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> *loader, <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent)</td></tr> <tr class="memdesc:acaa443b3c994b9481c161ac7acd75c5d"><td class="mdescLeft"> </td><td class="mdescRight">destructor of the requested OpenMAX component <a href="#acaa443b3c994b9481c161ac7acd75c5d">More...</a><br /></td></tr> <tr class="separator:acaa443b3c994b9481c161ac7acd75c5d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaa5010f0f729c6cb37aefd9349eadd5e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#aaa5010f0f729c6cb37aefd9349eadd5e">BOSA_STE_ComponentNameEnum</a> (<a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> *loader, <a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> cComponentName, <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> nNameLength, <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> nIndex)</td></tr> <tr class="memdesc:aaa5010f0f729c6cb37aefd9349eadd5e"><td class="mdescLeft"> </td><td class="mdescRight">This function search for the index from 0 to end of the list. <a href="#aaa5010f0f729c6cb37aefd9349eadd5e">More...</a><br /></td></tr> <tr class="separator:aaa5010f0f729c6cb37aefd9349eadd5e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9683d8292d214df537c8d7e30d716cce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#a9683d8292d214df537c8d7e30d716cce">BOSA_STE_GetRolesOfComponent</a> (<a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> *loader, <a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> compName, <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> *pNumRoles, <a class="el" href="_o_m_x___types_8h.html#a3ad7d812ff8ffb968c08e4b7bb04becd">OMX_U8</a> **roles)</td></tr> <tr class="memdesc:a9683d8292d214df537c8d7e30d716cce"><td class="mdescLeft"> </td><td class="mdescRight">The specific version of OMX_GetRolesOfComponent. <a href="#a9683d8292d214df537c8d7e30d716cce">More...</a><br /></td></tr> <tr class="separator:a9683d8292d214df537c8d7e30d716cce"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeee1480a0b47d81d2314dc894065a2ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#aeee1480a0b47d81d2314dc894065a2ae">BOSA_STE_GetComponentsOfRole</a> (<a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> *loader, <a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> role, <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> *pNumComps, <a class="el" href="_o_m_x___types_8h.html#a3ad7d812ff8ffb968c08e4b7bb04becd">OMX_U8</a> **compNames)</td></tr> <tr class="memdesc:aeee1480a0b47d81d2314dc894065a2ae"><td class="mdescLeft"> </td><td class="mdescRight">The specific version of OMX_GetComponentsOfRole. <a href="#aeee1480a0b47d81d2314dc894065a2ae">More...</a><br /></td></tr> <tr class="separator:aeee1480a0b47d81d2314dc894065a2ae"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:af23173ed3f15cb18e717b71bf63171ba"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#af23173ed3f15cb18e717b71bf63171ba">handleLibList</a> [100]</td></tr> <tr class="separator:af23173ed3f15cb18e717b71bf63171ba"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8f32315c84f2dabb9524d605437cf54b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="ste__dynamic__component__loader_8c.html#a8f32315c84f2dabb9524d605437cf54b">numLib</a> =0</td></tr> <tr class="separator:a8f32315c84f2dabb9524d605437cf54b"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a class="anchor" id="a369266c24eacffb87046522897a570d5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define _GNU_SOURCE</td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="st__static__component__loader_8c.html">src/st_static_component_loader.c</a></p> <p>ST specific component loader for local components.</p> <p>Copyright (C) 2007-2010 STMicroelectronics Copyright (C) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).</p> <p>This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.</p> <p>This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.</p> <p>You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00026">26</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> </div> </div> <a class="anchor" id="a5ff55eedfd34f21fdecc4cf5306cc813"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define OMX_COMPONENT_PATH   "/usr/lib/bellagio/"</td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00028">28</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00079">BOSA_STE_InitComponentLoader()</a>.</p> </div> </div> <h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="aaa5010f0f729c6cb37aefd9349eadd5e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> BOSA_STE_ComponentNameEnum </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> * </td> <td class="paramname"><em>loader</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> </td> <td class="paramname"><em>cComponentName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> </td> <td class="paramname"><em>nNameLength</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> </td> <td class="paramname"><em>nIndex</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>This function search for the index from 0 to end of the list. </p> <p>This function searches in the list of ST static components and enumerates both the class names and the role specific components. </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00328">328</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>References <a class="el" href="omx__comp__debug__levels_8h_source.html#l00059">DEB_LEV_FUNCTION_NAME</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="component__loader_8h_source.html#l00219">BOSA_COMPONENTLOADER::loaderPrivate</a>, <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00042">steLoaderComponentType::name_specific_length</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00175">OMX_ErrorNoMore</a>, and <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>.</p> <p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>.</p> </div> </div> <a class="anchor" id="a77d1f07873604615f1c5fee8249ebce6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> BOSA_STE_CreateComponent </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> * </td> <td class="paramname"><em>loader</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> * </td> <td class="paramname"><em>pHandle</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> </td> <td class="paramname"><em>cComponentName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> </td> <td class="paramname"><em>pAppData</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct_o_m_x___c_a_l_l_b_a_c_k_t_y_p_e.html">OMX_CALLBACKTYPE</a> * </td> <td class="paramname"><em>pCallBacks</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>creator of the requested OpenMAX component </p> <p>creator of the requested openmax component</p> <p>This function searches for the requested component in the internal list. If the component is found, its constructor is called, and the standard callbacks are assigned. A pointer to a standard OpenMAX component is returned. </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00225">225</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>References <a class="el" href="_o_m_x___component_8h_source.html#l00556">OMX_COMPONENTTYPE::ComponentDeInit</a>, <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00046">steLoaderComponentType::constructor</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00039">DEB_LEV_ERR</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00054">DEB_LEV_FULL_SEQ</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00059">DEB_LEV_FUNCTION_NAME</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00043">DEB_LEV_PARAMS</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="omx__base__component_8h_source.html#l00164">omx_base_component_PrivateType::loader</a>, <a class="el" href="component__loader_8h_source.html#l00219">BOSA_COMPONENTLOADER::loaderPrivate</a>, <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00045">steLoaderComponentType::name_requested</a>, <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00042">steLoaderComponentType::name_specific_length</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00140">OMX_ErrorComponentNotFound</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00131">OMX_ErrorInsufficientResources</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00281">OMX_MAX_STRINGNAME_SIZE</a>, and <a class="el" href="_o_m_x___component_8h_source.html#l00326">OMX_COMPONENTTYPE::pComponentPrivate</a>.</p> <p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>.</p> </div> </div> <a class="anchor" id="a9f94c56de5e60dc14c4e08121c0eb8bb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> BOSA_STE_DeInitComponentLoader </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> * </td> <td class="paramname"><em>loader</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>The destructor of the ST specific component loader. </p> <p>This function deallocates the list of available components. </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00156">156</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>References <a class="el" href="omx__comp__debug__levels_8h_source.html#l00039">DEB_LEV_ERR</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00059">DEB_LEV_FUNCTION_NAME</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00051">handleLibList</a>, <a class="el" href="component__loader_8h_source.html#l00219">BOSA_COMPONENTLOADER::loaderPrivate</a>, <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00041">steLoaderComponentType::name</a>, <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00045">steLoaderComponentType::name_requested</a>, <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00043">steLoaderComponentType::name_specific</a>, <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00042">steLoaderComponentType::name_specific_length</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00054">numLib</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, <a class="el" href="omx__reference__resource__manager_8c_source.html#l00093">RM_Deinit()</a>, and <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00044">steLoaderComponentType::role_specific</a>.</p> <p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>.</p> </div> </div> <a class="anchor" id="acaa443b3c994b9481c161ac7acd75c5d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> BOSA_STE_DestroyComponent </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> * </td> <td class="paramname"><em>loader</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> </td> <td class="paramname"><em>hComponent</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>destructor of the requested OpenMAX component </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00304">304</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>References <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="omx__base__component_8h_source.html#l00164">omx_base_component_PrivateType::loader</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00140">OMX_ErrorComponentNotFound</a>, and <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>.</p> <p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>.</p> </div> </div> <a class="anchor" id="aeee1480a0b47d81d2314dc894065a2ae"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> BOSA_STE_GetComponentsOfRole </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> * </td> <td class="paramname"><em>loader</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> </td> <td class="paramname"><em>role</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> * </td> <td class="paramname"><em>pNumComps</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a3ad7d812ff8ffb968c08e4b7bb04becd">OMX_U8</a> ** </td> <td class="paramname"><em>compNames</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>The specific version of OMX_GetComponentsOfRole. </p> <p>This function replicates exactly the behavior of the standard OMX_GetComponentsOfRole function for the ST static component loader </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00443">443</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>References <a class="el" href="omx__comp__debug__levels_8h_source.html#l00059">DEB_LEV_FUNCTION_NAME</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="component__loader_8h_source.html#l00219">BOSA_COMPONENTLOADER::loaderPrivate</a>, <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00042">steLoaderComponentType::name_specific_length</a>, and <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>.</p> <p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>.</p> </div> </div> <a class="anchor" id="a9683d8292d214df537c8d7e30d716cce"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> BOSA_STE_GetRolesOfComponent </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> * </td> <td class="paramname"><em>loader</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> </td> <td class="paramname"><em>compName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> * </td> <td class="paramname"><em>pNumRoles</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a3ad7d812ff8ffb968c08e4b7bb04becd">OMX_U8</a> ** </td> <td class="paramname"><em>roles</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>The specific version of OMX_GetRolesOfComponent. </p> <p>This function replicates exactly the behavior of the standard OMX_GetRolesOfComponent function for the ST static component loader </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00378">378</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>References <a class="el" href="omx__comp__debug__levels_8h_source.html#l00039">DEB_LEV_ERR</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00059">DEB_LEV_FUNCTION_NAME</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00048">DEB_LEV_SIMPLE_SEQ</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="component__loader_8h_source.html#l00219">BOSA_COMPONENTLOADER::loaderPrivate</a>, <a class="el" href="ste__dynamic__component__loader_8h_source.html#l00042">steLoaderComponentType::name_specific_length</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00140">OMX_ErrorComponentNotFound</a>, and <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>.</p> <p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>.</p> </div> </div> <a class="anchor" id="a42e1b1a9d00b3a43934200c1295cacb1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> BOSA_STE_InitComponentLoader </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> * </td> <td class="paramname"><em>loader</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>the ST static loader constructor </p> <p>The constructor of the ST specific component loader.</p> <p>This function creates the ST static component loader, and creates the list of available components, based on a registry file created by a separate application. It is called omxregister, and must be called before the use of this loader </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00079">79</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>References <a class="el" href="omx__comp__debug__levels_8h_source.html#l00039">DEB_LEV_ERR</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00054">DEB_LEV_FULL_SEQ</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00059">DEB_LEV_FUNCTION_NAME</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00035">handle</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00051">handleLibList</a>, <a class="el" href="component__loader_8h_source.html#l00219">BOSA_COMPONENTLOADER::loaderPrivate</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00054">numLib</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00028">OMX_COMPONENT_PATH</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00134">OMX_ErrorUndefined</a>, and <a class="el" href="omx__reference__resource__manager_8c_source.html#l00042">RM_Init()</a>.</p> <p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>.</p> </div> </div> <a class="anchor" id="a470f404e2c946b1e201e4d619dd46e77"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void setup_component_loader </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html">BOSA_COMPONENTLOADER</a> * </td> <td class="paramname"><em>loader</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>The initialization of the ST specific component loader. </p> <p>This function allocates memory for the component loader and initialize other function pointer </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">61</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>References <a class="el" href="component__loader_8h_source.html#l00141">BOSA_COMPONENTLOADER::BOSA_ComponentNameEnum</a>, <a class="el" href="component__loader_8h_source.html#l00084">BOSA_COMPONENTLOADER::BOSA_CreateComponent</a>, <a class="el" href="component__loader_8h_source.html#l00062">BOSA_COMPONENTLOADER::BOSA_DeInitComponentLoader</a>, <a class="el" href="component__loader_8h_source.html#l00111">BOSA_COMPONENTLOADER::BOSA_DestroyComponent</a>, <a class="el" href="component__loader_8h_source.html#l00208">BOSA_COMPONENTLOADER::BOSA_GetComponentsOfRole</a>, <a class="el" href="component__loader_8h_source.html#l00173">BOSA_COMPONENTLOADER::BOSA_GetRolesOfComponent</a>, <a class="el" href="component__loader_8h_source.html#l00050">BOSA_COMPONENTLOADER::BOSA_InitComponentLoader</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00328">BOSA_STE_ComponentNameEnum()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00225">BOSA_STE_CreateComponent()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00156">BOSA_STE_DeInitComponentLoader()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00304">BOSA_STE_DestroyComponent()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00443">BOSA_STE_GetComponentsOfRole()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00378">BOSA_STE_GetRolesOfComponent()</a>, and <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00079">BOSA_STE_InitComponentLoader()</a>.</p> </div> </div> <h2 class="groupheader">Variable Documentation</h2> <a class="anchor" id="af23173ed3f15cb18e717b71bf63171ba"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void* handleLibList[100]</td> </tr> </table> </div><div class="memdoc"> <p>This pointer holds and handle allocate by this loader and requested by some application. If the IL client does not de-allocate it calling explicitly the FreeHandle function, any pending handle is release at the end, when the global function OMX_Deinit is called. This list takes track of any handle </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00051">51</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00156">BOSA_STE_DeInitComponentLoader()</a>, and <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00079">BOSA_STE_InitComponentLoader()</a>.</p> </div> </div> <a class="anchor" id="a8f32315c84f2dabb9524d605437cf54b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> numLib =0</td> </tr> </table> </div><div class="memdoc"> <p>Current number of handles already allocated by this loader </p> <p>Definition at line <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00054">54</a> of file <a class="el" href="ste__dynamic__component__loader_8c_source.html">ste_dynamic_component_loader.c</a>.</p> <p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00156">BOSA_STE_DeInitComponentLoader()</a>, and <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00079">BOSA_STE_InitComponentLoader()</a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <html> <body> <hr size="1"><small>Generated for OpenMAX Bellagio rel. 0.9.3 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small> <br> <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=160680&type=4" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a> </body> </html>