Sophie

Sophie

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

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: Buffer Management</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><a href="files.html"><span>Files</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('group__buf.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="#enum-members">Enumerations</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Buffer Management</div>  </div>
</div><!--header-->
<div class="contents">
<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="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></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:ga5a4f357f6d6d7ab820f7ba2cf313c0f8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#ga5a4f357f6d6d7ab820f7ba2cf313c0f8">OMX_BUFFERFLAG_EOS</a>&#160;&#160;&#160;0x00000001</td></tr>
<tr class="separator:ga5a4f357f6d6d7ab820f7ba2cf313c0f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77e8ba354801a3ccd85941eb6840d440"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#ga77e8ba354801a3ccd85941eb6840d440">OMX_BUFFERFLAG_STARTTIME</a>&#160;&#160;&#160;0x00000002</td></tr>
<tr class="separator:ga77e8ba354801a3ccd85941eb6840d440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae9b23a333330d466c6ec7b9a1fd65da0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#gae9b23a333330d466c6ec7b9a1fd65da0">OMX_BUFFERFLAG_DECODEONLY</a>&#160;&#160;&#160;0x00000004</td></tr>
<tr class="separator:gae9b23a333330d466c6ec7b9a1fd65da0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f4520bfbd54078acac2bbf0036e500c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#ga1f4520bfbd54078acac2bbf0036e500c">OMX_BUFFERFLAG_CODECCONFIG</a>&#160;&#160;&#160;0x00000080</td></tr>
<tr class="separator:ga1f4520bfbd54078acac2bbf0036e500c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa75127f343d613839e17c3311807bec6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#gaa75127f343d613839e17c3311807bec6">OMX_UseBuffer</a>(hComponent,ppBufferHdr,nPortIndex,pAppPrivate,nSizeBytes,pBuffer)</td></tr>
<tr class="separator:gaa75127f343d613839e17c3311807bec6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga95a58c5e4cf8254a2f18bbdc2bafe914"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#ga95a58c5e4cf8254a2f18bbdc2bafe914">OMX_AllocateBuffer</a>(hComponent,ppBuffer,nPortIndex,pAppPrivate,nSizeBytes)</td></tr>
<tr class="separator:ga95a58c5e4cf8254a2f18bbdc2bafe914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0ea48dc3a069fa6b0166ea8fa2ee6a9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#gac0ea48dc3a069fa6b0166ea8fa2ee6a9">OMX_FreeBuffer</a>(hComponent,nPortIndex,pBuffer)</td></tr>
<tr class="separator:gac0ea48dc3a069fa6b0166ea8fa2ee6a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga355747ceccd12967e93ad24ad7b88f00"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#ga355747ceccd12967e93ad24ad7b88f00">OMX_EmptyThisBuffer</a>(hComponent,pBuffer)</td></tr>
<tr class="separator:ga355747ceccd12967e93ad24ad7b88f00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga713ba75260610072fabcf1b0939d3bd6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#ga713ba75260610072fabcf1b0939d3bd6">OMX_FillThisBuffer</a>(hComponent,pBuffer)</td></tr>
<tr class="separator:ga713ba75260610072fabcf1b0939d3bd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa9d093a08220dd91e4a95f7adbaa30dc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#gaa9d093a08220dd91e4a95f7adbaa30dc">OMX_UseEGLImage</a>(hComponent,ppBufferHdr,nPortIndex,pAppPrivate,eglImage)</td></tr>
<tr class="separator:gaa9d093a08220dd91e4a95f7adbaa30dc"><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:gaf90fde450d26f09596f3aaf0c3f6f002"><td class="memItemLeft" align="right" valign="top">typedef struct <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>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#gaf90fde450d26f09596f3aaf0c3f6f002">OMX_BUFFERHEADERTYPE</a></td></tr>
<tr class="separator:gaf90fde450d26f09596f3aaf0c3f6f002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa3f262ed0970ff400b1b5841db0e7964"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__buf.html#ga794922c5b300e5acec13b1dcccd09e4b">OMX_BUFFERSUPPLIERTYPE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#gaa3f262ed0970ff400b1b5841db0e7964">OMX_BUFFERSUPPLIERTYPE</a></td></tr>
<tr class="separator:gaa3f262ed0970ff400b1b5841db0e7964"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga794922c5b300e5acec13b1dcccd09e4b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__buf.html#ga794922c5b300e5acec13b1dcccd09e4b">OMX_BUFFERSUPPLIERTYPE</a> { <br />
&#160;&#160;<a class="el" href="group__buf.html#gga794922c5b300e5acec13b1dcccd09e4badb0dd8e4aa6a020fb1aa13df7985a94a">OMX_BufferSupplyUnspecified</a> = 0x0, 
<a class="el" href="group__buf.html#gga794922c5b300e5acec13b1dcccd09e4ba74b9358525a276881e5baa6cf79e79fb">OMX_BufferSupplyInput</a>, 
<a class="el" href="group__buf.html#gga794922c5b300e5acec13b1dcccd09e4ba6c07d21520b6d3c847882383e0355c2c">OMX_BufferSupplyOutput</a>, 
<a class="el" href="group__buf.html#gga794922c5b300e5acec13b1dcccd09e4bacaca1bfe87128a437a43c7bbf02f6b2c">OMX_BufferSupplyKhronosExtensions</a> = 0x6F000000, 
<br />
&#160;&#160;<a class="el" href="group__buf.html#gga794922c5b300e5acec13b1dcccd09e4ba0d160069d9847478fef861174149a95d">OMX_BufferSupplyVendorStartUnused</a> = 0x7F000000, 
<a class="el" href="group__buf.html#gga794922c5b300e5acec13b1dcccd09e4bae4aabe0e90f25cafec1b225bc938c630">OMX_BufferSupplyMax</a> = 0x7FFFFFFF
<br />
 }</td></tr>
