Sophie

Sophie

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

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: bg_fv_plugin_s Struct Reference</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 class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><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="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>bg_fv_plugin_s Struct Reference<br>
<small>
[<a class="el" href="group__plugin__filter.html">A/V Filters</a>]</small>
</h1><!-- doxytag: class="bg_fv_plugin_s" -->Video filter plugin.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="plugin_8h_source.html">plugin.h</a>&gt;</code>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structbg__plugin__common__s.html">bg_plugin_common_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__fv__plugin__s.html#124620d4af30b23d5771871653cb4e61">common</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Infos and functions common to all plugin types.  <a href="#124620d4af30b23d5771871653cb4e61"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//group__video__options.html#ga0">gavl_video_options_t</a> *(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__fv__plugin__s.html#704398a9d15c0064d304d263e6b523fa">get_options</a> )(void *priv)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get gavl options.  <a href="#704398a9d15c0064d304d263e6b523fa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__fv__plugin__s.html#aaf574e272d4826424401ad6201ccb7b">connect_input_port</a> )(void *priv, <a class="el" href="group__plugin.html#gdc25c1f00af83f18062dcf72af04374d">bg_read_video_func_t</a> func, void *data, int stream, int port)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set input callback.  <a href="#aaf574e272d4826424401ad6201ccb7b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__fv__plugin__s.html#587a6a766a8ee360a5cfd71b7b7d0c45">set_input_format</a> )(void *priv, <a class="elRef" 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> *format, int port)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set input format.  <a href="#587a6a766a8ee360a5cfd71b7b7d0c45"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__fv__plugin__s.html#60a33266de0d8ecbe7fdfd0ed77302ec">reset</a> )(void *priv)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset.  <a href="#60a33266de0d8ecbe7fdfd0ed77302ec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__fv__plugin__s.html#7979a5110f19237825ea1096dd7a8072">get_output_format</a> )(void *priv, <a class="elRef" 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> *format)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get output format.  <a href="#7979a5110f19237825ea1096dd7a8072"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int(*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__fv__plugin__s.html#c4b14eae047635fcbae46db06c829f29">need_restart</a> )(void *priv)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Report, if the plugin must be reinitialized.  <a href="#c4b14eae047635fcbae46db06c829f29"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__plugin.html#gdc25c1f00af83f18062dcf72af04374d">bg_read_video_func_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbg__fv__plugin__s.html#c0d4f3d336cfd424b0a65a135321ecf8">read_video</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read a video frame from the plugin.  <a href="#c0d4f3d336cfd424b0a65a135321ecf8"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Video filter plugin. 
<p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="124620d4af30b23d5771871653cb4e61"></a><!-- doxytag: member="bg_fv_plugin_s::common" ref="124620d4af30b23d5771871653cb4e61" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structbg__plugin__common__s.html">bg_plugin_common_t</a> <a class="el" href="structbg__fv__plugin__s.html#124620d4af30b23d5771871653cb4e61">bg_fv_plugin_s::common</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Infos and functions common to all plugin types. 
<p>

