Sophie

Sophie

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

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/visualize.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>visualize.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="l00041"></a><a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8">00041</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>bg_visualizer_s <a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a>;
<a name="l00042"></a>00042 
<a name="l00048"></a>00048 <a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a> * <a class="code" href="group__visualize.html#g9eb007e45bf391ef964a479ccbdbf1f8" title="Create a visualizer.">bg_visualizer_create</a>(<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="l00049"></a>00049 
<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="group__visualize.html#gc1123c750a275924ae7a096f80a549b7" title="Destroy a visualizer.">bg_visualizer_destroy</a>(<a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a> * v);
<a name="l00056"></a>00056 
<a name="l00062"></a>00062 <span class="keyword">const</span> <a class="code" href="structbg__parameter__info__s.html" title="Parmeter description.">bg_parameter_info_t</a> * <a class="code" href="group__visualize.html#g494bdf086fb346211c9e89aa030817d2" title="Get the parameters of a visualizer.">bg_visualizer_get_parameters</a>(<a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a>* v);
<a name="l00063"></a>00063 
<a name="l00070"></a>00070 <span class="keywordtype">void</span> <a class="code" href="group__visualize.html#gb18eb80bb31100a091409976345e2410" title="Set a parameter of a visualizer.">bg_visualizer_set_parameter</a>(<span class="keywordtype">void</span> * priv,
<a name="l00071"></a>00071                                  <span class="keyword">const</span> <span class="keywordtype">char</span> * name,
<a name="l00072"></a>00072                                  <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="l00073"></a>00073 
<a name="l00079"></a>00079 <span class="keywordtype">void</span> <a class="code" href="group__visualize.html#g36bec276615d6e0252ba1c3656eb9d35" title="Set the visualization plugin.">bg_visualizer_set_vis_plugin</a>(<a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a> * v,
<a name="l00080"></a>00080                                   <span class="keyword">const</span> <a class="code" href="structbg__plugin__info__s.html" title="Information about a plugin.">bg_plugin_info_t</a> * info);
<a name="l00081"></a>00081 
<a name="l00088"></a>00088 <span class="keywordtype">void</span> <a class="code" href="group__visualize.html#g8f95f6b83b48ff6c67da26c9f4b15507" title="Set a parameter of the visualization plugin.">bg_visualizer_set_vis_parameter</a>(<span class="keywordtype">void</span> * priv,
<a name="l00089"></a>00089                                      <span class="keyword">const</span> <span class="keywordtype">char</span> * name,
<a name="l00090"></a>00090                                      <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="l00091"></a>00091 
<a name="l00098"></a>00098 <span class="keywordtype">void</span> <a class="code" href="group__visualize.html#g6be50cc2a538a1857f0d61c29f84ea9d" title="Open visualization with a video output plugin.">bg_visualizer_open_plugin</a>(<a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a> * v,
<a name="l00099"></a>00099                                <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> * format,
<a name="l00100"></a>00100                                <a class="code" href="structbg__plugin__handle__s.html" title="Handle of a loaded plugin.">bg_plugin_handle_t</a> * ov_handle);
<a name="l00101"></a>00101 
<a name="l00109"></a>00109 <span class="keywordtype">void</span> <a class="code" href="group__visualize.html#g03e29c97ee08052538632b4d7e33c450" title="Open visualization with a plugin info and a window ID.">bg_visualizer_open_id</a>(<a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a> * v,
<a name="l00110"></a>00110                            <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> * format,
<a name="l00111"></a>00111                            <span class="keyword">const</span> <a class="code" href="structbg__plugin__info__s.html" title="Information about a plugin.">bg_plugin_info_t</a> * ov_info,
<a name="l00112"></a>00112                            <span class="keyword">const</span> <span class="keywordtype">char</span> * display_id);
<a name="l00113"></a>00113 
<a name="l00114"></a>00114 <span class="comment">/* Set new audio format without stopping the visualization thread */</span>
<a name="l00115"></a>00115 
<a name="l00124"></a>00124 <span class="keywordtype">void</span> <a class="code" href="group__visualize.html#g2691c1043d66f81ff17311a56cf694f2" title="Set the audio format of a visualizer.">bg_visualizer_set_audio_format</a>(<a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a> * v,
<a name="l00125"></a>00125                                     <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> * format);
<a name="l00126"></a>00126 
<a name="l00132"></a>00132 <span class="keywordtype">void</span> <a class="code" href="group__visualize.html#ga28c2ca243ab8a090c39553cbb303a22" title="Send audio data to a visualizer.">bg_visualizer_update</a>(<a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a> * v,
<a name="l00133"></a>00133                           <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__frame__s.html">gavl_audio_frame_t</a> * frame);
<a name="l00134"></a>00134 
<a name="l00142"></a>00142 <span class="keywordtype">void</span> <a class="code" href="group__visualize.html#gbba6c913af80b30afc9458625af95f5a" title="Close a visualizer.">bg_visualizer_close</a>(<a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a> * v);
<a name="l00143"></a>00143 
<a name="l00152"></a>00152 <span class="keywordtype">int</span> <a class="code" href="group__visualize.html#g78fd02cdd99496155c271fdf01056fb8" title="Check, whether a visualizer needs to be restarted.">bg_visualizer_need_restart</a>(<a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a> * v);
<a name="l00153"></a>00153 
<a name="l00159"></a>00159 <span class="keywordtype">double</span> <a class="code" href="group__visualize.html#g061c7fd1fe851f149e7e59d2d43b7d6b" title="Get the frames per second.">bg_visualizer_get_fps</a>(<a class="code" href="group__visualize.html#gacb632da56601f1170efff8a365617d8" title="Opaque visualizer structure.">bg_visualizer_t</a> * v);
<a name="l00160"></a>00160 
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 22 01:28:05 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>