<tr class="separator:ga794922c5b300e5acec13b1dcccd09e4b"><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:ga12c8b01e7b15e27abe461e6f5ec6cc1e"><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__buf.html#ga12c8b01e7b15e27abe461e6f5ec6cc1e">OMX_COMPONENTTYPE::UseBuffer</a> )(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#ae2413e67d24fdfc2c077685e84c53741">OMX_INOUT</a> <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> **ppBufferHdr, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppPrivate, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> nSizeBytes, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a3ad7d812ff8ffb968c08e4b7bb04becd">OMX_U8</a> *pBuffer)</td></tr>
<tr class="separator:ga12c8b01e7b15e27abe461e6f5ec6cc1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c1edc85577d36e53c8ca1d3852a3638"><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__buf.html#ga2c1edc85577d36e53c8ca1d3852a3638">OMX_COMPONENTTYPE::AllocateBuffer</a> )(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#ae2413e67d24fdfc2c077685e84c53741">OMX_INOUT</a> <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> **ppBuffer, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppPrivate, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> nSizeBytes)</td></tr>
<tr class="separator:ga2c1edc85577d36e53c8ca1d3852a3638"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7085000f9f7021871078c0dcd27c07ae"><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__buf.html#ga7085000f9f7021871078c0dcd27c07ae">OMX_COMPONENTTYPE::FreeBuffer</a> )(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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="separator:ga7085000f9f7021871078c0dcd27c07ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaddab9204cf2616331495801e1ba53317"><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__buf.html#gaddab9204cf2616331495801e1ba53317">OMX_COMPONENTTYPE::EmptyThisBuffer</a> )(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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="separator:gaddab9204cf2616331495801e1ba53317"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf4a321a8054eb3f69ceed82bf8dedcc5"><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__buf.html#gaf4a321a8054eb3f69ceed82bf8dedcc5">OMX_COMPONENTTYPE::FillThisBuffer</a> )(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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="separator:gaf4a321a8054eb3f69ceed82bf8dedcc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaafe5f95cb766d81c7e7ae4a85fb7b53d"><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__buf.html#gaafe5f95cb766d81c7e7ae4a85fb7b53d">OMX_COMPONENTTYPE::UseEGLImage</a> )(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#ae2413e67d24fdfc2c077685e84c53741">OMX_INOUT</a> <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> **ppBufferHdr, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppPrivate, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> void *eglImage)</td></tr>
<tr class="separator:gaafe5f95cb766d81c7e7ae4a85fb7b53d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae4f50ad1c6832dfffdaa0857e1b4a0b"><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__buf.html#gaae4f50ad1c6832dfffdaa0857e1b4a0b">OMX_CALLBACKTYPE::EmptyBufferDone</a> )(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppData, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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="separator:gaae4f50ad1c6832dfffdaa0857e1b4a0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga078ff1a5f896e591f37b7e6db985729f"><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__buf.html#ga078ff1a5f896e591f37b7e6db985729f">OMX_CALLBACKTYPE::FillBufferDone</a> )(<a class="el" href="_o_m_x___types_8h.html#ad6f8c05c2b49042f9051e1f3fce7b28c">OMX_OUT</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#ad6f8c05c2b49042f9051e1f3fce7b28c">OMX_OUT</a> <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppData, <a class="el" href="_o_m_x___types_8h.html#ad6f8c05c2b49042f9051e1f3fce7b28c">OMX_OUT</a> <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="separator:ga078ff1a5f896e591f37b7e6db985729f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Buffer handling functions and structures </p>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga95a58c5e4cf8254a2f18bbdc2bafe914"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_AllocateBuffer</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">hComponent, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">ppBuffer, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">nPortIndex, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pAppPrivate, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">nSizeBytes&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((<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>*)hComponent)-&gt;AllocateBuffer(       \</div>
<div class="line">        hComponent,                                         \</div>
<div class="line">        ppBuffer,                                           \</div>
<div class="line">        nPortIndex,                                         \</div>
<div class="line">        pAppPrivate,                                        \</div>
<div class="line">        nSizeBytes)                     <span class="comment">/* Macro End */</span></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>The OMX_AllocateBuffer macro will request that the component allocate a new buffer and buffer header. The component will allocate the buffer and the buffer header and return a pointer to the buffer header. This is a blocking call.</p>
<p>The component should return from this call within 5 msec.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">hComponent</td><td>Handle of the component to be accessed. This is the component handle returned by the call to the OMX_GetHandle function. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ppBuffer</td><td>pointer to an <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> structure used to receive the pointer to the buffer header </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nPortIndex</td><td>nPortIndex is used to select the port on the component the buffer will be used with. The port can be found by using the nPortIndex value as an index into the Port Definition array of the component. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pAppPrivate</td><td>pAppPrivate is used to initialize the pAppPrivate member of the buffer header structure. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nSizeBytes</td><td>size of the buffer to allocate. Used when bAllocateNew is true. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ERRORTYPE If the command successfully executes, the return code will be OMX_ErrorNone. Otherwise the appropriate OMX error will be returned. </dd></dl>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l01028">1028</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