</div>
</div><p>
<a class="anchor" name="704398a9d15c0064d304d263e6b523fa"></a><!-- doxytag: member="bg_fv_plugin_s::get_options" ref="704398a9d15c0064d304d263e6b523fa" args=")(void *priv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="gavl.tags:http://gmerlin.sourceforge.net/doc/gavl//" href="http://gmerlin.sourceforge.net/doc/gavl//group__video__options.html#ga0">gavl_video_options_t</a>*(* <a class="el" href="structbg__fv__plugin__s.html#704398a9d15c0064d304d263e6b523fa">bg_fv_plugin_s::get_options</a>)(void *priv)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get gavl options. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>priv</em>&nbsp;</td><td>The handle returned by the create() method </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Video conversion options</dd></dl>
This optional function returns the gavl options. You can configure them like you do it in plain gavl. 
</div>
</div><p>
<a class="anchor" name="aaf574e272d4826424401ad6201ccb7b"></a><!-- doxytag: member="bg_fv_plugin_s::connect_input_port" ref="aaf574e272d4826424401ad6201ccb7b" args=")(void *priv, bg_read_video_func_t func, void *data, int stream, int port)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* <a class="el" href="structbg__fv__plugin__s.html#aaf574e272d4826424401ad6201ccb7b">bg_fv_plugin_s::connect_input_port</a>)(void *priv, <a class="el" href="group__plugin.html#gdc25c1f00af83f18062dcf72af04374d">bg_read_video_func_t</a> func, void *data, int stream, int port)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set input callback. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>priv</em>&nbsp;</td><td>The handle returned by the create() method </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>func</em>&nbsp;</td><td>The function to call </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The private handle to pass to func </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>stream</em>&nbsp;</td><td>The stream argument to pass to func </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>port</em>&nbsp;</td><td>The input port of the plugin </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="587a6a766a8ee360a5cfd71b7b7d0c45"></a><!-- doxytag: member="bg_fv_plugin_s::set_input_format" ref="587a6a766a8ee360a5cfd71b7b7d0c45" args=")(void *priv, gavl_video_format_t *format, int port)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* <a class="el" href="structbg__fv__plugin__s.html#587a6a766a8ee360a5cfd71b7b7d0c45">bg_fv_plugin_s::set_input_format</a>)(void *priv, <a class="elRef" 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> *format, int port)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set input format. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>priv</em>&nbsp;</td><td>The handle returned by the create() method </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>format</em>&nbsp;</td><td>Format </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>port</em>&nbsp;</td><td>The input port of the plugin </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="60a33266de0d8ecbe7fdfd0ed77302ec"></a><!-- doxytag: member="bg_fv_plugin_s::reset" ref="60a33266de0d8ecbe7fdfd0ed77302ec" args=")(void *priv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* <a class="el" href="structbg__fv__plugin__s.html#60a33266de0d8ecbe7fdfd0ed77302ec">bg_fv_plugin_s::reset</a>)(void *priv)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reset. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>priv</em>&nbsp;</td><td>The handle returned by the create() method</td></tr>
  </table>
</dl>
Optional, resets internal state, as if no frame has been processed before. 
</div>
</div><p>
<a class="anchor" name="7979a5110f19237825ea1096dd7a8072"></a><!-- doxytag: member="bg_fv_plugin_s::get_output_format" ref="7979a5110f19237825ea1096dd7a8072" args=")(void *priv, gavl_video_format_t *format)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* <a class="el" href="structbg__fv__plugin__s.html#7979a5110f19237825ea1096dd7a8072">bg_fv_plugin_s::get_output_format</a>)(void *priv, <a class="elRef" 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> *format)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get output format. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>priv</em>&nbsp;</td><td>The handle returned by the create() method </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>format</em>&nbsp;</td><td>Returns the output format</td></tr>
  </table>
</dl>
These must be called after init(). 
</div>
</div><p>
<a class="anchor" name="c4b14eae047635fcbae46db06c829f29"></a><!-- doxytag: member="bg_fv_plugin_s::need_restart" ref="c4b14eae047635fcbae46db06c829f29" args=")(void *priv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* <a class="el" href="structbg__fv__plugin__s.html#c4b14eae047635fcbae46db06c829f29">bg_fv_plugin_s::need_restart</a>)(void *priv)          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Report, if the plugin must be reinitialized. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>priv</em>&nbsp;</td><td>The handle returned by the create() method </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 if the plugin must be reinitialized, 0 else</dd></dl>
Optional, must be called after set_parameter() to check, if the filter must be reinitialized. Note, that the input and output formats can be changed in this case as well. 
</div>
</div><p>
<a class="anchor" name="c0d4f3d336cfd424b0a65a135321ecf8"></a><!-- doxytag: member="bg_fv_plugin_s::read_video" ref="c0d4f3d336cfd424b0a65a135321ecf8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__plugin.html#gdc25c1f00af83f18062dcf72af04374d">bg_read_video_func_t</a> <a class="el" href="structbg__fv__plugin__s.html#c0d4f3d336cfd424b0a65a135321ecf8">bg_fv_plugin_s::read_video</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Read a video frame from the plugin. 
<p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>/home/mandrake/rpm/BUILD/gmerlin-0.4.1/include/gmerlin/<a class="el" href="plugin_8h_source.html">plugin.h</a></ul>
</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>