Project Ne10
An open, optimized software library for the ARM architecture.
|
Go to the source code of this file.
Macros | |
#define | NE10_CPX_MUL_S32(Z, A, B) |
#define | NE10_S_MUL_S32(A, S) (((NE10_F2I32_SAMPPROD) (A) * (S)) >> 31) |
Functions | |
template<int RADIX> | |
void | FFT_MUL_TW (ne10_fft_cpx_int32_t out[RADIX], const ne10_fft_cpx_int32_t in[RADIX], const ne10_fft_cpx_int32_t tw[RADIX]) |
Multiply input with twiddles. More... | |
template<> | |
void | FFT_MUL_TW< 2 > (ne10_fft_cpx_int32_t out[2], const ne10_fft_cpx_int32_t in[2], const ne10_fft_cpx_int32_t tw[1]) |
template<int RADIX> | |
void | FFT_MUL_TW (ne10_fft_cpx_int32_t out[RADIX], const ne10_fft_cpx_int32_t in[RADIX], const ne10_fft_cpx_int32_t tw[RADIX-1]) |
template<int RADIX> | |
void | FFT_FCU (ne10_fft_cpx_int32_t scratch_out[RADIX], const ne10_fft_cpx_int32_t scratch_in[RADIX]) |
Basic fixed-point butterfly used in each stage. More... | |
template<> | |
void | FFT_FCU< 2 > (ne10_fft_cpx_int32_t scratch_out[2], const ne10_fft_cpx_int32_t scratch_in[2]) |
Basic fixed-point Radix-2 butterfly used in each stage. More... | |
template<> | |
void | FFT_FCU< 3 > (ne10_fft_cpx_int32_t Fout[3], const ne10_fft_cpx_int32_t Fin[3]) |
Basic fixed-point radix-3 butterfly used in each stage. More... | |
template<> | |
void | FFT_FCU< 4 > (ne10_fft_cpx_int32_t scratch_out[4], const ne10_fft_cpx_int32_t scratch_in[4]) |
Basic fixed-point radix-4 butterfly used in each stage. More... | |
template<> | |
void | FFT_FCU< 5 > (ne10_fft_cpx_int32_t Fout[5], const ne10_fft_cpx_int32_t Fin[5]) |
Basic fixed-point radix-5 butterfly used in each stage. More... | |
template<class T > | |
void | NE10_CONJ_S (T &) |
Conjugate a fix-point complex scalar/NEON vector. More... | |
template<> | |
void | NE10_CONJ_S< ne10_fft_cpx_int32_t > (ne10_fft_cpx_int32_t &scalar) |
template<int RADIX, class T > | |
void | NE10_CONJ (T in[RADIX]) |
Conjugate a fix-point complex array. More... | |
template<> | |
void | NE10_CONJ< 1, ne10_fft_cpx_int32_t > (ne10_fft_cpx_int32_t in[1]) |
template<class T > | |
T | NE10_CPX_LOAD_S (const T *ptr) |
template<class T > | |
void | NE10_CPX_STORE_S (T *Fout, const T in) |
template<int RADIX, class T > | |
void | NE10_LOAD_BY_STEP (T out[RADIX], const T *Fin, const ne10_int32_t in_step) |
Load a fixed-size array from given buffer, by given step. More... | |
template<> | |
void | NE10_LOAD_BY_STEP< 1, ne10_fft_cpx_int32_t > (ne10_fft_cpx_int32_t out[0], const ne10_fft_cpx_int32_t *Fin, const ne10_int32_t) |
template<int RADIX, class T > | |
void | NE10_STORE_BY_STEP (T *Fout, const T in[RADIX], const ne10_int32_t out_step) |
Store a fixed-size array to given buffer, by given step. More... | |
template<> | |
void | NE10_STORE_BY_STEP< 1, ne10_fft_cpx_int32_t > (ne10_fft_cpx_int32_t *Fout, const ne10_fft_cpx_int32_t in[1], const ne10_int32_t) |
template<int RADIX> | |
void | NE10_SCALED (ne10_fft_cpx_int32_t out[RADIX], const ne10_int32_t scaling) |
Scale a fixed-size array by given divider. More... | |
template<> | |
void | NE10_SCALED< 1 > (ne10_fft_cpx_int32_t out[1], const ne10_int32_t scaling) |
#define NE10_CPX_MUL_S32 | ( | Z, | |
A, | |||
B | |||
) |
Definition at line 54 of file NE10_fft_generic_int32.h.
#define NE10_S_MUL_S32 | ( | A, | |
S | |||
) | (((NE10_F2I32_SAMPPROD) (A) * (S)) >> 31) |
Definition at line 64 of file NE10_fft_generic_int32.h.
|
inline |
Basic fixed-point butterfly used in each stage.
RADIX | Radix of butterfly. |
[out] | scratch_out | Output array. |
[in] | scratch_in | Input array. |
|
inline |
Basic fixed-point Radix-2 butterfly used in each stage.
[out] | scratch_out | Output array. |
[in] | scratch_in | Input array. |
Definition at line 118 of file NE10_fft_generic_int32.h.
|
inline |
Basic fixed-point radix-3 butterfly used in each stage.
[out] | scratch_out | Output array. |
[in] | scratch_in | Input array. |
Definition at line 131 of file NE10_fft_generic_int32.h.
|
inline |
Basic fixed-point radix-4 butterfly used in each stage.
[out] | scratch_out | Output array. |
[in] | scratch_in | Input array. |
Definition at line 173 of file NE10_fft_generic_int32.h.
|
inline |
Basic fixed-point radix-5 butterfly used in each stage.
[out] | scratch_out | Output array. |
[in] | scratch_in | Input array. |
Definition at line 198 of file NE10_fft_generic_int32.h.
|
inline |
Multiply input with twiddles.
RADIX | Length of given fix-point complex array |
[out] | out | Output array. |
[in] | in | Input array. |
[in] | tw | Twiddles array. |
|
inline |
Definition at line 88 of file NE10_fft_generic_int32.h.
|
inline |
Definition at line 79 of file NE10_fft_generic_int32.h.
|
inline |
Conjugate a fix-point complex array.
RADIX | Length of given fix-point complex array |
[out] | in | Given array |
Definition at line 278 of file NE10_fft_generic_int32.h.
|
inline |
Definition at line 285 of file NE10_fft_generic_int32.h.
|
inline |
Conjugate a fix-point complex scalar/NEON vector.
|
inline |
Definition at line 267 of file NE10_fft_generic_int32.h.
|
inline |
Definition at line 291 of file NE10_fft_generic_int32.h.
|
inline |
Definition at line 297 of file NE10_fft_generic_int32.h.
|
inline |
Load a fixed-size array from given buffer, by given step.
RADIX | Length of array. |
[out] | out | Array to which data are loaded |
[in] | Fin | Pointing to buffer from which data are loaded |
[in] | in_step | Step between loaded data in Fin |
Definition at line 324 of file NE10_fft_generic_int32.h.
|
inline |
Definition at line 315 of file NE10_fft_generic_int32.h.
|
inline |
Scale a fixed-size array by given divider.
RADIX | Length of array. |
[out] | out | Array whose elements are scaled |
[in] | scaling | Divider by which array is divided |
Definition at line 364 of file NE10_fft_generic_int32.h.
|
inline |
Definition at line 372 of file NE10_fft_generic_int32.h.
|
inline |
Store a fixed-size array to given buffer, by given step.
RADIX | Length of array. |
[out] | Fout | Pointing to buffer to which data are stored |
[in] | out | Array to from data are stored |
[in] | out_step | Step between stored data in Fout |
Definition at line 340 of file NE10_fft_generic_int32.h.
|
inline |
Definition at line 349 of file NE10_fft_generic_int32.h.