Sophie

Sophie

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

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_base_filter.h 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__base__filter_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">omx_base_filter.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="_o_m_x___types_8h_source.html">OMX_Types.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_o_m_x___component_8h_source.html">OMX_Component.h</a>&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 &quot;<a class="el" href="omx__base__component_8h_source.html">omx_base_component.h</a>&quot;</code><br />
</div>
<p><a href="omx__base__filter_8h_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="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structomx__base__filter___private_type.html">omx_base_filter_PrivateType</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a2900a5042e770c40cedf68522bea9c36"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__filter_8h.html#a2900a5042e770c40cedf68522bea9c36">OMX_BASE_FILTER_INPUTPORT_INDEX</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a2900a5042e770c40cedf68522bea9c36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4fe2502e879e7b4dedac66e1bbb1da2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__filter_8h.html#aa4fe2502e879e7b4dedac66e1bbb1da2">OMX_BASE_FILTER_OUTPUTPORT_INDEX</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:aa4fe2502e879e7b4dedac66e1bbb1da2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74f3c411644e6a23c034dd6275bd6d98"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__filter_8h.html#a74f3c411644e6a23c034dd6275bd6d98">OMX_BASE_FILTER_ALLPORT_INDEX</a>&#160;&#160;&#160;-1</td></tr>
<tr class="separator:a74f3c411644e6a23c034dd6275bd6d98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4cc70dba92196ace0a929c4f19c19fe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__filter_8h.html#ac4cc70dba92196ace0a929c4f19c19fe">omx_base_filter_PrivateType_FIELDS</a></td></tr>
<tr class="separator:ac4cc70dba92196ace0a929c4f19c19fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a1177b56846a8bd985e713d6b42163a8a"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak" />
<a class="el" href="structomx__base__filter___private_type.html">omx_base_filter_PrivateType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__filter_8h.html#a1177b56846a8bd985e713d6b42163a8a">omx_base_filter_PrivateType</a></td></tr>
<tr class="separator:a1177b56846a8bd985e713d6b42163a8a"><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:a38226d1e5a2bcb7c19f3defa758c929d"><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="omx__base__filter_8h.html#a38226d1e5a2bcb7c19f3defa758c929d">omx_base_filter_Constructor</a> (<a class="el" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a> *openmaxStandComp, <a class="el" href="_o_m_x___types_8h.html#a35830b439b00948006e5ef824fef715f">OMX_STRING</a> cComponentName)</td></tr>
<tr class="memdesc:a38226d1e5a2bcb7c19f3defa758c929d"><td class="mdescLeft">&#160;</td><td class="mdescRight">The base filter contructor for the OpenMAX ST components.  <a href="#a38226d1e5a2bcb7c19f3defa758c929d">More...</a><br /></td></tr>
<tr class="separator:a38226d1e5a2bcb7c19f3defa758c929d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af02c8c172a5dcfb8a7b1eef2f3e8cc60"><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="omx__base__filter_8h.html#af02c8c172a5dcfb8a7b1eef2f3e8cc60">omx_base_filter_Destructor</a> (<a class="el" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a> *openmaxStandComp)</td></tr>
<tr class="memdesc:af02c8c172a5dcfb8a7b1eef2f3e8cc60"><td class="mdescLeft">&#160;</td><td class="mdescRight">the base filter destructor for ST OpenMAX components  <a href="#af02c8c172a5dcfb8a7b1eef2f3e8cc60">More...</a><br /></td></tr>
<tr class="separator:af02c8c172a5dcfb8a7b1eef2f3e8cc60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab20ece575001c6e9a5163e57e37a6a89"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__filter_8h.html#ab20ece575001c6e9a5163e57e37a6a89">omx_base_filter_BufferMgmtFunction</a> (void *param)</td></tr>
<tr class="separator:ab20ece575001c6e9a5163e57e37a6a89"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a74f3c411644e6a23c034dd6275bd6d98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_BASE_FILTER_ALLPORT_INDEX&#160;&#160;&#160;-1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>OMX_BASE_FILTER_ALLPORT_INDEX as the standard specifies, the -1 value for port index is used to point to all the ports </p>