<p>Referenced by <a class="el" href="omxaudiomixertest_8c_source.html#l00080">main()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1f4520bfbd54078acac2bbf0036e500c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_BUFFERFLAG_CODECCONFIG&#160;&#160;&#160;0x00000080</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Codec Config Buffer Flag: OMX_BUFFERFLAG_CODECCONFIG is an optional flag that is set by an output port when all bytes in the buffer form part or all of a set of codec specific configuration data. Examples include SPS/PPS nal units for OMX_VIDEO_CodingAVC or AudioSpecificConfig data for OMX_AUDIO_CodingAAC. Any component that for a given stream sets OMX_BUFFERFLAG_CODECCONFIG shall not mix codec configuration bytes with frame data in the same buffer, and shall send all buffers containing codec configuration bytes before any buffers containing frame data that those configurations bytes describe. If the stream format for a particular codec has a frame specific header at the start of each frame, for example OMX_AUDIO_CodingMP3 or OMX_AUDIO_CodingAAC in ADTS mode, then these shall be presented as normal without setting OMX_BUFFERFLAG_CODECCONFIG. </p>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l00393">393</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

</div>
</div>
<a class="anchor" id="gae9b23a333330d466c6ec7b9a1fd65da0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_BUFFERFLAG_DECODEONLY&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Decode Only Buffer Flag:</p>
<p>The source of a stream (e.g. a demux component) sets the DECODEONLY flag on any buffer that should shall be decoded but should not be displayed. This flag is used, for instance, when a source seeks to a target interframe that requires the decode of frames preceding the target to facilitate the target's reconstruction. In this case the source would emit the frames preceding the target downstream but mark them as decode only.</p>
<p>The DECODEONLY is associated with buffer data and propagated in a manner identical to the buffer timestamp.</p>
<p>A component that renders data should ignore all buffers with the DECODEONLY flag set. </p>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l00349">349</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

