1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>GstFFT: GStreamer Base Plugins 1.0 Library Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual"> 8<link rel="up" href="gstreamer-ffft.html" title="FFT Library"> 9<link rel="prev" href="gstreamer-ffft.html" title="FFT Library"> 10<link rel="next" href="gst-plugins-base-libs-GstFFTS16.html" title="GstFFTS16"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#gst-plugins-base-libs-GstFFT.description" class="shortcut">Description</a></span> 19</td> 20<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 21<td><a accesskey="u" href="gstreamer-ffft.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 22<td><a accesskey="p" href="gstreamer-ffft.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 23<td><a accesskey="n" href="gst-plugins-base-libs-GstFFTS16.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 24</tr></table> 25<div class="refentry"> 26<a name="gst-plugins-base-libs-GstFFT"></a><div class="titlepage"></div> 27<div class="refnamediv"><table width="100%"><tr> 28<td valign="top"> 29<h2><span class="refentrytitle"><a name="gst-plugins-base-libs-GstFFT.top_of_page"></a>GstFFT</span></h2> 30<p>GstFFT — General FFT functions and declarations</p> 31</td> 32<td class="gallery_image" valign="top" align="right"></td> 33</tr></table></div> 34<div class="refsect1"> 35<a name="gst-plugins-base-libs-GstFFT.functions"></a><h2>Functions</h2> 36<div class="informaltable"><table class="informaltable" width="100%" border="0"> 37<colgroup> 38<col width="150px" class="functions_return"> 39<col class="functions_name"> 40</colgroup> 41<tbody><tr> 42<td class="function_type"> 43<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 44</td> 45<td class="function_name"> 46<a class="link" href="gst-plugins-base-libs-GstFFT.html#gst-fft-next-fast-length" title="gst_fft_next_fast_length ()">gst_fft_next_fast_length</a> <span class="c_punctuation">()</span> 47</td> 48</tr></tbody> 49</table></div> 50</div> 51<div class="refsect1"> 52<a name="gst-plugins-base-libs-GstFFT.other"></a><h2>Types and Values</h2> 53<div class="informaltable"><table class="informaltable" width="100%" border="0"> 54<colgroup> 55<col width="150px" class="name"> 56<col class="description"> 57</colgroup> 58<tbody><tr> 59<td class="datatype_keyword">enum</td> 60<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstFFT.html#GstFFTWindow" title="enum GstFFTWindow">GstFFTWindow</a></td> 61</tr></tbody> 62</table></div> 63</div> 64<div class="refsect1"> 65<a name="gst-plugins-base-libs-GstFFT.includes"></a><h2>Includes</h2> 66<pre class="synopsis">#include <gst/fft/fft.h> 67</pre> 68</div> 69<div class="refsect1"> 70<a name="gst-plugins-base-libs-GstFFT.description"></a><h2>Description</h2> 71<p>This library includes general definitions and functions, useful for 72all typed FFT classes.</p> 73</div> 74<div class="refsect1"> 75<a name="gst-plugins-base-libs-GstFFT.functions_details"></a><h2>Functions</h2> 76<div class="refsect2"> 77<a name="gst-fft-next-fast-length"></a><h3>gst_fft_next_fast_length ()</h3> 78<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> 79gst_fft_next_fast_length (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n</code></em>);</pre> 80<p>Returns the next number to <em class="parameter"><code>n</code></em> 81 that is entirely a product 82of 2, 3 and 5. Using this as the <em class="parameter"><code>len</code></em> 83 parameter for 84the different GstFFT types will provide the best performance.</p> 85<div class="refsect3"> 86<a name="gst-fft-next-fast-length.parameters"></a><h4>Parameters</h4> 87<div class="informaltable"><table class="informaltable" width="100%" border="0"> 88<colgroup> 89<col width="150px" class="parameters_name"> 90<col class="parameters_description"> 91<col width="200px" class="parameters_annotations"> 92</colgroup> 93<tbody><tr> 94<td class="parameter_name"><p>n</p></td> 95<td class="parameter_description"><p>Number for which the next fast length should be returned</p></td> 96<td class="parameter_annotations"> </td> 97</tr></tbody> 98</table></div> 99</div> 100<div class="refsect3"> 101<a name="gst-fft-next-fast-length.returns"></a><h4>Returns</h4> 102<p> the next fast FFT length.</p> 103</div> 104</div> 105</div> 106<div class="refsect1"> 107<a name="gst-plugins-base-libs-GstFFT.other_details"></a><h2>Types and Values</h2> 108<div class="refsect2"> 109<a name="GstFFTWindow"></a><h3>enum GstFFTWindow</h3> 110<p>The various window functions available.</p> 111<div class="refsect3"> 112<a name="GstFFTWindow.members"></a><h4>Members</h4> 113<div class="informaltable"><table class="informaltable" width="100%" border="0"> 114<colgroup> 115<col width="300px" class="enum_members_name"> 116<col class="enum_members_description"> 117<col width="200px" class="enum_members_annotations"> 118</colgroup> 119<tbody> 120<tr> 121<td class="enum_member_name"><p><a name="GST-FFT-WINDOW-RECTANGULAR:CAPS"></a>GST_FFT_WINDOW_RECTANGULAR</p></td> 122<td class="enum_member_description"> 123<p>Rectangular window</p> 124</td> 125<td class="enum_member_annotations"> </td> 126</tr> 127<tr> 128<td class="enum_member_name"><p><a name="GST-FFT-WINDOW-HAMMING:CAPS"></a>GST_FFT_WINDOW_HAMMING</p></td> 129<td class="enum_member_description"> 130<p>Hamming window</p> 131</td> 132<td class="enum_member_annotations"> </td> 133</tr> 134<tr> 135<td class="enum_member_name"><p><a name="GST-FFT-WINDOW-HANN:CAPS"></a>GST_FFT_WINDOW_HANN</p></td> 136<td class="enum_member_description"> 137<p>Hann (sometimes also called Hanning) window</p> 138</td> 139<td class="enum_member_annotations"> </td> 140</tr> 141<tr> 142<td class="enum_member_name"><p><a name="GST-FFT-WINDOW-BARTLETT:CAPS"></a>GST_FFT_WINDOW_BARTLETT</p></td> 143<td class="enum_member_description"> 144<p>Bartlett window</p> 145</td> 146<td class="enum_member_annotations"> </td> 147</tr> 148<tr> 149<td class="enum_member_name"><p><a name="GST-FFT-WINDOW-BLACKMAN:CAPS"></a>GST_FFT_WINDOW_BLACKMAN</p></td> 150<td class="enum_member_description"> 151<p>Blackman window</p> 152</td> 153<td class="enum_member_annotations"> </td> 154</tr> 155</tbody> 156</table></div> 157</div> 158</div> 159</div> 160</div> 161<div class="footer"> 162<hr>Generated by GTK-Doc V1.28</div> 163</body> 164</html>