<!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_clock_port.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  <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('omx__base__clock__port_8h.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Data Structures</a> | <a href="#define-members">Macros</a> | <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">omx_base_clock_port.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include "<a class="el" href="omx__classmagic_8h_source.html">omx_classmagic.h</a>"</code><br /> <code>#include "<a class="el" href="omx__base__port_8h_source.html">omx_base_port.h</a>"</code><br /> </div> <p><a href="omx__base__clock__port_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  </td><td class="memItemRight" valign="bottom"><a class="el" href="structomx__base__clock___port_type.html">omx_base_clock_PortType</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </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:a9f1b2fdb5f00147948e39b7c9863f4c0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__clock__port_8h.html#a9f1b2fdb5f00147948e39b7c9863f4c0">omx_base_clock_PortType_FIELDS</a></td></tr> <tr class="separator:a9f1b2fdb5f00147948e39b7c9863f4c0"><td class="memSeparator" colspan="2"> </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:a35559e5047d68c81ad8948a0c79f8289"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak" /> <a class="el" href="structomx__base__clock___port_type.html">omx_base_clock_PortType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__clock__port_8h.html#a35559e5047d68c81ad8948a0c79f8289">omx_base_clock_PortType</a></td></tr> <tr class="memdesc:a35559e5047d68c81ad8948a0c79f8289"><td class="mdescLeft"> </td><td class="mdescRight">the base clock domain structure that describes each port. <a href="#a35559e5047d68c81ad8948a0c79f8289">More...</a><br /></td></tr> <tr class="separator:a35559e5047d68c81ad8948a0c79f8289"><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:ad00fe59d19259a297540e7ebccf8bdbd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__clock__port_8h.html#ad00fe59d19259a297540e7ebccf8bdbd">base_clock_port_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="structomx__base___port_type.html">omx_base_PortType</a> **openmaxStandPort, <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> nPortIndex, <a class="el" href="_o_m_x___types_8h.html#a4aa524afe637a18762ac3cfdb3ce277b">OMX_BOOL</a> isInput)</td></tr> <tr class="memdesc:ad00fe59d19259a297540e7ebccf8bdbd"><td class="mdescLeft"> </td><td class="mdescRight">the base contructor for the generic openmax ST clock port <a href="#ad00fe59d19259a297540e7ebccf8bdbd">More...</a><br /></td></tr> <tr class="separator:ad00fe59d19259a297540e7ebccf8bdbd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a18dc0c0c995ea199b689fb5db74826a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__clock__port_8h.html#a18dc0c0c995ea199b689fb5db74826a0">base_clock_port_Destructor</a> (<a class="el" href="structomx__base___port_type.html">omx_base_PortType</a> *openmaxStandPort)</td></tr> <tr class="memdesc:a18dc0c0c995ea199b689fb5db74826a0"><td class="mdescLeft"> </td><td class="mdescRight">the base clock port destructor for the generic openmax ST clock port <a href="#a18dc0c0c995ea199b689fb5db74826a0">More...</a><br /></td></tr> <tr class="separator:a18dc0c0c995ea199b689fb5db74826a0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a75d9e2707dae14f9dc88bd6c925a7935"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_o_m_x___core_8h.html#a4e2923ea92fd56f5bd9783a6dac7629a">OMX_ERRORTYPE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="omx__base__clock__port_8h.html#a75d9e2707dae14f9dc88bd6c925a7935">base_clock_port_SendBufferFunction</a> (<a class="el" href="structomx__base___port_type.html">omx_base_PortType</a> *openmaxStandPort, <a class="el" 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> *pBuffer)</td></tr> <tr class="memdesc:a75d9e2707dae14f9dc88bd6c925a7935"><td class="mdescLeft"> </td><td class="mdescRight">the entry point for sending buffers to the port <a href="#a75d9e2707dae14f9dc88bd6c925a7935">More...</a><br /></td></tr> <tr class="separator:a75d9e2707dae14f9dc88bd6c925a7935"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a class="anchor" id="a9f1b2fdb5f00147948e39b7c9863f4c0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define omx_base_clock_PortType_FIELDS</td> </tr> </table> </div><div class="memdoc"> <b>Value:</b><div class="fragment"><div class="line"><a class="code" href="_o_m_x___other_8h.html#a387ae1553e367a36284e4c55fbba56b1">omx_base_PortType_FIELDS \</a></div> <div class="line"><a class="code" href="_o_m_x___other_8h.html#a387ae1553e367a36284e4c55fbba56b1"> OMX_TIME_CONFIG_TIMESTAMPTYPE</a> sTimeStamp; <a class="code" href="_o_m_x___other_8h.html#ae4ad9d8ec095adc4a583b38191546dba">\</a></div> <div class="line"><a class="code" href="_o_m_x___other_8h.html#ae4ad9d8ec095adc4a583b38191546dba"> OMX_TIME_MEDIATIMETYPE</a> sMediaTime; <a class="code" href="_o_m_x___other_8h.html#ab7f1adbc31ee5bfa552731ff86a35247">\</a></div> <div class="line"><a class="code" href="_o_m_x___other_8h.html#ab7f1adbc31ee5bfa552731ff86a35247"> OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE</a> sMediaTimeRequest; <a class="code" href="_o_m_x___other_8h.html#a9c25fafcb30ae93240a3fde0e073f74d">\</a></div> <div class="line"><a class="code" href="_o_m_x___other_8h.html#a9c25fafcb30ae93240a3fde0e073f74d"> OMX_OTHER_PARAM_PORTFORMATTYPE</a> sOtherParam;</div> <div class="ttc" id="_o_m_x___other_8h_html_a387ae1553e367a36284e4c55fbba56b1"><div class="ttname"><a href="_o_m_x___other_8h.html#a387ae1553e367a36284e4c55fbba56b1">OMX_TIME_CONFIG_TIMESTAMPTYPE</a></div><div class="ttdeci">struct OMX_TIME_CONFIG_TIMESTAMPTYPE OMX_TIME_CONFIG_TIMESTAMPTYPE</div></div> <div class="ttc" id="_o_m_x___other_8h_html_ab7f1adbc31ee5bfa552731ff86a35247"><div class="ttname"><a href="_o_m_x___other_8h.html#ab7f1adbc31ee5bfa552731ff86a35247">OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE</a></div><div class="ttdeci">struct OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE</div></div> <div class="ttc" id="_o_m_x___other_8h_html_a9c25fafcb30ae93240a3fde0e073f74d"><div class="ttname"><a href="_o_m_x___other_8h.html#a9c25fafcb30ae93240a3fde0e073f74d">OMX_OTHER_PARAM_PORTFORMATTYPE</a></div><div class="ttdeci">struct OMX_OTHER_PARAM_PORTFORMATTYPE OMX_OTHER_PARAM_PORTFORMATTYPE</div></div> <div class="ttc" id="_o_m_x___other_8h_html_ae4ad9d8ec095adc4a583b38191546dba"><div class="ttname"><a href="_o_m_x___other_8h.html#ae4ad9d8ec095adc4a583b38191546dba">OMX_TIME_MEDIATIMETYPE</a></div><div class="ttdeci">struct OMX_TIME_MEDIATIMETYPE OMX_TIME_MEDIATIMETYPE</div></div> </div><!-- fragment --><p>Domain specific (other) OpenMAX port parameter </p> <p>Definition at line <a class="el" href="omx__base__clock__port_8h_source.html#l00043">43</a> of file <a class="el" href="omx__base__clock__port_8h_source.html">omx_base_clock_port.h</a>.</p> </div> </div> <h2 class="groupheader">Typedef Documentation</h2> <a class="anchor" id="a35559e5047d68c81ad8948a0c79f8289"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef struct <a class="el" href="structomx__base__clock___port_type.html">omx_base_clock_PortType</a> <a class="el" href="structomx__base__clock___port_type.html">omx_base_clock_PortType</a></td> </tr> </table> </div><div class="memdoc"> <p>the base clock domain structure that describes each port. </p> <p><a class="el" href="omx__base__clock__port_8h.html">src/base/omx_base_clock_port.h</a></p> <p>Base Clock Port class for OpenMAX clock ports to be used in derived 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 The data structure is derived from base port class and contain clock domain specific parameters. Other elements can be added in the derived components structures.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">sOtherParam</td><td>Domain specific (other) OpenMAX port parameter </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="omx__base__clock__port_8h_source.html#l00042">42</a> of file <a class="el" href="omx__base__clock__port_8h_source.html">omx_base_clock_port.h</a>.</p> </div> </div> <h2 class="groupheader">Function Documentation</h2> <a class="anchor" id="ad00fe59d19259a297540e7ebccf8bdbd"></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> base_clock_port_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> * </td> <td class="paramname"><em>openmaxStandComp</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structomx__base___port_type.html">omx_base_PortType</a> ** </td> <td class="paramname"><em>openmaxStandPort</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> </td> <td class="paramname"><em>nPortIndex</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="_o_m_x___types_8h.html#a4aa524afe637a18762ac3cfdb3ce277b">OMX_BOOL</a> </td> <td class="paramname"><em>isInput</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>the base contructor for the generic openmax ST clock port </p> <p>This function is executed by the component that uses a port. The parameter contains the info about the component. It takes care of constructing the instance of the port and every object needed by the base port.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">openmaxStandComp</td><td>pointer to the Handle of the component </td></tr> <tr><td class="paramname">openmaxStandPort</td><td>the ST port to be initialized </td></tr> <tr><td class="paramname">nPortIndex</td><td>Index of the port to be constructed </td></tr> <tr><td class="paramname">isInput</td><td>specifices if the port is an input or an output</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OMX_ErrorInsufficientResources if a memory allocation fails</dd></dl> <p>the base contructor for the generic openmax ST clock port</p> <p><a class="el" href="omx__base__clock__port_8c.html">src/base/omx_base_clock_port.c</a></p> <p>Base Clock Port class for OpenMAX clock ports to be used in derived 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 This function is executed by the component that uses a port. The parameter contains the info about the component. It takes care of constructing the instance of the port and every object needed by the base port.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">openmaxStandComp</td><td>pointer to the Handle of the component </td></tr> <tr><td class="paramname">openmaxStandPort</td><td>the ST port to be initialized </td></tr> <tr><td class="paramname">nPortIndex</td><td>Index of the port to be constructed </td></tr> <tr><td class="paramname">isInput</td><td>specifies if the port is an input or an output</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OMX_ErrorInsufficientResources if a memory allocation fails </dd></dl> <p>Definition at line <a class="el" href="omx__base__clock__port_8c_source.html#l00050">50</a> of file <a class="el" href="omx__base__clock__port_8c_source.html">omx_base_clock_port.c</a>.</p> <p>References <a class="el" href="omx__base__clock__port_8c_source.html#l00116">base_clock_port_Destructor()</a>, <a class="el" href="omx__base__clock__port_8c_source.html#l00133">base_clock_port_SendBufferFunction()</a>, <a class="el" href="omx__base__port_8c_source.html#l00055">base_port_Constructor()</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="_o_m_x___component_8h_source.html#l00077">OMX_PARAM_PORTDEFINITIONTYPE::eDomain</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00318">OMX_OTHER_PORTDEFINITIONTYPE::eFormat</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00329">OMX_OTHER_PARAM_PORTFORMATTYPE::eFormat</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="struct_o_m_x___p_a_r_a_m___p_o_r_t_d_e_f_i_n_i_t_i_o_n_t_y_p_e.html#a8fdad175180e464f59937278a7c66ff3">OMX_PARAM_PORTDEFINITIONTYPE::format</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00066">OMX_PARAM_PORTDEFINITIONTYPE::nBufferCountActual</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00067">OMX_PARAM_PORTDEFINITIONTYPE::nBufferCountMin</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00068">OMX_PARAM_PORTDEFINITIONTYPE::nBufferSize</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00219">OMX_TIME_MEDIATIMETYPE::nClientPrivate</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00328">OMX_OTHER_PARAM_PORTFORMATTYPE::nIndex</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00185">OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE::nOffset</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00225">OMX_TIME_MEDIATIMETYPE::nOffset</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00116">OMX_TIME_CONFIG_TIMESTAMPTYPE::nPortIndex</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00178">OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE::nPortIndex</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00327">OMX_OTHER_PARAM_PORTFORMATTYPE::nPortIndex</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00117">OMX_TIME_CONFIG_TIMESTAMPTYPE::nTimestamp</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>, <a class="el" href="_o_m_x___other_8h_source.html#l00051">OMX_OTHER_FormatTime</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00054">OMX_PortDomainOther</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00082">OMX_PARAM_PORTDEFINITIONTYPE::other</a>, <a class="el" href="_o_m_x___other_8h_source.html#l00179">OMX_TIME_CONFIG_MEDIATIMEREQUESTTYPE::pClientPrivate</a>, <a class="el" href="omx__base__clock__port_8h_source.html#l00048">omx_base_clock_PortType::Port_SendBufferFunction</a>, <a class="el" href="omx__base__clock__port_8h_source.html#l00048">omx_base_clock_PortType::PortDestructor</a>, <a class="el" href="omx__base__component_8c_source.html#l00746">setHeader()</a>, <a class="el" href="omx__base__clock__port_8h_source.html#l00048">omx_base_clock_PortType::sMediaTime</a>, <a class="el" href="omx__base__clock__port_8h_source.html#l00048">omx_base_clock_PortType::sMediaTimeRequest</a>, <a class="el" href="omx__base__clock__port_8h_source.html#l00048">omx_base_clock_PortType::sOtherParam</a>, <a class="el" href="omx__base__clock__port_8h_source.html#l00048">omx_base_clock_PortType::sPortParam</a>, <a class="el" href="omx__base__clock__port_8h_source.html#l00048">omx_base_clock_PortType::sTimeStamp</a>, and <a class="el" href="_o_m_x___other_8h_source.html#l00233">OMX_TIME_MEDIATIMETYPE::xScale</a>.</p> <p>Referenced by <a class="el" href="omx__clocksrc__component_8c_source.html#l00035">omx_clocksrc_component_Constructor()</a>, and <a class="el" href="omx__video__scheduler__component_8c_source.html#l00040">omx_video_scheduler_component_Constructor()</a>.</p> </div> </div> <a class="anchor" id="a18dc0c0c995ea199b689fb5db74826a0"></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> base_clock_port_Destructor </td> <td>(</td> <td class="paramtype"><a class="el" href="structomx__base___port_type.html">omx_base_PortType</a> * </td> <td class="paramname"><em>openmaxStandPort</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>the base clock port destructor for the generic openmax ST clock port </p> <p>This function is executed by the component that uses a port. The parameter contains the info about the port. It takes care of destructing the instance of the port</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">openmaxStandPort</td><td>the ST port to be destructed</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>OMX_ErrorNone</dd></dl> <p>the base clock port destructor for the generic openmax ST clock port</p> <p>This function is executed by the component that uses a port. The parameter contains the info about the port. It takes care of destructing the instance of the port</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">openmaxStandPort</td><td>the ST port to be destructed</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="omx__base__clock__port_8c_source.html#l00116">116</a> of file <a class="el" href="omx__base__clock__port_8c_source.html">omx_base_clock_port.c</a>.</p> <p>References <a class="el" href="omx__base__port_8c_source.html#l00134">base_port_Destructor()</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="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</a>, and <a class="el" href="omx__base__port_8h_source.html#l00142">omx_base_PortType::standCompContainer</a>.</p> <p>Referenced by <a class="el" href="omx__base__clock__port_8c_source.html#l00050">base_clock_port_Constructor()</a>.</p> </div> </div> <a class="anchor" id="a75d9e2707dae14f9dc88bd6c925a7935"></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> base_clock_port_SendBufferFunction </td> <td>(</td> <td class="paramtype"><a class="el" href="structomx__base___port_type.html">omx_base_PortType</a> * </td> <td class="paramname"><em>openmaxStandPort</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" 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> * </td> <td class="paramname"><em>pBuffer</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>the entry point for sending buffers to the port </p> <p>This function can be called by the EmptyThisBuffer or FillThisBuffer. It depends on the nature of the port, that can be an input or output port. </p> <p>Definition at line <a class="el" href="omx__base__clock__port_8c_source.html#l00133">133</a> of file <a class="el" href="omx__base__clock__port_8c_source.html">omx_base_clock_port.c</a>.</p> <p>References <a class="el" href="omx__base__component_8h_source.html#l00164">omx_base_component_PrivateType::bMgmtSem</a>, <a class="el" href="omx__base__component_8c_source.html#l00720">checkHeader()</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#l00043">DEB_LEV_PARAMS</a>, <a class="el" href="omx__comp__debug__levels_8h_source.html#l00077">DEBUG</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00065">OMX_PARAM_PORTDEFINITIONTYPE::eDir</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00034">err</a>, <a class="el" href="omx__base__component_8h_source.html#l00164">omx_base_component_PrivateType::name</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00066">OMX_PARAM_PORTDEFINITIONTYPE::nBufferCountActual</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00441">OMX_BUFFERHEADERTYPE::nInputPortIndex</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00439">OMX_BUFFERHEADERTYPE::nOutputPortIndex</a>, <a class="el" href="_o_m_x___component_8h_source.html#l00064">OMX_PARAM_PORTDEFINITIONTYPE::nPortIndex</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00226">OMX_DirInput</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#l00224">OMX_ErrorBadPortIndex</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00215">OMX_ErrorIncorrectStateOperation</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#l00162">OMX_ErrorInvalidState</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00128">OMX_ErrorNone</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#l00107">OMX_StatePause</a>, <a class="el" href="omx__base__component_8h_source.html#l00092">OMX_TransStateExecutingToIdle</a>, <a class="el" href="omx__base__component_8h_source.html#l00094">OMX_TransStatePauseToIdle</a>, <a class="el" href="_o_m_x___types_8h_source.html#l00191">OMX_TRUE</a>, <a class="el" href="_o_m_x___core_8h_source.html#l00402">OMX_BUFFERHEADERTYPE::pBuffer</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__port_8h_source.html#l00142">omx_base_PortType::pInternalBufferStorage</a>, <a class="el" href="omx__base__port_8h_source.html#l00040">PORT_IS_BEING_DISABLED</a>, <a class="el" href="omx__base__port_8h_source.html#l00039">PORT_IS_BEING_FLUSHED</a>, <a class="el" href="omx__base__port_8h_source.html#l00045">PORT_IS_BUFFER_SUPPLIER</a>, <a class="el" href="omx__base__port_8h_source.html#l00041">PORT_IS_ENABLED</a>, <a class="el" href="omx__base__port_8h_source.html#l00043">PORT_IS_TUNNELED</a>, <a class="el" href="omx__base__port_8h_source.html#l00046">PORT_IS_TUNNELED_N_BUFFER_SUPPLIER</a>, <a class="el" href="queue_8c_source.html#l00103">queue()</a>, <a class="el" href="omx__base__port_8h_source.html#l00142">omx_base_PortType::ReturnBufferFunction</a>, <a class="el" href="omx__base__port_8h_source.html#l00142">omx_base_PortType::sPortParam</a>, <a class="el" href="omx__base__port_8h_source.html#l00142">omx_base_PortType::standCompContainer</a>, <a class="el" href="omx__base__component_8h_source.html#l00164">omx_base_component_PrivateType::state</a>, <a class="el" href="omx__base__component_8h_source.html#l00164">omx_base_component_PrivateType::transientState</a>, and <a class="el" href="tsemaphore_8c_source.html#l00110">tsem_up()</a>.</p> <p>Referenced by <a class="el" href="omx__base__clock__port_8c_source.html#l00050">base_clock_port_Constructor()</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>