SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Typedefs | Enumerations | Functions | Variables
window.c File Reference

Window part of a signal and create windows. More...

Typedefs

typedef float *(* SprWinF32Func )(float *restrict w, int N)
 
typedef double *(* SprWinF64Func )(double *restrict w, int N)
 

Enumerations

enum  {
  SPR_WIN_HAMMING, SPR_WIN_RECTANGULAR, SPR_WIN_HANNING, SPR_WIN_BLACKMAN,
  SPR_WIN_TRIANGULAR, SPR_WIN_GAUSSIAN, SPR_WIN_NWINDOWTYPE
}
 The different window types. More...
 

Functions

float * spr_win_f32_hamming (float *restrict w, int N)
 
float * spr_win_f32_rectangular (float *restrict w, int N)
 
float * spr_win_f32_hanning (float *restrict w, int N)
 
float * spr_win_f32_triangular (float *restrict w, int N)
 
float * spr_win_f32_blackman (float *restrict w, int N)
 
float * spr_win_f32_gaussian (float *restrict w, int N)
 
float * spr_win_f32_create (float *restrict w, int N, int windowtype)
 
double * spr_win_f64_hamming (double *restrict w, int N)
 
double * spr_win_f64_rectangular (double *restrict w, int N)
 
double * spr_win_f64_hanning (double *restrict w, int N)
 
double * spr_win_f64_triangular (double *restrict w, int N)
 
double * spr_win_f64_blackman (double *restrict w, int N)
 
double * spr_win_f64_gaussian (double *restrict w, int N)
 
double * spr_win_f64_create (double *restrict w, int N, int windowtype)
 

Variables

const char *const spr_win_type [SPR_WIN_NWINDOWTYPE+1]
 Maps enum window types to strings. More...
 
SprWinF32Func spr_win_f32_func []
 function pointer to the functions to make any of the filters More...
 
SprWinF64Func spr_win_f64_func []
 function pointer to the functions to make any of the filters More...
 

Detailed Description

Window part of a signal and create windows.

Date
13 Sept 1991
Author
Weiye Ma