XCORE SDK
XCORE Software Development Kit
bfp_fft.h
1 // Copyright 2020-2021 XMOS LIMITED.
2 // This Software is subject to the terms of the XMOS Public Licence: Version 1.
3 
4 #pragma once
5 
6 #include "xs3_math_types.h"
7 
71 C_API
73  bfp_s32_t* x);
74 
75 
76 
129 C_API
131  bfp_complex_s32_t* x);
132 
133 
134 
177 C_API
179  bfp_complex_s32_t* x);
180 
223 C_API
225  bfp_complex_s32_t* x);
226 
309 C_API
311  bfp_s32_t* a,
312  bfp_s32_t* b,
313  complex_s32_t scratch[]);
314 
315 
396 C_API
398  bfp_complex_s32_t* A_fft,
399  bfp_complex_s32_t* B_fft,
400  complex_s32_t scratch[]);
401 
437 C_API
439  bfp_complex_s32_t* x);
440 
454 C_API
455 void bfp_fft_pack_mono(
456  bfp_complex_s32_t* x);
void bfp_fft_forward_complex(bfp_complex_s32_t *x)
Performs a forward complex Discrete Fourier Transform on a complex 32-bit sequence.
Definition: bfp_fft.c:108
void bfp_fft_forward_stereo(bfp_s32_t *a, bfp_s32_t *b, complex_s32_t scratch[])
Performs a forward real Discrete Fourier Transform on a pair of real 32-bit sequences.
Definition: bfp_fft.c:161
void bfp_fft_unpack_mono(bfp_complex_s32_t *x)
Unpack the spectrum resulting from bfp_fft_forward_mono().
Definition: bfp_fft.c:294
bfp_s32_t * bfp_fft_inverse_mono(bfp_complex_s32_t *x)
Performs an inverse real Discrete Fourier Transform on a complex 32-bit sequence.
Definition: bfp_fft.c:63
void bfp_fft_inverse_complex(bfp_complex_s32_t *x)
Performs an inverse complex Discrete Fourier Transform on a complex 32-bit sequence.
Definition: bfp_fft.c:135
void bfp_fft_inverse_stereo(bfp_complex_s32_t *A_fft, bfp_complex_s32_t *B_fft, complex_s32_t scratch[])
Performs an inverse real Discrete Fourier Transform on a pair of complex 32-bit sequences.
Definition: bfp_fft.c:233
void bfp_fft_pack_mono(bfp_complex_s32_t *x)
Pack the spectrum resulting from bfp_fft_unpack_mono().
Definition: bfp_fft.c:306
bfp_complex_s32_t * bfp_fft_forward_mono(bfp_s32_t *x)
Performs a forward real Discrete Fourier Transform on a real 32-bit sequence.
Definition: bfp_fft.c:14
[bfp_s16_t]
Definition: xs3_math_types.h:340
A block floating-point vector of 32-bit elements.
Definition: xs3_math_types.h:276
A complex number with a 32-bit real part and 32-bit imaginary part.
Definition: xs3_math_types.h:49