spLib
Loading...
Searching...
No Matches
window.h
Go to the documentation of this file.
1
4#ifndef SPLIB_WINDOW_H
5#define SPLIB_WINDOW_H
6
7#include <sp/vector.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#if defined(MACOS)
14#pragma import on
15#endif
16
24 /*----@addtogroup windowGroup----*/
25
30extern void blackmanf(float *window, long length);
34extern void blackman(double *window, long length);
35
37extern void nblackmanf(float *window, long length);
41extern void nblackman(double *window, long length);
42
49extern void hammingf(float *window, long length);
53extern void hamming(double *window, long length);
54
56extern void nhammingf(float *window, long length);
60extern void nhamming(double *window, long length);
61
68extern void hanningf(float *window, long length);
73extern void hanning(double *window, long length);
74
76extern void nhanningf(float *window, long length);
81extern void nhanning(double *window, long length);
82
89extern void hannf(float *window, long length);
94extern void hann(double *window, long length);
95
97extern void nhannf(float *window, long length);
102extern void nhann(double *window, long length);
103
110extern void gausswinf(float *window, long length, float alpha);
115extern void gausswin(double *window, long length, double alpha);
116
118extern void ngausswinf(float *window, long length, float alpha);
123extern void ngausswin(double *window, long length, double alpha);
124
131extern void nboxcarf(float *window, long length);
135extern void nboxcar(double *window, long length);
136
144extern void fvblackman(spFVector vec);
148extern void dvblackman(spDVector vec);
151extern spFVector xfvblackmanul(spPlugin *plugin, long length, spBool unlock_flag);
155extern spDVector xdvblackmanul(spPlugin *plugin, long length, spBool unlock_flag);
158extern spFVector xfvblackman(long length);
162extern spDVector xdvblackman(long length);
163
166extern void fvnblackman(spFVector vec);
170extern void dvnblackman(spDVector vec);
173extern spFVector xfvnblackmanul(spPlugin *plugin, long length, spBool unlock_flag);
177extern spDVector xdvnblackmanul(spPlugin *plugin, long length, spBool unlock_flag);
180extern spFVector xfvnblackman(long length);
184extern spDVector xdvnblackman(long length);
185
193extern void fvhamming(spFVector vec);
197extern void dvhamming(spDVector vec);
200extern spFVector xfvhammingul(spPlugin *plugin, long length, spBool unlock_flag);
204extern spDVector xdvhammingul(spPlugin *plugin, long length, spBool unlock_flag);
207extern spFVector xfvhamming(long length);
211extern spDVector xdvhamming(long length);
212
215extern void fvnhamming(spFVector vec);
219extern void dvnhamming(spDVector vec);
222extern spFVector xfvnhammingul(spPlugin *plugin, long length, spBool unlock_flag);
226extern spDVector xdvnhammingul(spPlugin *plugin, long length, spBool unlock_flag);
229extern spFVector xfvnhamming(long length);
233extern spDVector xdvnhamming(long length);
234
242extern void fvhanning(spFVector vec);
247extern void dvhanning(spDVector vec);
250extern spFVector xfvhanningul(spPlugin *plugin, long length, spBool unlock_flag);
255extern spDVector xdvhanningul(spPlugin *plugin, long length, spBool unlock_flag);
258extern spFVector xfvhanning(long length);
263extern spDVector xdvhanning(long length);
264
267extern void fvnhanning(spFVector vec);
272extern void dvnhanning(spDVector vec);
275extern spFVector xfvnhanningul(spPlugin *plugin, long length, spBool unlock_flag);
280extern spDVector xdvnhanningul(spPlugin *plugin, long length, spBool unlock_flag);
283extern spFVector xfvnhanning(long length);
288extern spDVector xdvnhanning(long length);
289
297extern void fvhann(spFVector vec);
302extern void dvhann(spDVector vec);
305extern spFVector xfvhannul(spPlugin *plugin, long length, spBool unlock_flag);
310extern spDVector xdvhannul(spPlugin *plugin, long length, spBool unlock_flag);
313extern spFVector xfvhann(long length);
318extern spDVector xdvhann(long length);
319
322extern void fvnhann(spFVector vec);
327extern void dvnhann(spDVector vec);
330extern spFVector xfvnhannul(spPlugin *plugin, long length, spBool unlock_flag);
335extern spDVector xdvnhannul(spPlugin *plugin, long length, spBool unlock_flag);
338extern spFVector xfvnhann(long length);
343extern spDVector xdvnhann(long length);
344
352extern void fvgausswinex(spFVector vec, float alpha);
357extern void dvgausswinex(spDVector vec, double alpha);
360extern spFVector xfvgausswinexul(spPlugin *plugin, long length, float alpha, spBool unlock_flag);
365extern spDVector xdvgausswinexul(spPlugin *plugin, long length, double alpha, spBool unlock_flag);
368extern spFVector xfvgausswinex(long length, float alpha);
373extern spDVector xdvgausswinex(long length, double alpha);
376extern void fvgausswin(spFVector vec);
381extern void dvgausswin(spDVector vec);
384extern spFVector xfvgausswinul(spPlugin *plugin, long length, spBool unlock_flag);
389extern spDVector xdvgausswinul(spPlugin *plugin, long length, spBool unlock_flag);
392extern spFVector xfvgausswin(long length);
397extern spDVector xdvgausswin(long length);
398
401extern void fvngausswinex(spFVector vec, float alpha);
406extern void dvngausswinex(spDVector vec, double alpha);
409extern spFVector xfvngausswinexul(spPlugin *plugin, long length, float alpha, spBool unlock_flag);
414extern spDVector xdvngausswinexul(spPlugin *plugin, long length, double alpha, spBool unlock_flag);
417extern spFVector xfvngausswinex(long length, float alpha);
422extern spDVector xdvngausswinex(long length, double alpha);
425extern void fvngausswin(spFVector vec);
430extern void dvngausswin(spDVector vec);
433extern spFVector xfvngausswinul(spPlugin *plugin, long length, spBool unlock_flag);
438extern spDVector xdvngausswinul(spPlugin *plugin, long length, spBool unlock_flag);
441extern spFVector xfvngausswin(long length);
446extern spDVector xdvngausswin(long length);
447
455extern void fvnboxcar(spFVector vec);
459extern void dvnboxcar(spDVector vec);
462extern spFVector xfvnboxcarul(spPlugin *plugin, long length, spBool unlock_flag);
466extern spDVector xdvnboxcarul(spPlugin *plugin, long length, spBool unlock_flag);
469extern spFVector xfvnboxcar(long length);
473extern spDVector xdvnboxcar(long length);
474
477 /*----@addtogroup windowGroup----*/
478
479#if defined(MACOS)
480#pragma import off
481#endif
482
483#ifdef __cplusplus
484} /* Close scope of 'extern "C"' declaration */
485#endif
486
487#endif /* SPLIB_WINDOW_H */
int spBool
spFVector xfvnhannul(spPlugin *plugin, long length, spBool unlock_flag)
void ngausswin(double *window, long length, double alpha)
spFVector xfvblackmanul(spPlugin *plugin, long length, spBool unlock_flag)
void hammingf(float *window, long length)
spFVector xfvnhann(long length)
void dvblackman(spDVector vec)
spFVector xfvnhammingul(spPlugin *plugin, long length, spBool unlock_flag)
spFVector xfvngausswin(long length)
spFVector xfvhanningul(spPlugin *plugin, long length, spBool unlock_flag)
void dvhann(spDVector vec)
void fvnhamming(spFVector vec)
spFVector xfvhann(long length)
spDVector xdvnhamming(long length)
void hannf(float *window, long length)
spDVector xdvgausswinex(long length, double alpha)
spDVector xdvgausswin(long length)
spFVector xfvngausswinexul(spPlugin *plugin, long length, float alpha, spBool unlock_flag)
void nboxcarf(float *window, long length)
void fvnboxcar(spFVector vec)
spFVector xfvngausswinex(long length, float alpha)
spFVector xfvnblackman(long length)
void nhanningf(float *window, long length)
void nblackman(double *window, long length)
spDVector xdvhanningul(spPlugin *plugin, long length, spBool unlock_flag)
void hanning(double *window, long length)
void dvnhanning(spDVector vec)
void hanningf(float *window, long length)
void fvngausswinex(spFVector vec, float alpha)
spFVector xfvnhamming(long length)
void gausswin(double *window, long length, double alpha)
spDVector xdvhannul(spPlugin *plugin, long length, spBool unlock_flag)
spDVector xdvnblackmanul(spPlugin *plugin, long length, spBool unlock_flag)
spDVector xdvngausswinul(spPlugin *plugin, long length, spBool unlock_flag)
spDVector xdvblackmanul(spPlugin *plugin, long length, spBool unlock_flag)
spDVector xdvhammingul(spPlugin *plugin, long length, spBool unlock_flag)
void dvgausswin(spDVector vec)
void fvhanning(spFVector vec)
void nhamming(double *window, long length)
spFVector xfvnboxcar(long length)
spDVector xdvngausswinexul(spPlugin *plugin, long length, double alpha, spBool unlock_flag)
void dvgausswinex(spDVector vec, double alpha)
void nhannf(float *window, long length)
void blackman(double *window, long length)
spDVector xdvnboxcar(long length)
void blackmanf(float *window, long length)
spFVector xfvgausswin(long length)
void dvnhann(spDVector vec)
void hamming(double *window, long length)
spDVector xdvnhannul(spPlugin *plugin, long length, spBool unlock_flag)
void dvnblackman(spDVector vec)
spDVector xdvnhanningul(spPlugin *plugin, long length, spBool unlock_flag)
spFVector xfvgausswinul(spPlugin *plugin, long length, spBool unlock_flag)
spFVector xfvhammingul(spPlugin *plugin, long length, spBool unlock_flag)
spDVector xdvgausswinexul(spPlugin *plugin, long length, double alpha, spBool unlock_flag)
void dvhamming(spDVector vec)
void nhann(double *window, long length)
void fvblackman(spFVector vec)
void fvhann(spFVector vec)
void dvngausswinex(spDVector vec, double alpha)
void fvnhann(spFVector vec)
void fvngausswin(spFVector vec)
spDVector xdvngausswinex(long length, double alpha)
void dvnhamming(spDVector vec)
spFVector xfvnhanningul(spPlugin *plugin, long length, spBool unlock_flag)
spFVector xfvblackman(long length)
spDVector xdvhanning(long length)
void nboxcar(double *window, long length)
void dvnboxcar(spDVector vec)
spDVector xdvhann(long length)
void hann(double *window, long length)
void dvngausswin(spDVector vec)
spFVector xfvhanning(long length)
void dvhanning(spDVector vec)
spFVector xfvhannul(spPlugin *plugin, long length, spBool unlock_flag)
spFVector xfvgausswinexul(spPlugin *plugin, long length, float alpha, spBool unlock_flag)
spFVector xfvnboxcarul(spPlugin *plugin, long length, spBool unlock_flag)
void gausswinf(float *window, long length, float alpha)
void fvgausswin(spFVector vec)
spFVector xfvgausswinex(long length, float alpha)
void nhanning(double *window, long length)
spDVector xdvnblackman(long length)
spDVector xdvblackman(long length)
void ngausswinf(float *window, long length, float alpha)
spDVector xdvgausswinul(spPlugin *plugin, long length, spBool unlock_flag)
spDVector xdvhamming(long length)
void fvnblackman(spFVector vec)
spFVector xfvngausswinul(spPlugin *plugin, long length, spBool unlock_flag)
spFVector xfvnhanning(long length)
spDVector xdvngausswin(long length)
spDVector xdvnhammingul(spPlugin *plugin, long length, spBool unlock_flag)
void fvhamming(spFVector vec)
void nblackmanf(float *window, long length)
spDVector xdvnboxcarul(spPlugin *plugin, long length, spBool unlock_flag)
spDVector xdvnhanning(long length)
spFVector xfvnblackmanul(spPlugin *plugin, long length, spBool unlock_flag)
void fvgausswinex(spFVector vec, float alpha)
spFVector xfvhamming(long length)
void fvnhanning(spFVector vec)
spDVector xdvnhann(long length)
void nhammingf(float *window, long length)
Vector type that contains the elements of double type.
Definition vector.h:248
Vector type that contains the elements of float type.
Definition vector.h:214