Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > 87aded5420321e37af1000cab6d33378 > files > 453

libomxil-bellagio-doc-0.9.3-6.mga5.noarch.rpm

<!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: BOSA_COMPONENTLOADER Struct 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
   &#160;<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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</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('struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">BOSA_COMPONENTLOADER Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Component loader entry points.  
 <a href="struct_b_o_s_a___c_o_m_p_o_n_e_n_t_l_o_a_d_e_r.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="component__loader_8h_source.html">component_loader.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a69333c17057a6a3ab0d829b0e700211c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a>(*&#160;</td><td class="memItemRight" valign="bottom"><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#a69333c17057a6a3ab0d829b0e700211c">BOSA_InitComponentLoader</a> )(struct <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:a69333c17057a6a3ab0d829b0e700211c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The constructor of the component loader.  <a href="#a69333c17057a6a3ab0d829b0e700211c">More...</a><br /></td></tr>
<tr class="separator:a69333c17057a6a3ab0d829b0e700211c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcdf743df2b9963d00bfff62f5565f24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a>(*&#160;</td><td class="memItemRight" valign="bottom"><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#abcdf743df2b9963d00bfff62f5565f24">BOSA_DeInitComponentLoader</a> )(struct <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:abcdf743df2b9963d00bfff62f5565f24"><td class="mdescLeft">&#160;</td><td class="mdescRight">The destructor of the component loader.  <a href="#abcdf743df2b9963d00bfff62f5565f24">More...</a><br /></td></tr>
<tr class="separator:abcdf743df2b9963d00bfff62f5565f24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17aedf3fc11113bce4aab85a569bc234"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a>(*&#160;</td><td class="memItemRight" valign="bottom"><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#a17aedf3fc11113bce4aab85a569bc234">BOSA_CreateComponent</a> )(struct <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:a17aedf3fc11113bce4aab85a569bc234"><td class="mdescLeft">&#160;</td><td class="mdescRight">The component constructor of the current component loader.  <a href="#a17aedf3fc11113bce4aab85a569bc234">More...</a><br /></td></tr>
<tr class="separator:a17aedf3fc11113bce4aab85a569bc234"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7117172ed209bc6a15cef1aaa1c563a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a>(*&#160;</td><td class="memItemRight" valign="bottom"><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#af7117172ed209bc6a15cef1aaa1c563a">BOSA_DestroyComponent</a> )(struct <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:af7117172ed209bc6a15cef1aaa1c563a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The component destructor of the current component loader.  <a href="#af7117172ed209bc6a15cef1aaa1c563a">More...</a><br /></td></tr>
<tr class="separator:af7117172ed209bc6a15cef1aaa1c563a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7767919ed2687dbe27c3b632d0ceba10"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a>(*&#160;</td><td class="memItemRight" valign="bottom"><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#a7767919ed2687dbe27c3b632d0ceba10">BOSA_ComponentNameEnum</a> )(struct <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:a7767919ed2687dbe27c3b632d0ceba10"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enumerator of the components handled by the current component loader.  <a href="#a7767919ed2687dbe27c3b632d0ceba10">More...</a><br /></td></tr>
<tr class="separator:a7767919ed2687dbe27c3b632d0ceba10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a759862c1e8d8020391959af85ab12c8f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a>(*&#160;</td><td class="memItemRight" valign="bottom"><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#a759862c1e8d8020391959af85ab12c8f">BOSA_GetRolesOfComponent</a> )(struct <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:a759862c1e8d8020391959af85ab12c8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function implements the OMX_GetRolesOfComponent standard function for the current component loader.  <a href="#a759862c1e8d8020391959af85ab12c8f">More...</a><br /></td></tr>
<tr class="separator:a759862c1e8d8020391959af85ab12c8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a419cc0b8aaab54589c3743e6f5b68170"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a>(*&#160;</td><td class="memItemRight" valign="bottom"><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#a419cc0b8aaab54589c3743e6f5b68170">BOSA_GetComponentsOfRole</a> )(struct <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:a419cc0b8aaab54589c3743e6f5b68170"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function implements the OMX_GetComponentsOfRole standard function for the current component loader.  <a href="#a419cc0b8aaab54589c3743e6f5b68170">More...</a><br /></td></tr>
<tr class="separator:a419cc0b8aaab54589c3743e6f5b68170"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c4f47f6e5589b19f7f6613de4ccb0df"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><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#a3c4f47f6e5589b19f7f6613de4ccb0df">loaderPrivate</a></td></tr>
<tr class="memdesc:a3c4f47f6e5589b19f7f6613de4ccb0df"><td class="mdescLeft">&#160;</td><td class="mdescRight">The reference to the current component loader private data.  <a href="#a3c4f47f6e5589b19f7f6613de4ccb0df">More...</a><br /></td></tr>
<tr class="separator:a3c4f47f6e5589b19f7f6613de4ccb0df"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Component loader entry points. </p>
<p><a class="el" href="component__loader_8h.html">src/component_loader.h</a></p>
<p>OpenMAX Component loader APIs. This header file specifies the entry point that a component loader must provide.</p>
<p>Copyright (C) 2007-2009 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 USAThe component loader generic structure contains the entry points for each component loader. The list of component loaders is filled using a special function, called AddComponentLoader. </p>

<p>Definition at line <a class="el" href="component__loader_8h_source.html#l00038">38</a> of file <a class="el" href="component__loader_8h_source.html">component_loader.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a7767919ed2687dbe27c3b632d0ceba10"></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_COMPONENTLOADER::BOSA_ComponentNameEnum)(struct <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>
      </table>
</div><div class="memdoc">

<p>An enumerator of the components handled by the current component loader. </p>
<p>This function implements the OMX_ComponentNameEnum function for the specific component loader</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">loader</td><td>Private data of the component loader </td></tr>
    <tr><td class="paramname">cComponentName</td><td>A pointer to a null terminated string with the component name. The names of the components are strings less than 127 bytes in length plus the trailing null for a maximum size of 128 bytes (OMX_MAX_STRINGNAME_SIZE). </td></tr>
    <tr><td class="paramname">nNameLength</td><td>The number of characters in the cComponentName string. With all component name strings restricted to less than 128 characters (including the trailing null) it is recommended that the caller provide a input string for the cComponentName of 128 characters. </td></tr>
    <tr><td class="paramname">nIndex</td><td>A number containing the enumeration index for the component. Multiple calls to OMX_ComponentNameEnum with increasing values of nIndex will enumerate through the component names in the system until OMX_ErrorNoMore is returned. The value of nIndex is 0 to (N-1), where N is the number of valid installed components in the system.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ErrorNone If the command successfully executes </dd>
<dd>
OMX_ErrorNoMore If the value of nIndex exceeds the number of components handled by the component loader minus 1 </dd></dl>

<p>Definition at line <a class="el" href="component__loader_8h_source.html#l00141">141</a> of file <a class="el" href="component__loader_8h_source.html">component_loader.h</a>.</p>

<p>Referenced by <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>, and <a class="el" href="st__static__component__loader_8c_source.html#l00057">st_static_setup_component_loader()</a>.</p>

</div>
</div>
<a class="anchor" id="a17aedf3fc11113bce4aab85a569bc234"></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_COMPONENTLOADER::BOSA_CreateComponent)(struct <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>
      </table>
</div><div class="memdoc">

<p>The component constructor of the current component loader. </p>
<p>This function implements the OMX_GetHandle function for the specific component loader. Its interface is the same as the standard GetHandle function, except that the first parameter that contains the private data of the specific component loader.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">loader</td><td>Private data of the component loader </td></tr>
    <tr><td class="paramname">pHandle</td><td>the openmax handle returned by the function, or NULL in case of failure. </td></tr>
    <tr><td class="paramname">cComponentName</td><td>A string that contains the standard component's name </td></tr>
    <tr><td class="paramname">pAppData</td><td>private data of the component (if needed) </td></tr>
    <tr><td class="paramname">pCallBacks</td><td>IL client callback function pointers passed to the component</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ErrorNone if the component is correctly constructed and returned </dd>
<dd>
OMX_ErrorComponentNotFound if the component is not found </dd>
<dd>
OMX_ErrorInsufficientResources if the component exists but can not be allocated. </dd></dl>

<p>Definition at line <a class="el" href="component__loader_8h_source.html#l00084">84</a> of file <a class="el" href="component__loader_8h_source.html">component_loader.h</a>.</p>

<p>Referenced by <a class="el" href="omxcore_8c_source.html#l00153">OMX_GetHandle()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>, and <a class="el" href="st__static__component__loader_8c_source.html#l00057">st_static_setup_component_loader()</a>.</p>

</div>
</div>
<a class="anchor" id="abcdf743df2b9963d00bfff62f5565f24"></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_COMPONENTLOADER::BOSA_DeInitComponentLoader)(struct <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>
      </table>
</div><div class="memdoc">

<p>The destructor of the component loader. </p>
<p>The component loader destructor is called by the OMX_Deinit function. It is implemented by the specific component loader. It must free every specific resource used by the component loader.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">loader</td><td>the specific component loader. This parameter is also specific to the component loader, and its structure is defined by each loader. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ErrorNone </dd></dl>

<p>Definition at line <a class="el" href="component__loader_8h_source.html#l00062">62</a> of file <a class="el" href="component__loader_8h_source.html">component_loader.h</a>.</p>

<p>Referenced by <a class="el" href="omxcore_8c_source.html#l00123">OMX_Deinit()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>, and <a class="el" href="st__static__component__loader_8c_source.html#l00057">st_static_setup_component_loader()</a>.</p>

</div>
</div>
<a class="anchor" id="af7117172ed209bc6a15cef1aaa1c563a"></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_COMPONENTLOADER::BOSA_DestroyComponent)(struct <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>
      </table>
</div><div class="memdoc">

<p>The component destructor of the current component loader. </p>
<p>This function implements the OMX_FreeHandle function for the specific component loader. Its interface is the same as the standard FreeHandle function, except that the first parameter that contains the private data of the specific component loader.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">loader</td><td>Private data of the component loader </td></tr>
    <tr><td class="paramname">pHandle</td><td>the openmax handle returned by the function, or NULL in case of failure. </td></tr>
    <tr><td class="paramname">cComponentName</td><td>A string that contains the standard component's name </td></tr>
    <tr><td class="paramname">pAppData</td><td>private data of the component (if needed) </td></tr>
    <tr><td class="paramname">pCallBacks</td><td>IL client callback function pointers passed to the component</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ErrorNone if the component is correctly constructed and returned </dd>
<dd>
OMX_ErrorComponentNotFound if the component is not found </dd>
<dd>
OMX_ErrorInsufficientResources if the component exists but can not be allocated. </dd></dl>

<p>Definition at line <a class="el" href="component__loader_8h_source.html#l00111">111</a> of file <a class="el" href="component__loader_8h_source.html">component_loader.h</a>.</p>

<p>Referenced by <a class="el" href="omxcore_8c_source.html#l00190">OMX_FreeHandle()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>, and <a class="el" href="st__static__component__loader_8c_source.html#l00057">st_static_setup_component_loader()</a>.</p>

</div>
</div>
<a class="anchor" id="a419cc0b8aaab54589c3743e6f5b68170"></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_COMPONENTLOADER::BOSA_GetComponentsOfRole)(struct <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>
      </table>
</div><div class="memdoc">

<p>This function implements the OMX_GetComponentsOfRole standard function for the current component loader. </p>
<p>This function will return the number of components that support the given role and (if the compNames field is non-NULL) the names of those components. The call will fail if an insufficiently sized array of names is supplied. To ensure the array is sufficiently sized the client should:</p><ul>
<li>first call this function with the compNames field NULL to determine the number of component names</li>
<li>second call this function with the compNames field pointing to an array of names allocated according to the number returned by the first call.</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">loader</td><td>Private data of the component loader </td></tr>
    <tr><td class="paramname">role</td><td>This is generic standard component name consisting only of component class name and the type within that class (e.g. 'audio_decoder.aac'). </td></tr>
    <tr><td class="paramname">pNumComps</td><td>This is used both as input and output. If compNames is NULL, the input is ignored and the output specifies how many components support the given role. If compNames is not NULL, on input it bounds the size of the input structure and on output, it specifies the number of components string names listed within the compNames parameter. </td></tr>
    <tr><td class="paramname">compNames</td><td>If NULL this field is ignored. If non-NULL this points to an array of 128-byte strings which accepts a list of the names of all physical components that implement the specified standard component name. Each name is NULL terminated. numComps indicates the number of names. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="component__loader_8h_source.html#l00208">208</a> of file <a class="el" href="component__loader_8h_source.html">component_loader.h</a>.</p>

<p>Referenced by <a class="el" href="omxcore_8c_source.html#l00358">OMX_GetComponentsOfRole()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>, and <a class="el" href="st__static__component__loader_8c_source.html#l00057">st_static_setup_component_loader()</a>.</p>

</div>
</div>
<a class="anchor" id="a759862c1e8d8020391959af85ab12c8f"></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_COMPONENTLOADER::BOSA_GetRolesOfComponent)(struct <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>
      </table>
</div><div class="memdoc">

<p>This function implements the OMX_GetRolesOfComponent standard function for the current component loader. </p>
<p>This function will return the number of roles supported by the given component and (if the roles field is non-NULL) the names of those roles. The call will fail if an insufficiently sized array of names is supplied. To ensure the array is sufficiently sized the client should:</p><ul>
<li>first call this function with the roles field NULL to determine the number of role names</li>
<li>second call this function with the roles field pointing to an array of names allocated according to the number returned by the first call.</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">loader</td><td>Private data of the component loader </td></tr>
    <tr><td class="paramname">compName</td><td>The name of the component being queried about. </td></tr>
    <tr><td class="paramname">pNumRoles</td><td>This parameter is used both as input and output. If roles is NULL, the input is ignored and the output specifies how many roles the component supports. If compNames is not NULL, on input it bounds the size of the input structure and on output, it specifies the number of roles string names listed within the roles parameter. </td></tr>
    <tr><td class="paramname">roles</td><td>If NULL this field is ignored. If non-NULL this points to an array of 128-byte strings which accepts a list of the names of all standard components roles implemented on the specified component name. numComps indicates the number of names. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="component__loader_8h_source.html#l00173">173</a> of file <a class="el" href="component__loader_8h_source.html">component_loader.h</a>.</p>

<p>Referenced by <a class="el" href="omxcore_8c_source.html#l00326">OMX_GetRolesOfComponent()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>, and <a class="el" href="st__static__component__loader_8c_source.html#l00057">st_static_setup_component_loader()</a>.</p>

</div>
</div>
<a class="anchor" id="a69333c17057a6a3ab0d829b0e700211c"></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_COMPONENTLOADER::BOSA_InitComponentLoader)(struct <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>
      </table>
</div><div class="memdoc">

<p>The constructor of the component loader. </p>
<p>The component loader creator is called by the OMX_Init function. It is implemented by the specific component loader. It must allocate any resource needed by the component loader.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">loader</td><td>A private data structure, if needed by the component loader. This data structure is passed every time a function of this loader is called. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ErrorInsufficientResources if the component loader can not be constructed </dd></dl>

<p>Definition at line <a class="el" href="component__loader_8h_source.html#l00050">50</a> of file <a class="el" href="component__loader_8h_source.html">component_loader.h</a>.</p>

<p>Referenced by <a class="el" href="omxcore_8c_source.html#l00094">OMX_Init()</a>, <a class="el" href="ste__dynamic__component__loader_8c_source.html#l00061">setup_component_loader()</a>, and <a class="el" href="st__static__component__loader_8c_source.html#l00057">st_static_setup_component_loader()</a>.</p>

</div>
</div>
<a class="anchor" id="a3c4f47f6e5589b19f7f6613de4ccb0df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* BOSA_COMPONENTLOADER::loaderPrivate</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The reference to the current component loader private data. </p>
<p>The current loader specified by this structure is described with this generic pointer that contains the private data of the loader. </p>

<p>Definition at line <a class="el" href="component__loader_8h_source.html#l00219">219</a> of file <a class="el" href="component__loader_8h_source.html">component_loader.h</a>.</p>

<p>Referenced by <a class="el" href="st__static__component__loader_8c_source.html#l00342">BOSA_ST_ComponentNameEnum()</a>, <a class="el" href="st__static__component__loader_8c_source.html#l00239">BOSA_ST_CreateComponent()</a>, <a class="el" href="st__static__component__loader_8c_source.html#l00170">BOSA_ST_DeInitComponentLoader()</a>, <a class="el" href="st__static__component__loader_8c_source.html#l00457">BOSA_ST_GetComponentsOfRole()</a>, <a class="el" href="st__static__component__loader_8c_source.html#l00392">BOSA_ST_GetRolesOfComponent()</a>, <a class="el" href="st__static__component__loader_8c_source.html#l00075">BOSA_ST_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#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>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="component__loader_8h_source.html">component_loader.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<html>
<body>
<hr size="1"><small>Generated for OpenMAX Bellagio rel. 0.9.3 by&nbsp;
<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&amp;type=4" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a>
</body>
</html>