</div>
</div>
<a class="anchor" id="ga5a4f357f6d6d7ab820f7ba2cf313c0f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_BUFFERFLAG_EOS&#160;&#160;&#160;0x00000001</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>End of Stream Buffer Flag:</p>
<p>A component sets EOS when it has no more data to emit on a particular output port. Thus an output port shall set EOS on the last buffer it emits. A component's determination of when an output port should cease sending data is implemenation specific. </p>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l00299">299</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

<p>Referenced by <a class="el" href="omxaudiomixertest_8c_source.html#l00504">audiomixerEmptyBufferDone()</a>, <a class="el" href="omxaudiomixertest_8c_source.html#l00453">audiomixerEventHandler()</a>, <a class="el" href="omx__audiomixer__component_8c_source.html#l00399">omx_audio_mixer_BufferMgmtFunction()</a>, <a class="el" href="omx__base__filter_8c_source.html#l00083">omx_base_filter_BufferMgmtFunction()</a>, <a class="el" href="omx__base__sink_8c_source.html#l00067">omx_base_sink_BufferMgmtFunction()</a>, <a class="el" href="omx__base__sink_8c_source.html#l00206">omx_base_sink_twoport_BufferMgmtFunction()</a>, <a class="el" href="omx__base__source_8c_source.html#l00068">omx_base_source_BufferMgmtFunction()</a>, <a class="el" href="omx__base__source_8c_source.html#l00211">omx_base_source_twoport_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#l00168">omx_video_scheduler_component_port_SendBufferFunction()</a>, <a class="el" href="omxvolcontroltest_8c_source.html#l00388">volcEmptyBufferDone()</a>, and <a class="el" href="omxvolcontroltest_8c_source.html#l00338">volcEventHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga77e8ba354801a3ccd85941eb6840d440"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_BUFFERFLAG_STARTTIME&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Start Time Buffer Flag:</p>
<p>The source of a stream (e.g. a demux component) sets the STARTTIME flag on the buffer that contains the starting timestamp for the stream. The starting timestamp corresponds to the first data that should be displayed at startup or after a seek. The first timestamp of the stream is not necessarily the start time. For instance, in the case of a seek to a particular video frame, the target frame may be an interframe. Thus the first buffer of the stream will be the intra-frame preceding the target frame and the starttime will occur with the target frame (with any other required frames required to reconstruct the target intervening).</p>
<p>The STARTTIME flag is directly associated with the buffer's timestamp ' thus its association to buffer data and its propagation is identical to the timestamp's.</p>
<p>When a Sync Component client receives a buffer with the STARTTIME flag it shall perform a SetConfig on its sync port using OMX_ConfigTimeClientStartTime and passing the buffer's timestamp. </p>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l00326">326</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__filter_8c_source.html#l00083">omx_base_filter_BufferMgmtFunction()</a>, and <a class="el" href="omx__video__scheduler__component_8c_source.html#l00272">omx_video_scheduler_component_ClockPortHandleFunction()</a>.</p>

</div>
</div>
<a class="anchor" id="ga355747ceccd12967e93ad24ad7b88f00"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_EmptyThisBuffer</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">hComponent, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pBuffer&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((<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>*)hComponent)-&gt;EmptyThisBuffer(      \</div>
<div class="line">        hComponent,                                         \</div>
<div class="line">        pBuffer)                        <span class="comment">/* Macro End */</span></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>The OMX_EmptyThisBuffer macro will send a buffer full of data to an input port of a component. The buffer will be emptied by the component and returned to the application via the EmptyBufferDone call back. This is a non-blocking call in that the component will record the buffer and return immediately and then empty the buffer, later, at the proper time. As expected, this macro may be invoked only while the component is in the OMX_StateExecuting. If nPortIndex does not specify an input port, the component shall return an error.</p>
<p>The component should return from this call within 5 msec.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">hComponent</td><td>Handle of the component to be accessed. This is the component handle returned by the call to the OMX_GetHandle function. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pBuffer</td><td>pointer to an <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> structure allocated with UseBuffer or AllocateBuffer. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ERRORTYPE If the command successfully executes, the return code will be OMX_ErrorNone. Otherwise the appropriate OMX error will be returned. </dd></dl>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l01096">1096</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