<p>Definition at line <a class="el" href="omx__base__filter_8h_source.html#l00047">47</a> of file <a class="el" href="omx__base__filter_8h_source.html">omx_base_filter.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2900a5042e770c40cedf68522bea9c36"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_BASE_FILTER_INPUTPORT_INDEX&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="omx__base__filter_8h.html">src/base/omx_base_filter.h</a></p>
<p>OpenMAX Base Filter component. This component does not perform any multimedia processing. It derives from base component and contains two ports. It can be used as base class for codec and filter components.</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 USAOMX_BASE_FILTER_INPUTPORT_INDEX is the index of any input port for the derived components </p>

<p>Definition at line <a class="el" href="omx__base__filter_8h_source.html#l00039">39</a> of file <a class="el" href="omx__base__filter_8h_source.html">omx_base_filter.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__filter_8c_source.html#l00083">omx_base_filter_BufferMgmtFunction()</a>, <a class="el" href="omx__video__scheduler__component_8c_source.html#l00520">omx_video_scheduler_component_BufferMgmtCallback()</a>, <a class="el" href="omx__video__scheduler__component_8c_source.html#l00040">omx_video_scheduler_component_Constructor()</a>, and <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p>

</div>
</div>
<a class="anchor" id="aa4fe2502e879e7b4dedac66e1bbb1da2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_BASE_FILTER_OUTPUTPORT_INDEX&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>OMX_BASE_FILTER_OUTPUTPORT_INDEX is the index of any output port for the derived components </p>

<p>Definition at line <a class="el" href="omx__base__filter_8h_source.html#l00043">43</a> of file <a class="el" href="omx__base__filter_8h_source.html">omx_base_filter.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__filter_8c_source.html#l00083">omx_base_filter_BufferMgmtFunction()</a>, <a class="el" href="omx__video__scheduler__component_8c_source.html#l00040">omx_video_scheduler_component_Constructor()</a>, and <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p>

</div>
</div>
<a class="anchor" id="ac4cc70dba92196ace0a929c4f19c19fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define omx_base_filter_PrivateType_FIELDS</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="omx__base__component_8h.html#ae659a5005a04d6fdd8141cf2e203c97f">omx_base_component_PrivateType_FIELDS</a> \ <a class="code" href="group__buf.html#gaf90fde450d26f09596f3aaf0c3f6f002">\</a></div>
<div class="line"><a class="code" href="group__buf.html#gaf90fde450d26f09596f3aaf0c3f6f002">  OMX_BUFFERHEADERTYPE</a>* pPendingOutputBuffer; \ \</div>
<div class="line">  void (*BufferMgmtCallback)(<a class="code" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a>* openmaxStandComp, <a class="code" href="struct_o_m_x___b_u_f_f_e_r_h_e_a_d_e_r_t_y_p_e.html">OMX_BUFFERHEADERTYPE</a>* inputbuffer, <a class="code" href="struct_o_m_x___b_u_f_f_e_r_h_e_a_d_e_r_t_y_p_e.html">OMX_BUFFERHEADERTYPE</a>* outputbuffer);</div>
<div class="ttc" id="struct_o_m_x___b_u_f_f_e_r_h_e_a_d_e_r_t_y_p_e_html"><div class="ttname"><a href="struct_o_m_x___b_u_f_f_e_r_h_e_a_d_e_r_t_y_p_e.html">OMX_BUFFERHEADERTYPE</a></div><div class="ttdef"><b>Definition:</b> <a href="_o_m_x___core_8h_source.html#l00398">OMX_Core.h:398</a></div></div>
<div class="ttc" id="omx__base__component_8h_html_ae659a5005a04d6fdd8141cf2e203c97f"><div class="ttname"><a href="omx__base__component_8h.html#ae659a5005a04d6fdd8141cf2e203c97f">omx_base_component_PrivateType_FIELDS</a></div><div class="ttdeci">#define omx_base_component_PrivateType_FIELDS</div><div class="ttdef"><b>Definition:</b> <a href="omx__base__component_8h_source.html#l00123">omx_base_component.h:123</a></div></div>
<div class="ttc" id="group__buf_html_gaf90fde450d26f09596f3aaf0c3f6f002"><div class="ttname"><a href="group__buf.html#gaf90fde450d26f09596f3aaf0c3f6f002">OMX_BUFFERHEADERTYPE</a></div><div class="ttdeci">struct OMX_BUFFERHEADERTYPE OMX_BUFFERHEADERTYPE</div></div>
<div class="ttc" id="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e_html"><div class="ttname"><a href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a></div><div class="ttdef"><b>Definition:</b> <a href="_o_m_x___component_8h_source.html#l00307">OMX_Component.h:307</a></div></div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="omx__base__filter_8h_source.html#l00052">52</a> of file <a class="el" href="omx__base__filter_8h_source.html">omx_base_filter.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a1177b56846a8bd985e713d6b42163a8a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structomx__base__filter___private_type.html">omx_base_filter_PrivateType</a> <a class="el" href="structomx__base__filter___private_type.html">omx_base_filter_PrivateType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Base Filter component private structure. </p>

