All the windowing functions currently supported by the DSP library.
These functions generate a rectangular window that fits in the output buffer.
The rectangular window filled the output buffer with 1.
Relative functions:
Also known simply as the triangular windows, these functions generate a Bartlett window that fits in the output buffer.
The amplitude of the signal is in the range [0; 1]
Relative functions:
These functions generate a Blackman window that fits in the output buffer.
The amplitude of the signal is in the range [0; 1]
Relative functions:
These functions generate a hamming window that fits in the output buffer.
The amplitude of the signal is in the range [0; 1]
Relative functions:
These functions generate a Gaussian window that fits in the output buffer.
The amplitude of the signal is in the range [0; 1]
Relative functions:
These functions generate a Hann window that fits in the output buffer.
The amplitude of the signal is in the range [0; 1]
Relative functions:
These functions generate a kaiser window that fits in the output buffer.
The amplitude of the signal is in the range [0; 1]
Relative functions:
These functions generate a Welch window that fits in the output buffer.
The Welch window is commonly used as a window for power spectral estimation.
The amplitude of the signal is in the range [0; 1]
Relative functions:
Functions | |
void | dsp16_win_bart (dsp16_t *vect1, dsp16_t *vect2, int size) |
16-bit fixed point version of the Bartlett windowing function. More... | |
void | dsp16_win_black (dsp16_t *vect1, dsp16_t *vect2, int size) |
16-bit fixed point version of the Blackman windowing function. More... | |
void | dsp16_win_gauss (dsp16_t *vect1, dsp16_t *vect2, int size) |
16-bit fixed point version of the Gaussian windowing function. More... | |
void | dsp16_win_hamm (dsp16_t *vect1, dsp16_t *vect2, int size) |
16-bit fixed point version of the hamming windowing function. More... | |
void | dsp16_win_hann (dsp16_t *vect1, dsp16_t *vect2, int size) |
16-bit fixed point version of the Hann windowing function. More... | |
void | dsp16_win_kaiser (dsp16_t *vect1, dsp16_t *vect2, int size, int alpha) |
16-bit fixed point version of the kaiser windowing function. More... | |
void | dsp16_win_rect (dsp16_t *vect1, dsp16_t *vect2, int size) |
16-bit fixed point version of the rectangular windowing function. More... | |
void | dsp16_win_welch (dsp16_t *vect1, dsp16_t *vect2, int size) |
16-bit fixed point version of the Welch windowing function. More... | |
void | dsp32_win_bart (dsp32_t *vect1, dsp32_t *vect2, int size) |
32-bit fixed point version of the Bartlett windowing function. More... | |
void | dsp32_win_black (dsp32_t *vect1, dsp32_t *vect2, int size) |
32-bit fixed point version of the Blackman windowing function. More... | |
void | dsp32_win_gauss (dsp32_t *vect1, dsp32_t *vect2, int size) |
32-bit fixed point version of the Gaussian windowing function. More... | |
void | dsp32_win_hamm (dsp32_t *vect1, dsp32_t *vect2, int size) |
32-bit fixed point version of the hamming windowing function. More... | |
void | dsp32_win_hann (dsp32_t *vect1, dsp32_t *vect2, int size) |
32-bit fixed point version of the Hann windowing function. More... | |
void | dsp32_win_kaiser (dsp32_t *vect1, dsp32_t *vect2, int size, int alpha) |
32-bit fixed point version of the kaiser windowing function. More... | |
void | dsp32_win_rect (dsp32_t *vect1, dsp32_t *vect2, int size) |
32-bit fixed point version of the rectangular windowing function. More... | |
void | dsp32_win_welch (dsp32_t *vect1, dsp32_t *vect2, int size) |
32-bit fixed point version of the Welch windowing function. More... | |
16-bit fixed point version of the Bartlett windowing function.
vect1 | A pointer on a 16-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 16-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
References dsp16_op_mul(), DSP16_Q, i, and s.
16-bit fixed point version of the Blackman windowing function.
vect1 | A pointer on a 16-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 16-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
References dsp16_op_cos(), dsp16_op_mul(), DSP16_Q, DSP16_QB, i, s, w, WIN_BLACK_A0, WIN_BLACK_A1, and WIN_BLACK_A2.
16-bit fixed point version of the Gaussian windowing function.
vect1 | A pointer on a 16-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 16-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
References CST_LN_2, dsp16_op_abs(), dsp16_op_exp(), dsp16_op_mul(), DSP16_Q, DSP16_QB, DSP_GAUSS_TETA, DSP_Q, i, s, and x.
16-bit fixed point version of the hamming windowing function.
vect1 | A pointer on a 16-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 16-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
References dsp16_op_cos(), dsp16_op_mul(), DSP16_Q, DSP16_QB, i, s, w, WIN_HAMM_A0, and WIN_HAMM_A1.
Referenced by dsp_process_init().
16-bit fixed point version of the Hann windowing function.
vect1 | A pointer on a 16-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 16-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
References dsp16_op_cos(), dsp16_op_mul(), DSP16_Q, DSP16_QB, i, s, w, and WIN_HANN_A0.
16-bit fixed point version of the kaiser windowing function.
vect1 | A pointer on a 16-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 16-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
alpha | The alpha coefficient which must be greater than 0. |
References CST_PI, den, dsp16_op_kaiser_i0(), dsp16_op_mul(), DSP16_Q, DSP16_QB, dsp32_op_sqrt(), DSP32_QB, DSP_Q, n, num, and s.
16-bit fixed point version of the rectangular windowing function.
vect1 | A pointer on a 16-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 16-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
16-bit fixed point version of the Welch windowing function.
vect1 | A pointer on a 16-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 16-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
32-bit fixed point version of the Bartlett windowing function.
vect1 | A pointer on a 32-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 32-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
References dsp32_op_mul(), DSP32_Q, i, and s.
32-bit fixed point version of the Blackman windowing function.
vect1 | A pointer on a 32-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 32-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
References dsp32_op_cos(), dsp32_op_mul(), DSP32_Q, DSP32_QB, i, s, temp64, w, WIN_BLACK_A0, WIN_BLACK_A1, and WIN_BLACK_A2.
32-bit fixed point version of the Gaussian windowing function.
vect1 | A pointer on a 32-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 32-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
References CST_LN_2, dsp32_op_abs(), dsp32_op_exp(), dsp32_op_mul(), DSP32_Q, DSP32_QB, DSP_GAUSS_TETA, i, s, and x.
32-bit fixed point version of the hamming windowing function.
vect1 | A pointer on a 32-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 32-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
References dsp32_op_cos(), dsp32_op_mul(), DSP32_Q, DSP32_QB, i, s, w, WIN_HAMM_A0, and WIN_HAMM_A1.
32-bit fixed point version of the Hann windowing function.
vect1 | A pointer on a 32-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 32-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
References dsp32_op_cos(), dsp32_op_mul(), DSP32_Q, DSP32_QB, i, s, w, and WIN_HANN_A0.
32-bit fixed point version of the kaiser windowing function.
vect1 | A pointer on a 32-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 32-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
alpha | The alpha coefficient which must be greater than 0. |
References CST_PI, den, dsp32_op_kaiser_i0(), dsp32_op_mul(), dsp32_op_sqrt(), DSP32_Q, DSP32_QB, n, num, s, and temp64.
32-bit fixed point version of the rectangular windowing function.
vect1 | A pointer on a 32-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 32-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |
32-bit fixed point version of the Welch windowing function.
vect1 | A pointer on a 32-bit real vector that will contain the window multiplied by vect2. |
vect2 | A pointer on a 32-bit real vector that contains the signal on which the window should apply. |
size | The size of the output buffer. |