<p>Referenced by <a class="el" href="omxaudiomixertest_8c_source.html#l00504">audiomixerEmptyBufferDone()</a>, <a class="el" href="omxaudiomixertest_8c_source.html#l00080">main()</a>, and <a class="el" href="omxvolcontroltest_8c_source.html#l00388">volcEmptyBufferDone()</a>.</p>

</div>
</div>
<a class="anchor" id="ga713ba75260610072fabcf1b0939d3bd6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_FillThisBuffer</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">hComponent, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pBuffer&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((<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>*)hComponent)-&gt;FillThisBuffer(       \</div>
<div class="line">        hComponent,                                         \</div>
<div class="line">        pBuffer)                        <span class="comment">/* Macro End */</span></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>The OMX_FillThisBuffer macro will send an empty buffer to an output port of a component. The buffer will be filled by the component and returned to the application via the FillBufferDone call back. This is a non-blocking call in that the component will record the buffer and return immediately and then fill the buffer, later, at the proper time. As expected, this macro may be invoked only while the component is in the OMX_ExecutingState. If nPortIndex does not specify an output port, the component shall return an error.</p>
<p>The component should return from this call within 5 msec.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">hComponent</td><td>Handle of the component to be accessed. This is the component handle returned by the call to the OMX_GetHandle function. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pBuffer</td><td>pointer to an <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> structure allocated with UseBuffer or AllocateBuffer. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ERRORTYPE If the command successfully executes, the return code will be OMX_ErrorNone. Otherwise the appropriate OMX error will be returned. </dd></dl>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l01126">1126</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

<p>Referenced by <a class="el" href="omxaudiomixertest_8c_source.html#l00552">audiomixerFillBufferDone()</a>, <a class="el" href="omxaudiomixertest_8c_source.html#l00080">main()</a>, and <a class="el" href="omxvolcontroltest_8c_source.html#l00424">volcFillBufferDone()</a>.</p>