<p>Definition at line <a class="el" href="omx__base__filter_8h_source.html#l00051">51</a> of file <a class="el" href="omx__base__filter_8h_source.html">omx_base_filter.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ab20ece575001c6e9a5163e57e37a6a89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* omx_base_filter_BufferMgmtFunction </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>param</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is the central function for component processing. It is executed in a separate thread, is synchronized with semaphores at each port, those are released each time a new buffer is available on the given port. </p>

<p>Definition at line <a class="el" href="omx__base__filter_8c_source.html#l00083">83</a> of file <a class="el" href="omx__base__filter_8c_source.html">omx_base_filter.c</a>.</p>

<p>References <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::bellagioThreads</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::bIsEOSReached</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::bMgmtSem</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::bStateSem</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::BufferMgmtCallback</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::callbackData</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::callbacks</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00039">DEB_LEV_ERR</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00054">DEB_LEV_FULL_SEQ</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00059">DEB_LEV_FUNCTION_NAME</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00048">DEB_LEV_SIMPLE_SEQ</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="queue_8c_source.html#l00122">dequeue()</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00530">OMX_CALLBACKTYPE::EventHandler</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::flush_all_condition</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::flush_condition</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::flush_mutex</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00299">OMX_MARKTYPE::hMarkTargetComponent</a>, <a class="el" href="extension__struct_8h_source.html#l00037">OMX_PARAM_BELLAGIOTHREADS_ID::nThreadBufferMngtID</a>, <a class="el" href="omx__base__filter_8h_source.html#l00039">OMX_BASE_FILTER_INPUTPORT_INDEX</a>, <a class="el" href="omx__base__filter_8h_source.html#l00043">OMX_BASE_FILTER_OUTPUTPORT_INDEX</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00299">OMX_BUFFERFLAG_EOS</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00326">OMX_BUFFERFLAG_STARTTIME</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00485">OMX_EventBufferFlag</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00483">OMX_EventMark</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00190">OMX_FALSE</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00105">OMX_StateExecuting</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00102">OMX_StateIdle</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00094">OMX_StateInvalid</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00097">OMX_StateLoaded</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00107">OMX_StatePause</a>, <a class="el" href="omx__base__component_8h_source.html#l00088">OMX_TransStateLoadedToIdle</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00191">OMX_TRUE</a>, <a class="el" href="omx__base__port_8h_source.html#l00142">omx_base_PortType::pBufferQueue</a>, <a class="el" href="omx__base__port_8h_source.html#l00142">omx_base_PortType::pBufferSem</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00326">OMX_COMPONENTTYPE::pComponentPrivate</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::pMark</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00302">OMX_MARKTYPE::pMarkData</a>, <a class="el" href="omx__base__port_8h_source.html#l00039">PORT_IS_BEING_FLUSHED</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::ports</a>, <a class="el" href="omx__base__port_8h_source.html#l00142">omx_base_PortType::ReturnBufferFunction</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::state</a>, <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::transientState</a>, <a class="el" href="tsemaphore_8c_source.html#l00097">tsem_down()</a>, <a class="el" href="tsemaphore_8c_source.html#l00110">tsem_up()</a>, and <a class="el" href="tsemaphore_8c_source.html#l00131">tsem_wait()</a>.</p>

