Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 874255f3b26b44feb57fbe38a7384518 > files > 152

gmerlin-0.4.1-2mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>gmerlin: /home/mandrake/rpm/BUILD/gmerlin-0.4.1/include/gmerlin/filters.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_9de5cad15617e449f29680677e022ed8.html">include</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_4a3f2046eda2c9424010fb7393a61021.html">gmerlin</a>
  </div>
</div>
<div class="contents">
<h1>filters.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*****************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> * gmerlin - a general purpose multimedia framework and applications</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (c) 2001 - 2008 Members of the Gmerlin project</span>
<a name="l00005"></a>00005 <span class="comment"> * gmerlin-general@lists.sourceforge.net</span>
<a name="l00006"></a>00006 <span class="comment"> * http://gmerlin.sourceforge.net</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> * This program is free software: you can redistribute it and/or modify</span>
<a name="l00009"></a>00009 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
<a name="l00010"></a>00010 <span class="comment"> * the Free Software Foundation, either version 2 of the License, or</span>
<a name="l00011"></a>00011 <span class="comment"> * (at your option) any later version.</span>
<a name="l00012"></a>00012 <span class="comment"> *</span>
<a name="l00013"></a>00013 <span class="comment"> * This program is distributed in the hope that it will be useful,</span>
<a name="l00014"></a>00014 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00015"></a>00015 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00016"></a>00016 <span class="comment"> * GNU General Public License for more details.</span>
<a name="l00017"></a>00017 <span class="comment"> *</span>
<a name="l00018"></a>00018 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
<a name="l00019"></a>00019 <span class="comment"> * along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span>
<a name="l00020"></a>00020 <span class="comment"> * *****************************************************************/</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;<a class="codeRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//gavl_8h.html">gavl/gavl.h</a>&gt;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;gmerlin/bggavl.h&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;gmerlin/plugin.h&gt;</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 
<a name="l00041"></a><a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52">00041</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>bg_audio_filter_chain_s <a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a>;
<a name="l00042"></a>00042 
<a name="l00049"></a><a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b">00049</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>bg_video_filter_chain_s <a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a>;
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="comment">/* Audio */</span>
<a name="l00052"></a>00052 
<a name="l00060"></a>00060 <a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> *
<a name="l00061"></a>00061 <a class="code" href="group__filter__chain.html#g39c0e1088b59d21f2d00376ca21b1d8f" title="Create an audio filter chain.">bg_audio_filter_chain_create</a>(<span class="keyword">const</span> bg_gavl_audio_options_t * opt,
<a name="l00062"></a>00062                              <a class="code" href="group__plugin__registry.html#g7470a35f2437f3fbc9762587d3fe7142" title="Opaque handle for a plugin registry.">bg_plugin_registry_t</a> * plugin_reg);
<a name="l00063"></a>00063 
<a name="l00072"></a>00072 <span class="keyword">const</span> <a class="code" href="structbg__parameter__info__s.html" title="Parmeter description.">bg_parameter_info_t</a> *
<a name="l00073"></a>00073 <a class="code" href="group__filter__chain.html#g74ba2dbde5ef5738f4e4222fda7939b1" title="Return parameters.">bg_audio_filter_chain_get_parameters</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch);
<a name="l00074"></a>00074 
<a name="l00085"></a>00085 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#gd815388df7631570dce86030998d2a4b" title="Set a parameter for an audio chain.">bg_audio_filter_chain_set_parameter</a>(<span class="keywordtype">void</span> * data,
<a name="l00086"></a>00086                                          <span class="keyword">const</span> <span class="keywordtype">char</span> * name,
<a name="l00087"></a>00087                                          <span class="keyword">const</span> <a class="code" href="unionbg__parameter__value__t.html" title="Container for a parameter value.">bg_parameter_value_t</a> * val);
<a name="l00088"></a>00088 
<a name="l00098"></a>00098 <span class="keywordtype">int</span> <a class="code" href="group__filter__chain.html#gf8028d9f96cdff42d43b98290b476646" title="Check if an audio filter chain needs to be rebuilt.">bg_audio_filter_chain_need_rebuild</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch);
<a name="l00099"></a>00099 
<a name="l00109"></a>00109 <span class="keywordtype">int</span> <a class="code" href="group__filter__chain.html#g7b00cdcb2bba416fcebae7fa7401c489" title="Check if an audio filter chain needs to be restarted.">bg_audio_filter_chain_need_restart</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch);
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 
<a name="l00116"></a>00116 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#g26c87950fe2e4d72203794bf086b6bc1" title="Rebuild an audio chain.">bg_audio_filter_chain_rebuild</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch);
<a name="l00117"></a>00117 
<a name="l00127"></a>00127 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#g82a50c9888c67d6615828b04dce7e49c" title="Set input callback of an audio filter chain.">bg_audio_filter_chain_connect_input</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch,
<a name="l00128"></a>00128                                          <a class="code" href="group__plugin.html#gf3ade316707ab6bd66d55dcf60403b3d" title="Generic prototype for reading audio.">bg_read_audio_func_t</a> func,
<a name="l00129"></a>00129                                          <span class="keywordtype">void</span> * priv,
<a name="l00130"></a>00130                                          <span class="keywordtype">int</span> stream);
<a name="l00131"></a>00131 
<a name="l00138"></a>00138 <span class="keywordtype">int</span> <a class="code" href="group__filter__chain.html#g7c846f0ecaff5d0459ac58c89e740441" title="Initialize an audio filter chain.">bg_audio_filter_chain_init</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch,
<a name="l00139"></a>00139                                <span class="keyword">const</span> <a class="codeRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//structgavl__audio__format__s.html">gavl_audio_format_t</a> * in_format,
<a name="l00140"></a>00140                                <a class="codeRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//structgavl__audio__format__s.html">gavl_audio_format_t</a> * out_format);
<a name="l00141"></a>00141 
<a name="l00151"></a>00151 <span class="keywordtype">int</span> <a class="code" href="group__filter__chain.html#gd8bae202495f153308e9eb1d987854a9" title="Set output format of an audio filter chain.">bg_audio_filter_chain_set_out_format</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch,
<a name="l00152"></a>00152                                           <span class="keyword">const</span> <a class="codeRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//structgavl__audio__format__s.html">gavl_audio_format_t</a> * out_format);
<a name="l00153"></a>00153 
<a name="l00162"></a>00162 <span class="keywordtype">int</span> <a class="code" href="group__filter__chain.html#g78f053c1ec9ddc855b97368ceac2208a" title="Read a audio samples from an audio filter chain.">bg_audio_filter_chain_read</a>(<span class="keywordtype">void</span> * priv, <a class="codeRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//structgavl__audio__frame__s.html">gavl_audio_frame_t</a>* frame,
<a name="l00163"></a>00163                                <span class="keywordtype">int</span> stream,
<a name="l00164"></a>00164                                <span class="keywordtype">int</span> num_samples);
<a name="l00165"></a>00165 
<a name="l00170"></a>00170 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#g241d064edd0662c6f6ce1f0d6ce95512" title="Destroy an audio filter chain.">bg_audio_filter_chain_destroy</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch);
<a name="l00171"></a>00171 
<a name="l00179"></a>00179 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#g51257070794f00016eed879c6514f1ec" title="Lock an audio filter chain.">bg_audio_filter_chain_lock</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch);
<a name="l00180"></a>00180 
<a name="l00188"></a>00188 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#gfcf5a49c76ac10346fc96770f7397650" title="Unlock an audio filter chain.">bg_audio_filter_chain_unlock</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch);
<a name="l00189"></a>00189 
<a name="l00196"></a>00196 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#gc3281a7c5530acf528ebfb9f29c68a98" title="Reset an audio filter chain.">bg_audio_filter_chain_reset</a>(<a class="code" href="group__filter__chain.html#gc6c5789a65e623aee471836c9c256c52" title="Audio filter chain.">bg_audio_filter_chain_t</a> * ch);
<a name="l00197"></a>00197 
<a name="l00198"></a>00198 <span class="comment">/* Video */</span>
<a name="l00199"></a>00199 
<a name="l00207"></a>00207 <a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> *
<a name="l00208"></a>00208 <a class="code" href="group__filter__chain.html#g8335aa715086ffe5fddc9a76640e9705" title="Create a video filter chain.">bg_video_filter_chain_create</a>(<span class="keyword">const</span> bg_gavl_video_options_t * opt,
<a name="l00209"></a>00209                              <a class="code" href="group__plugin__registry.html#g7470a35f2437f3fbc9762587d3fe7142" title="Opaque handle for a plugin registry.">bg_plugin_registry_t</a> * plugin_reg);
<a name="l00210"></a>00210 
<a name="l00219"></a>00219 <span class="keyword">const</span> <a class="code" href="structbg__parameter__info__s.html" title="Parmeter description.">bg_parameter_info_t</a> *
<a name="l00220"></a>00220 <a class="code" href="group__filter__chain.html#g7629731879074271526909d96319f77b" title="Return parameters.">bg_video_filter_chain_get_parameters</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch);
<a name="l00221"></a>00221 
<a name="l00233"></a>00233 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#ge564dadf5ef2f41b284983b737bf68db" title="Set a parameter for a video chain.">bg_video_filter_chain_set_parameter</a>(<span class="keywordtype">void</span> * data, <span class="keyword">const</span> <span class="keywordtype">char</span> * name,
<a name="l00234"></a>00234                                          <span class="keyword">const</span> <a class="code" href="unionbg__parameter__value__t.html" title="Container for a parameter value.">bg_parameter_value_t</a> * val);
<a name="l00235"></a>00235 
<a name="l00245"></a>00245 <span class="keywordtype">int</span> <a class="code" href="group__filter__chain.html#gb67fd069263093f26ead8cae427a2487" title="Check if a video filter chain needs to be rebuilt.">bg_video_filter_chain_need_rebuild</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch);
<a name="l00246"></a>00246 
<a name="l00256"></a>00256 <span class="keywordtype">int</span> <a class="code" href="group__filter__chain.html#ga7b0f5f1785882f9c3f388ccb56c15b3" title="Check if a video filter chain needs to be restarted.">bg_video_filter_chain_need_restart</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch);
<a name="l00257"></a>00257 
<a name="l00258"></a>00258 
<a name="l00263"></a>00263 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#gc7882a80aa4a2f29374999d8bd916cc5" title="Rebuild a video chain.">bg_video_filter_chain_rebuild</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch);
<a name="l00264"></a>00264 
<a name="l00265"></a>00265 
<a name="l00266"></a>00266 
<a name="l00276"></a>00276 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#gdb3b8cb378b3049c566245a1eebeec62" title="Set input callback of a video filter chain.">bg_video_filter_chain_connect_input</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch,
<a name="l00277"></a>00277                                          <a class="code" href="group__plugin.html#gdc25c1f00af83f18062dcf72af04374d" title="Generic prototype for reading video.">bg_read_video_func_t</a> func,
<a name="l00278"></a>00278                                          <span class="keywordtype">void</span> * priv, <span class="keywordtype">int</span> stream);
<a name="l00279"></a>00279 
<a name="l00286"></a>00286 <span class="keywordtype">int</span> <a class="code" href="group__filter__chain.html#ge85118a8e7733dabbfc331f09d84047e" title="Initialize a video filter chain.">bg_video_filter_chain_init</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch,
<a name="l00287"></a>00287                                <span class="keyword">const</span> <a class="codeRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//structgavl__video__format__s.html">gavl_video_format_t</a> * in_format,
<a name="l00288"></a>00288                                <a class="codeRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//structgavl__video__format__s.html">gavl_video_format_t</a> * out_format);
<a name="l00289"></a>00289 
<a name="l00298"></a>00298 <span class="keywordtype">int</span> <a class="code" href="group__filter__chain.html#gf71adaf902033b82a61388000920f98e" title="Set output format of a video filter chain.">bg_video_filter_chain_set_out_format</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch,
<a name="l00299"></a>00299                                           <span class="keyword">const</span> <a class="codeRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//structgavl__video__format__s.html">gavl_video_format_t</a> * out_format);
<a name="l00300"></a>00300 
<a name="l00301"></a>00301 
<a name="l00309"></a>00309 <span class="keywordtype">int</span> <a class="code" href="group__filter__chain.html#gc7c1fa919cebe20fc133b6804628e446" title="Read a video frame from a video filter chain.">bg_video_filter_chain_read</a>(<span class="keywordtype">void</span> * priv, <a class="codeRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//structgavl__video__frame__s.html">gavl_video_frame_t</a>* frame,
<a name="l00310"></a>00310                                <span class="keywordtype">int</span> stream);
<a name="l00311"></a>00311 
<a name="l00316"></a>00316 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#g8fcb9dffbb124f089d273b1d97ec1d67" title="Destroy a video filter chain.">bg_video_filter_chain_destroy</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch);
<a name="l00317"></a>00317 
<a name="l00325"></a>00325 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#g6c04426482a7d960c69e5adab855ed33" title="Lock a video filter chain.">bg_video_filter_chain_lock</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch);
<a name="l00326"></a>00326 
<a name="l00334"></a>00334 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#g9a5aa385017e1c18ba111d76f1736870" title="Unlock a video filter chain.">bg_video_filter_chain_unlock</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch);
<a name="l00335"></a>00335 
<a name="l00342"></a>00342 <span class="keywordtype">void</span> <a class="code" href="group__filter__chain.html#ga3c49573b2cc0b5f768e3937fffb6a00" title="Reset a video filter chain.">bg_video_filter_chain_reset</a>(<a class="code" href="group__filter__chain.html#gc07ef15450d30eb73d4c25c08047a61b" title="Video filter chain.">bg_video_filter_chain_t</a> * ch);
<a name="l00343"></a>00343 
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 22 01:28:04 2009 for gmerlin by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>