</div>
</div>
<a class="anchor" id="gac0ea48dc3a069fa6b0166ea8fa2ee6a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_FreeBuffer</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">hComponent, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">nPortIndex, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pBuffer&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((<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>*)hComponent)-&gt;FreeBuffer(           \</div>
<div class="line">        hComponent,                                         \</div>
<div class="line">        nPortIndex,                                         \</div>
<div class="line">        pBuffer)                        <span class="comment">/* Macro End */</span></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>The OMX_FreeBuffer macro will release a buffer header from the component which was allocated using either OMX_AllocateBuffer or OMX_UseBuffer. If the component allocated the buffer (see the OMX_UseBuffer macro) then the component shall free the buffer and buffer header. This is a blocking call.</p>
<p>The component should return from this call within 20 msec.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">hComponent</td><td>Handle of the component to be accessed. This is the component handle returned by the call to the OMX_GetHandle function. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nPortIndex</td><td>nPortIndex is used to select the port on the component the buffer will be used with. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pBuffer</td><td>pointer to an <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> structure allocated with UseBuffer or AllocateBuffer. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ERRORTYPE If the command successfully executes, the return code will be OMX_ErrorNone. Otherwise the appropriate OMX error will be returned. </dd></dl>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l01064">1064</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__port_8c_source.html#l00741">base_port_FreeTunnelBuffer()</a>, and <a class="el" href="omxaudiomixertest_8c_source.html#l00080">main()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa75127f343d613839e17c3311807bec6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_UseBuffer</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">hComponent, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">ppBufferHdr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">nPortIndex, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pAppPrivate, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">nSizeBytes, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pBuffer&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((<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>*)hComponent)-&gt;UseBuffer(            \</div>
<div class="line">           hComponent,                                      \</div>
<div class="line">           ppBufferHdr,                                     \</div>
<div class="line">           nPortIndex,                                      \</div>
<div class="line">           pAppPrivate,                                     \</div>
<div class="line">           nSizeBytes,                                      \</div>
<div class="line">           pBuffer)</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>The OMX_UseBuffer macro will request that the component use a buffer (and allocate its own buffer header) already allocated by another component, or by the IL Client. This is a blocking call.</p>
<p>The component should return from this call within 20 msec.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">hComponent</td><td>Handle of the component to be accessed. This is the component handle returned by the call to the OMX_GetHandle function. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ppBuffer</td><td>pointer to an <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> structure used to receive the pointer to the buffer header </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ERRORTYPE If the command successfully executes, the return code will be OMX_ErrorNone. Otherwise the appropriate OMX error will be returned. </dd></dl>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l00985">985</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__port_8c_source.html#l00613">base_port_AllocateTunnelBuffer()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa9d093a08220dd91e4a95f7adbaa30dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define OMX_UseEGLImage</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">hComponent, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">ppBufferHdr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">nPortIndex, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pAppPrivate, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">eglImage&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((<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>*)hComponent)-&gt;UseEGLImage(          \</div>
<div class="line">           hComponent,                                      \</div>
<div class="line">           ppBufferHdr,                                     \</div>
<div class="line">           nPortIndex,                                      \</div>
<div class="line">           pAppPrivate,                                     \</div>
<div class="line">           eglImage)</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>The OMX_UseEGLImage macro will request that the component use a EGLImage provided by EGL (and allocate its own buffer header) This is a blocking call.</p>
<p>The component should return from this call within 20 msec.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">hComponent</td><td>Handle of the component to be accessed. This is the component handle returned by the call to the OMX_GetHandle function. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ppBuffer</td><td>pointer to an <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> structure used to receive the pointer to the buffer header. Note that the memory location used for this buffer is NOT visible to the IL Client. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nPortIndex</td><td>nPortIndex is used to select the port on the component the buffer will be used with. The port can be found by using the nPortIndex value as an index into the Port Definition array of the component. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pAppPrivate</td><td>pAppPrivate is used to initialize the pAppPrivate member of the buffer header structure. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">eglImage</td><td>eglImage contains the handle of the EGLImage to use as a buffer on the specified port. The component is expected to validate properties of the EGLImage against the configuration of the port to ensure the component can use the EGLImage as a buffer. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>OMX_ERRORTYPE If the command successfully executes, the return code will be OMX_ErrorNone. Otherwise the appropriate OMX error will be returned. </dd></dl>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l01165">1165</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="gaf90fde450d26f09596f3aaf0c3f6f002"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <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>  <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>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="gaa3f262ed0970ff400b1b5841db0e7964"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="group__buf.html#ga794922c5b300e5acec13b1dcccd09e4b">OMX_BUFFERSUPPLIERTYPE</a>  <a class="el" href="group__buf.html#ga794922c5b300e5acec13b1dcccd09e4b">OMX_BUFFERSUPPLIERTYPE</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The OMX_BUFFERSUPPLIERTYPE enumeration is used to dictate port supplier preference when tunneling between two ports. </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga794922c5b300e5acec13b1dcccd09e4b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__buf.html#ga794922c5b300e5acec13b1dcccd09e4b">OMX_BUFFERSUPPLIERTYPE</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The OMX_BUFFERSUPPLIERTYPE enumeration is used to dictate port supplier preference when tunneling between two ports. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga794922c5b300e5acec13b1dcccd09e4badb0dd8e4aa6a020fb1aa13df7985a94a"></a>OMX_BufferSupplyUnspecified&#160;</td><td class="fielddoc">
<p>port supplying the buffers is unspecified, or don't care </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga794922c5b300e5acec13b1dcccd09e4ba74b9358525a276881e5baa6cf79e79fb"></a>OMX_BufferSupplyInput&#160;</td><td class="fielddoc">
<p>input port supplies the buffers </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga794922c5b300e5acec13b1dcccd09e4ba6c07d21520b6d3c847882383e0355c2c"></a>OMX_BufferSupplyOutput&#160;</td><td class="fielddoc">
<p>output port supplies the buffers </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga794922c5b300e5acec13b1dcccd09e4bacaca1bfe87128a437a43c7bbf02f6b2c"></a>OMX_BufferSupplyKhronosExtensions&#160;</td><td class="fielddoc">
<p>Reserved region for introducing Khronos Standard Extensions </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga794922c5b300e5acec13b1dcccd09e4ba0d160069d9847478fef861174149a95d"></a>OMX_BufferSupplyVendorStartUnused&#160;</td><td class="fielddoc">
<p>Reserved region for introducing Vendor Extensions </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga794922c5b300e5acec13b1dcccd09e4bae4aabe0e90f25cafec1b225bc938c630"></a>OMX_BufferSupplyMax&#160;</td><td class="fielddoc">
</td></tr>
</table>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l00600">600</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="ga2c1edc85577d36e53c8ca1d3852a3638"></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_COMPONENTTYPE::AllocateBuffer)(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#ae2413e67d24fdfc2c077685e84c53741">OMX_INOUT</a> <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> **ppBuffer, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppPrivate, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> nSizeBytes)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>refer to OMX_AllocateBuffer in OMX_core.h or the OMX IL specification for details on the AllocateBuffer method. </p>