<p>Referenced by <a class="el" href="omx__base__filter_8c_source.html#l00034">omx_base_filter_Constructor()</a>.</p>

</div>
</div>
<a class="anchor" id="a38226d1e5a2bcb7c19f3defa758c929d"></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_base_filter_Constructor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a> *&#160;</td>
          <td class="paramname"><em>openmaxStandComp</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>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The base filter contructor for the OpenMAX ST components. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">openmaxStandComp</td><td>the ST component to be initialized </td></tr>
    <tr><td class="paramname">cComponentName</td><td>the OpenMAX string that describes the component</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ErrorInsufficientResources if a memory allocation fails</dd></dl>
<p><a class="el" href="omx__base__filter_8c.html">src/base/omx_base_filter.c</a></p>
<p>OpenMAX Base Filter component. This component does not perform any multimedia processing. It derives from base component and contains two ports. It can be used as a base class for codec and filter components.</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="omx__base__filter_8c_source.html#l00034">34</a> of file <a class="el" href="omx__base__filter_8c_source.html">omx_base_filter.c</a>.</p>

<p>References <a class="el" href="omx__base__filter_8h_source.html#l00057">omx_base_filter_PrivateType::BufferMgmtFunction</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#l00077">DEBUG</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="omx__base__component_8c_source.html#l00095">omx_base_component_Constructor()</a>, <a class="el" href="omx__base__filter_8c_source.html#l00083">omx_base_filter_BufferMgmtFunction()</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00131">OMX_ErrorInsufficientResources</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, and <a class="el" href="_o_m_x___component_8h_source.html#l00326">OMX_COMPONENTTYPE::pComponentPrivate</a>.</p>

<p>Referenced by <a class="el" href="omx__audiomixer__component_8c_source.html#l00035">omx_audio_mixer_component_Constructor()</a>, <a class="el" href="omx__video__scheduler__component_8c_source.html#l00040">omx_video_scheduler_component_Constructor()</a>, and <a class="el" href="omx__volume__component_8c_source.html#l00035">omx_volume_component_Constructor()</a>.</p>

</div>
</div>
<a class="anchor" id="af02c8c172a5dcfb8a7b1eef2f3e8cc60"></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_base_filter_Destructor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_o_m_x___c_o_m_p_o_n_e_n_t_t_y_p_e.html">OMX_COMPONENTTYPE</a> *&#160;</td>
          <td class="paramname"><em>openmaxStandComp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the base filter destructor for ST OpenMAX components </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">openmaxStandComp</td><td>the ST OpenMAX component to be disposed </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="omx__base__filter_8c_source.html#l00066">66</a> of file <a class="el" href="omx__base__filter_8c_source.html">omx_base_filter.c</a>.</p>

<p>References <a class="el" href="omx__comp__debug__levels_8h_source.html#l00039">DEB_LEV_ERR</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00059">DEB_LEV_FUNCTION_NAME</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="omx__base__component_8c_source.html#l00271">omx_base_component_Destructor()</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__audiomixer__component_8c_source.html#l00134">omx_audio_mixer_component_Destructor()</a>, <a class="el" href="omx__video__scheduler__component_8c_source.html#l00139">omx_video_scheduler_component_Destructor()</a>, and <a class="el" href="omx__volume__component_8c_source.html#l00120">omx_volume_component_Destructor()</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>