Sophie

Sophie

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

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: omxcore.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
   &#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><a href="annotated.html"><span>Data&#160;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&#160;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('omxcore_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">omxcore.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;sys/types.h&gt;</code><br />
<code>#include &lt;dirent.h&gt;</code><br />
<code>#include &lt;strings.h&gt;</code><br />
<code>#include &lt;errno.h&gt;</code><br />
<code>#include &lt;assert.h&gt;</code><br />
<code>#include &lt;<a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_o_m_x___content_pipe_8h_source.html">OMX_ContentPipe.h</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="omxcore_8h_source.html">omxcore.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="omx__create__loaders_8h_source.html">omx_create_loaders.h</a>&quot;</code><br />
</div>
<p><a href="omxcore_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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omxcore_8c.html#a369266c24eacffb87046522897a570d5">_GNU_SOURCE</a></td></tr>
<tr class="separator:a369266c24eacffb87046522897a570d5"><td class="memSeparator" colspan="2">&#160;</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:a69d89cb17c61aa5ef311800fcd04277e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___content_pipe_8h.html#ac7e7fe0d2423eb39fdc56e2ee41db9e7">CPresult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omxcore_8c.html#a69d89cb17c61aa5ef311800fcd04277e">file_pipe_Constructor</a> (<a class="el" href="struct_c_p___p_i_p_e_t_y_p_e.html">CP_PIPETYPE</a> *pPipe, <a class="el" href="_o_m_x___content_pipe_8h.html#a7b283604388bd6b891c0144dd578b0ac">CPstring</a> szURI)</td></tr>
<tr class="separator:a69d89cb17c61aa5ef311800fcd04277e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae160843c2092ac8a999b8d270ccb9179"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___content_pipe_8h.html#ac7e7fe0d2423eb39fdc56e2ee41db9e7">CPresult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omxcore_8c.html#ae160843c2092ac8a999b8d270ccb9179">inet_pipe_Constructor</a> (<a class="el" href="struct_c_p___p_i_p_e_t_y_p_e.html">CP_PIPETYPE</a> *pPipe, <a class="el" href="_o_m_x___content_pipe_8h.html#a7b283604388bd6b891c0144dd578b0ac">CPstring</a> szURI)</td></tr>
<tr class="separator:ae160843c2092ac8a999b8d270ccb9179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae37c5001d856354a679e3f4ffa510e5b"><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="omxcore_8c.html#ae37c5001d856354a679e3f4ffa510e5b">BOSA_AddComponentLoader</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> *pLoader)</td></tr>
<tr class="separator:ae37c5001d856354a679e3f4ffa510e5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac81e21bb18ce9bd985a933509a61884c"><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="group__core.html#gac81e21bb18ce9bd985a933509a61884c">OMX_Init</a> ()</td></tr>
<tr class="memdesc:gac81e21bb18ce9bd985a933509a61884c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The OMX_Init standard function.  <a href="group__core.html#gac81e21bb18ce9bd985a933509a61884c">More...</a><br /></td></tr>
<tr class="separator:gac81e21bb18ce9bd985a933509a61884c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga863300506af715fdf8b91f32bdcf553a"><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="group__core.html#ga863300506af715fdf8b91f32bdcf553a">OMX_Deinit</a> ()</td></tr>
<tr class="memdesc:ga863300506af715fdf8b91f32bdcf553a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The OMX_Deinit standard function.  <a href="group__core.html#ga863300506af715fdf8b91f32bdcf553a">More...</a><br /></td></tr>
<tr class="separator:ga863300506af715fdf8b91f32bdcf553a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5820aeb18490b911238007a551b8d0a"><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="omxcore_8c.html#af5820aeb18490b911238007a551b8d0a">OMX_GetHandle</a> (<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:af5820aeb18490b911238007a551b8d0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">the OMX_GetHandle standard function  <a href="#af5820aeb18490b911238007a551b8d0a">More...</a><br /></td></tr>
<tr class="separator:af5820aeb18490b911238007a551b8d0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0f42b6ab41a0be2a04ef0e1f44c1ed6"><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="omxcore_8c.html#ab0f42b6ab41a0be2a04ef0e1f44c1ed6">OMX_FreeHandle</a> (<a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent)</td></tr>
<tr class="memdesc:ab0f42b6ab41a0be2a04ef0e1f44c1ed6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The OMX_FreeHandle standard function.  <a href="#ab0f42b6ab41a0be2a04ef0e1f44c1ed6">More...</a><br /></td></tr>
<tr class="separator:ab0f42b6ab41a0be2a04ef0e1f44c1ed6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dd0c18aa0b05d3ab6b75fd2c09f32b8"><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="omxcore_8c.html#a9dd0c18aa0b05d3ab6b75fd2c09f32b8">OMX_ComponentNameEnum</a> (<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:a9dd0c18aa0b05d3ab6b75fd2c09f32b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">the OMX_ComponentNameEnum standard function  <a href="#a9dd0c18aa0b05d3ab6b75fd2c09f32b8">More...</a><br /></td></tr>
<tr class="separator:a9dd0c18aa0b05d3ab6b75fd2c09f32b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ced14033d72fbf3a37d384bfb1cf9bc"><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="omxcore_8c.html#a1ced14033d72fbf3a37d384bfb1cf9bc">OMX_SetupTunnel</a> (<a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hOutput, <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> nPortOutput, <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hInput, <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> nPortInput)</td></tr>
<tr class="memdesc:a1ced14033d72fbf3a37d384bfb1cf9bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">the OMX_SetupTunnel standard function  <a href="#a1ced14033d72fbf3a37d384bfb1cf9bc">More...</a><br /></td></tr>
<tr class="separator:a1ced14033d72fbf3a37d384bfb1cf9bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a800020a34f138be16667ca3fed3268"><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="omxcore_8c.html#a0a800020a34f138be16667ca3fed3268">OMX_GetRolesOfComponent</a> (<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:a0a800020a34f138be16667ca3fed3268"><td class="mdescLeft">&#160;</td><td class="mdescRight">the OMX_GetRolesOfComponent standard function  <a href="#a0a800020a34f138be16667ca3fed3268">More...</a><br /></td></tr>
<tr class="separator:a0a800020a34f138be16667ca3fed3268"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af95bfb39552264e2d45c13eefa0cdf1f"><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="omxcore_8c.html#af95bfb39552264e2d45c13eefa0cdf1f">OMX_GetComponentsOfRole</a> (<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:af95bfb39552264e2d45c13eefa0cdf1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">the OMX_GetComponentsOfRole standard function  <a href="#af95bfb39552264e2d45c13eefa0cdf1f">More...</a><br /></td></tr>
<tr class="separator:af95bfb39552264e2d45c13eefa0cdf1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2c2a6488405840966e5b8414b5d77b7"><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="omxcore_8c.html#ad2c2a6488405840966e5b8414b5d77b7">OMX_GetContentPipe</a> (<a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> *hPipe, <a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> szURI)</td></tr>
<tr class="separator:ad2c2a6488405840966e5b8414b5d77b7"><td class="memSeparator" colspan="2">&#160;</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:a32b40ca5c7787d557b0f681d1d387024"><td class="memItemLeft" align="right" valign="top"><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> **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omxcore_8c.html#a32b40ca5c7787d557b0f681d1d387024">loadersList</a> = NULL</td></tr>
<tr class="separator:a32b40ca5c7787d557b0f681d1d387024"><td class="memSeparator" colspan="2">&#160;</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="omxcore_8c.html">src/omxcore.c</a></p>
<p>OpenMAX Integration Layer Core. This library implements the OpenMAX core responsible for environment setup, components tunneling and communication.</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 USA </p>

<p>Definition at line <a class="el" href="omxcore_8c_source.html#l00027">27</a> of file <a class="el" href="omxcore_8c_source.html">omxcore.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ae37c5001d856354a679e3f4ffa510e5b"></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_AddComponentLoader </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> *&#160;</td>
          <td class="paramname"><em>pLoader</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="omxcore_8c_source.html#l00064">64</a> of file <a class="el" href="omxcore_8c_source.html">omxcore.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#l00048">DEB_LEV_SIMPLE_SEQ</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00131">OMX_ErrorInsufficientResources</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="omx__create__loaders__linux_8c_source.html#l00058">createComponentLoaders()</a>.</p>

</div>
</div>
<a class="anchor" id="a69d89cb17c61aa5ef311800fcd04277e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_o_m_x___content_pipe_8h.html#ac7e7fe0d2423eb39fdc56e2ee41db9e7">CPresult</a> file_pipe_Constructor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_c_p___p_i_p_e_t_y_p_e.html">CP_PIPETYPE</a> *&#160;</td>
          <td class="paramname"><em>pPipe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_o_m_x___content_pipe_8h.html#a7b283604388bd6b891c0144dd578b0ac">CPstring</a>&#160;</td>
          <td class="paramname"><em>szURI</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="omxcore_8c_source.html#l00413">OMX_GetContentPipe()</a>.</p>

</div>
</div>
<a class="anchor" id="ae160843c2092ac8a999b8d270ccb9179"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_o_m_x___content_pipe_8h.html#ac7e7fe0d2423eb39fdc56e2ee41db9e7">CPresult</a> inet_pipe_Constructor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_c_p___p_i_p_e_t_y_p_e.html">CP_PIPETYPE</a> *&#160;</td>
          <td class="paramname"><em>pPipe</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_o_m_x___content_pipe_8h.html#a7b283604388bd6b891c0144dd578b0ac">CPstring</a>&#160;</td>
          <td class="paramname"><em>szURI</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="omxcore_8c_source.html#l00413">OMX_GetContentPipe()</a>.</p>

</div>
</div>
<a class="anchor" id="a9dd0c18aa0b05d3ab6b75fd2c09f32b8"></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> OMX_ComponentNameEnum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a>&#160;</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>&#160;</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>&#160;</td>
          <td class="paramname"><em>nIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the OMX_ComponentNameEnum standard function </p>
<p>This function build a complete list of names from all the loaders. For each loader the index is from 0 to max, but this function must provide a single list, with a common index. This implementation orders the loaders and the related list of components. </p>

<p>Definition at line <a class="el" href="omxcore_8c_source.html#l00216">216</a> of file <a class="el" href="omxcore_8c_source.html">omxcore.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="omxvolcontroltest_8c_source.html#l00034">err</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>

</div>
</div>
<a class="anchor" id="ab0f42b6ab41a0be2a04ef0e1f44c1ed6"></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> OMX_FreeHandle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a>&#160;</td>
          <td class="paramname"><em>hComponent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The OMX_FreeHandle standard function. </p>
<p>This function executes the BOSA_DestroyComponent of the component loaders</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">hComponent</td><td>the component handle to be freed</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The error of the BOSA_DestroyComponent function or OMX_ErrorNone </dd></dl>

<p>Definition at line <a class="el" href="omxcore_8c_source.html#l00190">190</a> of file <a class="el" href="omxcore_8c_source.html">omxcore.c</a>.</p>

<p>References <a class="el" href="component__loader_8h_source.html#l00111">BOSA_COMPONENTLOADER::BOSA_DestroyComponent</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="_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>

</div>
</div>
<a class="anchor" id="af95bfb39552264e2d45c13eefa0cdf1f"></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> OMX_GetComponentsOfRole </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a>&#160;</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> *&#160;</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> **&#160;</td>
          <td class="paramname"><em>compNames</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the OMX_GetComponentsOfRole standard function </p>
<p>This function searches in all the component loaders any component supporting the requested role</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">role</td><td>See spec </td></tr>
    <tr><td class="paramname">pNumComps</td><td>See spec </td></tr>
    <tr><td class="paramname">compNames</td><td>See spec </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="omxcore_8c_source.html#l00358">358</a> of file <a class="el" href="omxcore_8c_source.html">omxcore.c</a>.</p>

<p>References <a class="el" href="component__loader_8h_source.html#l00208">BOSA_COMPONENTLOADER::BOSA_GetComponentsOfRole</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="_o_m_x___core_8h_source.html#l00140">OMX_ErrorComponentNotFound</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, and <a class="el" href="_o_m_x___core_8h_source.html#l00281">OMX_MAX_STRINGNAME_SIZE</a>.</p>

</div>
</div>
<a class="anchor" id="ad2c2a6488405840966e5b8414b5d77b7"></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> OMX_GetContentPipe </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> *&#160;</td>
          <td class="paramname"><em>hPipe</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>&#160;</td>
          <td class="paramname"><em>szURI</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="omxcore_8c_source.html#l00413">413</a> of file <a class="el" href="omxcore_8c_source.html">omxcore.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="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="omxcore_8c.html#a69d89cb17c61aa5ef311800fcd04277e">file_pipe_Constructor()</a>, <a class="el" href="omxcore_8c.html#ae160843c2092ac8a999b8d270ccb9179">inet_pipe_Constructor()</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00246">OMX_ErrorContentPipeCreationFailed</a>, and <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>.</p>

</div>
</div>
<a class="anchor" id="af5820aeb18490b911238007a551b8d0a"></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> OMX_GetHandle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> *&#160;</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>&#160;</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>&#160;</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> *&#160;</td>
          <td class="paramname"><em>pCallBacks</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the OMX_GetHandle standard function </p>
<p>This function will scan inside any component loader to search for the requested component. If there are more components with the same name the first component is returned. The existence of multiple components with the same name is not contemplated in OpenMAX specification. The assumption is that this behavior is NOT allowed.</p>
<dl class="section return"><dt>Returns</dt><dd>OMX_ErrorNone if a component has been found OMX_ErrorComponentNotFound if the requested component has not been found in any loader </dd></dl>

<p>Definition at line <a class="el" href="omxcore_8c_source.html#l00153">153</a> of file <a class="el" href="omxcore_8c_source.html">omxcore.c</a>.</p>

<p>References <a class="el" href="component__loader_8h_source.html#l00084">BOSA_COMPONENTLOADER::BOSA_CreateComponent</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="_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>, and <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>.</p>

</div>
</div>
<a class="anchor" id="a0a800020a34f138be16667ca3fed3268"></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> OMX_GetRolesOfComponent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a>&#160;</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> *&#160;</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> **&#160;</td>
          <td class="paramname"><em>roles</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the OMX_GetRolesOfComponent standard function </p>

<p>Definition at line <a class="el" href="omxcore_8c_source.html#l00326">326</a> of file <a class="el" href="omxcore_8c_source.html">omxcore.c</a>.</p>

<p>References <a class="el" href="component__loader_8h_source.html#l00173">BOSA_COMPONENTLOADER::BOSA_GetRolesOfComponent</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="_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>

</div>
</div>
<a class="anchor" id="a1ced14033d72fbf3a37d384bfb1cf9bc"></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> OMX_SetupTunnel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a>&#160;</td>
          <td class="paramname"><em>hOutput</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>&#160;</td>
          <td class="paramname"><em>nPortOutput</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>&#160;</td>
          <td class="paramname"><em>hInput</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>&#160;</td>
          <td class="paramname"><em>nPortInput</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the OMX_SetupTunnel standard function </p>
<p>The implementation of this function is described in the OpenMAX spec</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">hOutput</td><td>component handler that controls the output port of the tunnel </td></tr>
    <tr><td class="paramname">nPortOutput</td><td>index of the output port of the tunnel </td></tr>
    <tr><td class="paramname">hInput</td><td>component handler that controls the input port of the tunnel </td></tr>
    <tr><td class="paramname">nPortInput</td><td>index of the input port of the tunnel</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ErrorBadParameter, OMX_ErrorPortsNotCompatible, tunnel rejected by a component or OMX_ErrorNone if the tunnel has been established </dd></dl>

<p>Definition at line <a class="el" href="omxcore_8c_source.html#l00262">262</a> of file <a class="el" href="omxcore_8c_source.html">omxcore.c</a>.</p>

<p>References <a class="el" href="_o_m_x___component_8h_source.html#l00467">OMX_COMPONENTTYPE::ComponentTunnelRequest</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#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="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00638">OMX_TUNNELSETUPTYPE::eSupplier</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00637">OMX_TUNNELSETUPTYPE::nTunnelFlags</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00602">OMX_BufferSupplyUnspecified</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00147">OMX_ErrorBadParameter</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#l00168">OMX_ErrorPortsNotCompatible</a>, and <a class="el" href="_o_m_x___core_8h_source.html#l00134">OMX_ErrorUndefined</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a32b40ca5c7787d557b0f681d1d387024"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><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>** loadersList = NULL</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The pointer to the loaders list. This list contains the all the different component loaders present in the system or added by the IL Client with the BOSA_AddComponentLoader function. The component loader is a implementation specific way to handle a set of components. The implementation of the IL core accesses to the loaders in a standard way, but the different loaders can handle different types of components, or handle in different ways the same components. It can be used also to create a multi-OS support </p>

<p>Definition at line <a class="el" href="omxcore_8c_source.html#l00062">62</a> of file <a class="el" href="omxcore_8c_source.html">omxcore.c</a>.</p>

</div>
</div>
</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>