<p>Definition at line <a class="el" href="_o_m_x___component_8h_source.html#l00490">490</a> of file <a class="el" href="_o_m_x___component_8h_source.html">OMX_Component.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__component_8c_source.html#l00095">omx_base_component_Constructor()</a>.</p>

</div>
</div>
<a class="anchor" id="gaae4f50ad1c6832dfffdaa0857e1b4a0b"></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_CALLBACKTYPE::EmptyBufferDone)(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppData, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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>
      </table>
</div><div class="memdoc">
<p>The EmptyBufferDone method is used to return emptied buffers from an input port back to the application for reuse. This is a blocking call so the application should not attempt to refill the buffers during this call, but should queue them and refill them in another thread. There is no error return, so the application shall handle any errors generated internally.</p>
<p>The application should return from this call within 5 msec.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">hComponent</td><td>handle of the component to access. This is the component handle returned by the call to the GetHandle function. </td></tr>
    <tr><td class="paramname">pAppData</td><td>pointer to an application defined value that was provided in the pAppData parameter to the OMX_GetHandle method for the component. This application defined value is provided so that the application can have a component specific context when receiving the callback. </td></tr>
    <tr><td class="paramname">pBuffer</td><td>pointer to an <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> structure allocated with UseBuffer or AllocateBuffer indicating the buffer that was emptied. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l00560">560</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__component_8c_source.html#l00857">omx_base_component_SetCallbacks()</a>.</p>

</div>
</div>
<a class="anchor" id="gaddab9204cf2616331495801e1ba53317"></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_COMPONENTTYPE::EmptyThisBuffer)(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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>
      </table>
</div><div class="memdoc">
<p>refer to OMX_EmptyThisBuffer in OMX_core.h or the OMX IL specification for details on the EmptyThisBuffer method. </p>

<p>Definition at line <a class="el" href="_o_m_x___component_8h_source.html#l00510">510</a> of file <a class="el" href="_o_m_x___component_8h_source.html">OMX_Component.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__component_8c_source.html#l00095">omx_base_component_Constructor()</a>.</p>

</div>
</div>
<a class="anchor" id="ga078ff1a5f896e591f37b7e6db985729f"></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_CALLBACKTYPE::FillBufferDone)(<a class="el" href="_o_m_x___types_8h.html#ad6f8c05c2b49042f9051e1f3fce7b28c">OMX_OUT</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#ad6f8c05c2b49042f9051e1f3fce7b28c">OMX_OUT</a> <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppData, <a class="el" href="_o_m_x___types_8h.html#ad6f8c05c2b49042f9051e1f3fce7b28c">OMX_OUT</a> <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>
      </table>
</div><div class="memdoc">
<p>The FillBufferDone method is used to return filled buffers from an output port back to the application for emptying and then reuse. This is a blocking call so the application should not attempt to empty the buffers during this call, but should queue the buffers and empty them in another thread. There is no error return, so the application shall handle any errors generated internally. The application shall also update the buffer header to indicate the number of bytes placed into the buffer.</p>
<p>The application should return from this call within 5 msec.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">hComponent</td><td>handle of the component to access. This is the component handle returned by the call to the GetHandle function. </td></tr>
    <tr><td class="paramname">pAppData</td><td>pointer to an application defined value that was provided in the pAppData parameter to the OMX_GetHandle method for the component. This application defined value is provided so that the application can have a component specific context when receiving the callback. </td></tr>
    <tr><td class="paramname">pBuffer</td><td>pointer to an <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> structure allocated with UseBuffer or AllocateBuffer indicating the buffer that was filled. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_o_m_x___core_8h_source.html#l00589">589</a> of file <a class="el" href="_o_m_x___core_8h_source.html">OMX_Core.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__component_8c_source.html#l00857">omx_base_component_SetCallbacks()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf4a321a8054eb3f69ceed82bf8dedcc5"></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_COMPONENTTYPE::FillThisBuffer)(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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>
      </table>
</div><div class="memdoc">
<p>refer to OMX_FillThisBuffer in OMX_core.h or the OMX IL specification for details on the FillThisBuffer method. </p>

<p>Definition at line <a class="el" href="_o_m_x___component_8h_source.html#l00518">518</a> of file <a class="el" href="_o_m_x___component_8h_source.html">OMX_Component.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__component_8c_source.html#l00095">omx_base_component_Constructor()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7085000f9f7021871078c0dcd27c07ae"></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_COMPONENTTYPE::FreeBuffer)(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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>
      </table>
</div><div class="memdoc">
<p>refer to OMX_FreeBuffer in OMX_core.h or the OMX IL specification for details on the FreeBuffer method. </p>

<p>Definition at line <a class="el" href="_o_m_x___component_8h_source.html#l00501">501</a> of file <a class="el" href="_o_m_x___component_8h_source.html">OMX_Component.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__component_8c_source.html#l00095">omx_base_component_Constructor()</a>.</p>

</div>
</div>
<a class="anchor" id="ga12c8b01e7b15e27abe461e6f5ec6cc1e"></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_COMPONENTTYPE::UseBuffer)(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#ae2413e67d24fdfc2c077685e84c53741">OMX_INOUT</a> <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> **ppBufferHdr, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppPrivate, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a04983f4ca9c7876035dffc578597eae3">OMX_U32</a> nSizeBytes, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a3ad7d812ff8ffb968c08e4b7bb04becd">OMX_U8</a> *pBuffer)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>refer to OMX_UseBuffer in OMX_core.h or the OMX IL specification for details on the UseBuffer method. </p>

<p>Definition at line <a class="el" href="_o_m_x___component_8h_source.html#l00478">478</a> of file <a class="el" href="_o_m_x___component_8h_source.html">OMX_Component.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__component_8c_source.html#l00095">omx_base_component_Constructor()</a>.</p>

</div>
</div>
<a class="anchor" id="gaafe5f95cb766d81c7e7ae4a85fb7b53d"></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_COMPONENTTYPE::UseEGLImage)(<a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a7b426d7bc825bf8a56ee39dc3c217af7">OMX_HANDLETYPE</a> hComponent, <a class="el" href="_o_m_x___types_8h.html#ae2413e67d24fdfc2c077685e84c53741">OMX_INOUT</a> <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> **ppBufferHdr, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <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#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> <a class="el" href="_o_m_x___types_8h.html#a52f5626b11279ed9a6ce8731abc365be">OMX_PTR</a> pAppPrivate, <a class="el" href="_o_m_x___types_8h.html#a9f94ed9e467960d51f3b1da3a4ebf55c">OMX_IN</a> void *eglImage)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_o_m_x___component_8h_source.html#l00560">560</a> of file <a class="el" href="_o_m_x___component_8h_source.html">OMX_Component.h</a>.</p>

<p>Referenced by <a class="el" href="omx__base__component_8c_source.html#l00095">omx_base_component_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&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>