FNFT
Loading...
Searching...
No Matches
fnft__fft_wrapper_plan_t.h
Go to the documentation of this file.
1/*
2 * This file is part of FNFT.
3 *
4 * FNFT is free software; you can redistribute it and/or
5 * modify it under the terms of the version 2 of the GNU General
6 * Public License as published by the Free Software Foundation.
7 *
8 * FNFT is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Contributors:
17 * Sander Wahls (TU Delft) 2018.
18 */
19
26#ifndef FNFT__FFT_WRAPPER_H
27#define FNFT__FFT_WRAPPER_H
28
29#include "fnft.h"
30#include "kiss_fft.h"
31
37#ifdef HAVE_FFTW3
38#include <fftw3.h>
39typedef fftw_plan fnft__fft_wrapper_plan_t;
40#else
41typedef kiss_fft_cfg fnft__fft_wrapper_plan_t;
42#endif
43
44#endif
45
46#ifdef FNFT_ENABLE_SHORT_NAMES
47#ifndef FNFT__FFT_WRAPPER_PLAN_T_SHORT_NAMES
48#define FNFT__FFT_WRAPPER_PLAN_T_SHORT_NAMES
49#define fft_wrapper_plan_t fnft__fft_wrapper_plan_t
50#endif
51#endif
kiss_fft_cfg fnft__fft_wrapper_plan_t
Stores information needed by fnft__fft_wrapper_execute_plan to perform a (inverse) FFT.
Definition fnft__fft_wrapper_plan_t.h:41