<!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: omxregister.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('omxregister_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> </div> <div class="headertitle"> <div class="title">omxregister.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <dlfcn.h></code><br /> <code>#include <dirent.h></code><br /> <code>#include <stdlib.h></code><br /> <code>#include <string.h></code><br /> <code>#include <errno.h></code><br /> <code>#include <sys/stat.h></code><br /> <code>#include <sys/types.h></code><br /> <code>#include "<a class="el" href="st__static__component__loader_8h_source.html">st_static_component_loader.h</a>"</code><br /> <code>#include "<a class="el" href="common_8h_source.html">common.h</a>"</code><br /> </div> <p><a href="omxregister_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:a7524f1cea5e8b825884ff13e7551ef17"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="omxregister_8c.html#a7524f1cea5e8b825884ff13e7551ef17">DEFAULT_LINE_LENGHT</a>   500</td></tr> <tr class="separator:a7524f1cea5e8b825884ff13e7551ef17"><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:a0763d7af565b39379b4ebbfdde9c5bc7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="omxregister_8c.html#a0763d7af565b39379b4ebbfdde9c5bc7">int2strlen</a> (int value)</td></tr> <tr class="separator:a0763d7af565b39379b4ebbfdde9c5bc7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="omxregister_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr> <tr class="memdesc:a0ddf1224851353fc92bfbff6f499fa97"><td class="mdescLeft"> </td><td class="mdescRight">execution of registration function <a href="#a0ddf1224851353fc92bfbff6f499fa97">More...</a><br /></td></tr> <tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a class="anchor" id="a7524f1cea5e8b825884ff13e7551ef17"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define DEFAULT_LINE_LENGHT   500</td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="omxregister_8c.html">src/omxregister.c</a></p> <p>Register OpenMAX components. This application registers the installed OpenMAX components and stores the list in the file: $HOME/.omxregistry</p> <p>It must be run before using components. The components are searched in the default directory: OMXILCOMPONENTSPATH If the components are installed in a different location, specify:</p> <p>omxregister-bellagio installation_path</p> <p>If the installation path parameter is not set also the environment variable BELLAGIO_SEARCH_PATH is checked. If set it contains the locations of the components, separated by colons</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="omxregister_8c_source.html#l00050">50</a> of file <a class="el" href="omxregister_8c_source.html">omxregister.c</a>.</p> </div> </div> <h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="a0763d7af565b39379b4ebbfdde9c5bc7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int int2strlen </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="omxregister_8c_source.html#l00056">56</a> of file <a class="el" href="omxregister_8c_source.html">omxregister.c</a>.</p> </div> </div> <a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int main </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>argc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char * </td> <td class="paramname"><em>argv</em>[] </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>execution of registration function </p> <p>This register by default searches for OpenMAX libraries in OMXILCOMPONENTSPATH If specified it can search in a different directory </p> <p>Definition at line <a class="el" href="omxregister_8c_source.html#l00402">402</a> of file <a class="el" href="omxregister_8c_source.html">omxregister.c</a>.</p> <p>References <a class="el" href="common_8c_source.html#l00046">componentsRegistryGetFilename()</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="omxvolcontroltest_8c_source.html#l00034">err</a>, and <a class="el" href="common_8c_source.html#l00118">makedir()</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>