Sophie

Sophie

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

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: omx_create_loaders_linux.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('omx__create__loaders__linux_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>  </div>
  <div class="headertitle">
<div class="title">omx_create_loaders_linux.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;dlfcn.h&gt;</code><br />
<code>#include &lt;dirent.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &quot;<a class="el" href="component__loader_8h_source.html">component_loader.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 />
<code>#include &quot;<a class="el" href="st__static__component__loader_8h_source.html">st_static_component_loader.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="common_8h_source.html">common.h</a>&quot;</code><br />
</div>
<p><a href="omx__create__loaders__linux_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="omx__create__loaders__linux_8c.html#a369266c24eacffb87046522897a570d5">_GNU_SOURCE</a></td></tr>
<tr class="separator:a369266c24eacffb87046522897a570d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a70130158d97c314459f942fc60967a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omx__create__loaders__linux_8c.html#a6a70130158d97c314459f942fc60967a">OMX_LOADERS_FILENAME</a>&#160;&#160;&#160;&quot;.omxloaders&quot;</td></tr>
<tr class="separator:a6a70130158d97c314459f942fc60967a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad20734577d577e7fca777ef5e10016a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omx__create__loaders__linux_8c.html#aad20734577d577e7fca777ef5e10016a">OMX_LOADERS_DIRNAME</a>&#160;&#160;&#160;&quot;/usr/lib/omxloaders/&quot;</td></tr>
<tr class="separator:aad20734577d577e7fca777ef5e10016a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03cc8ea4bd693f62e5c07ab04f922cfa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omx__create__loaders__linux_8c.html#a03cc8ea4bd693f62e5c07ab04f922cfa">INSTALL_PATH_STR</a>&#160;&#160;&#160;&quot;/usr/local/lib/bellagio&quot;</td></tr>
<tr class="separator:a03cc8ea4bd693f62e5c07ab04f922cfa"><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:a764bb32d40b3d01902bee09a5af95682"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omx__create__loaders__linux_8c.html#a764bb32d40b3d01902bee09a5af95682">createComponentLoaders</a> ()</td></tr>
<tr class="separator:a764bb32d40b3d01902bee09a5af95682"><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="omx__create__loaders__linux_8c.html">src/omx_create_loaders_linux.c</a></p>
<p>In this file is implemented the entry point for the construction of every component loader in linux. In the current implementation only the ST static loader is called.</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="omx__create__loaders__linux_8c_source.html#l00028">28</a> of file <a class="el" href="omx__create__loaders__linux_8c_source.html">omx_create_loaders_linux.c</a>.</p>

</div>
</div>
<a class="anchor" id="a03cc8ea4bd693f62e5c07ab04f922cfa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INSTALL_PATH_STR&#160;&#160;&#160;&quot;/usr/local/lib/bellagio&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="omx__create__loaders__linux_8c_source.html#l00045">45</a> of file <a class="el" href="omx__create__loaders__linux_8c_source.html">omx_create_loaders_linux.c</a>.</p>

</div>
</div>
<a class="anchor" id="aad20734577d577e7fca777ef5e10016a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_LOADERS_DIRNAME&#160;&#160;&#160;&quot;/usr/lib/omxloaders/&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="omx__create__loaders__linux_8c_source.html#l00041">41</a> of file <a class="el" href="omx__create__loaders__linux_8c_source.html">omx_create_loaders_linux.c</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="a6a70130158d97c314459f942fc60967a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_LOADERS_FILENAME&#160;&#160;&#160;&quot;.omxloaders&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="omx__create__loaders__linux_8c_source.html#l00038">38</a> of file <a class="el" href="omx__create__loaders__linux_8c_source.html">omx_create_loaders_linux.c</a>.</p>

<p>Referenced by <a class="el" href="omx__create__loaders__linux_8c_source.html#l00058">createComponentLoaders()</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a764bb32d40b3d01902bee09a5af95682"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int createComponentLoaders </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This function allocates all the structures needed by the component loaders available in the system and initialize the function pointers of the loader. Finally it searches for more loaders that can be pointed by the .omxloaders file. If this file exists it contains a list of library containing custom component loaders. Each library should contain a function named 'setup_component_loader' that will initialize the custom loader. This mechanism is similar to the default loading of the components. </p>

<p>Definition at line <a class="el" href="omx__create__loaders__linux_8c_source.html#l00058">58</a> of file <a class="el" href="omx__create__loaders__linux_8c_source.html">omx_create_loaders_linux.c</a>.</p>

<p>References <a class="el" href="omxcore_8c_source.html#l00064">BOSA_AddComponentLoader()</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#l00077">DEBUG</a>, <a class="el" href="common_8c_source.html#l00162">exists()</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00035">handle</a>, <a class="el" href="common_8c_source.html#l00087">loadersRegistryGetFilename()</a>, <a class="el" href="common_8h_source.html#l00030">MAX_LINE_LENGTH</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00131">OMX_ErrorInsufficientResources</a>, <a class="el" href="omx__create__loaders__linux_8c_source.html#l00041">OMX_LOADERS_DIRNAME</a>, <a class="el" href="omx__create__loaders__linux_8c_source.html#l00038">OMX_LOADERS_FILENAME</a>, and <a class="el" href="st__static__component__loader_8c_source.html#l00057">st_static_setup_component_loader()</a>.</p>

<p>Referenced by <a class="el" href="omxcore_8c_source.html#l00094">OMX_Init()</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>