Window functions generation.
More...
|
int32_t | Window_Init (float32_t *pDst, uint32_t len, WindowTypedef type) |
| Generate a window function.
|
|
void | cosine_sum_window_create (float32_t *pDst, uint32_t len, float64_t a0, float64_t a1, float64_t a2) |
| Helper function to create cosine-sum windows.
|
|
Window functions generation.
A lot of different window have been developed and tested in DSP, but common choice is between Hanning, Hamming, Blackman and Flat-Top (even if many others are available).
◆ WindowTypedef
Window function types.
Enumerator |
---|
WINDOW_HANN | Hann (Hanning) window
|
WINDOW_HAMMING | Hamming window
|
WINDOW_BLACKMAN | Blackman window
|
◆ Window_Init()
int32_t Window_Init |
( |
float32_t * |
pDst, |
|
|
uint32_t |
len, |
|
|
WindowTypedef |
type |
|
) |
| |
Generate a window function.
- Parameters
-
*pDst | points to the output buffer. |
len | window length. |
type | window type. |
- Returns
- 0 if successful or -1 if there is an error.