plotjuggler_plugins
ToolboxFFT
3rdparty
KissFFT
kiss_fftndr.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2003-2004, Mark Borgerding. All rights reserved.
3
* This file is part of KISS FFT - https://github.com/mborgerding/kissfft
4
*
5
* SPDX-License-Identifier: BSD-3-Clause
6
* See COPYING file for more information.
7
*/
8
9
#ifndef KISS_NDR_H
10
#define KISS_NDR_H
11
12
#include "
kiss_fft.h
"
13
#include "
kiss_fftr.h
"
14
#include "
kiss_fftnd.h
"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
typedef
struct
kiss_fftndr_state
*
kiss_fftndr_cfg
;
21
22
kiss_fftndr_cfg
KISS_FFT_API
kiss_fftndr_alloc
(
const
int
* dims,
int
ndims,
23
int
inverse_fft,
void
* mem,
24
size_t
* lenmem);
25
/*
26
dims[0] must be even
27
28
If you don't care to allocate space, use mem = lenmem = NULL
29
*/
30
31
void
KISS_FFT_API
kiss_fftndr
(
kiss_fftndr_cfg
cfg,
const
kiss_fft_scalar
* timedata,
32
kiss_fft_cpx
* freqdata);
33
/*
34
input timedata has dims[0] X dims[1] X ... X dims[ndims-1] scalar points
35
output freqdata has dims[0] X dims[1] X ... X dims[ndims-1]/2+1 complex points
36
*/
37
38
void
KISS_FFT_API
kiss_fftndri
(
kiss_fftndr_cfg
cfg,
const
kiss_fft_cpx
* freqdata,
39
kiss_fft_scalar
* timedata);
40
/*
41
input and output dimensions are the exact opposite of kiss_fftndr
42
*/
43
44
#define kiss_fftndr_free free
45
46
#ifdef __cplusplus
47
}
48
#endif
49
50
#endif
kiss_fftndri
void KISS_FFT_API kiss_fftndri(kiss_fftndr_cfg cfg, const kiss_fft_cpx *freqdata, kiss_fft_scalar *timedata)
Definition:
kiss_fftndr.c:100
kiss_fftndr
void KISS_FFT_API kiss_fftndr(kiss_fftndr_cfg cfg, const kiss_fft_scalar *timedata, kiss_fft_cpx *freqdata)
Definition:
kiss_fftndr.c:74
kiss_fftr.h
kiss_fftndr_cfg
struct kiss_fftndr_state * kiss_fftndr_cfg
Definition:
kiss_fftndr.h:20
kiss_fft.h
kiss_fft_scalar
#define kiss_fft_scalar
Definition:
kiss_fft.h:82
kiss_fftndr_alloc
kiss_fftndr_cfg KISS_FFT_API kiss_fftndr_alloc(const int *dims, int ndims, int inverse_fft, void *mem, size_t *lenmem)
Definition:
kiss_fftndr.c:30
kiss_fftndr_state
Definition:
kiss_fftndr.c:13
kiss_fft_cpx
Definition:
kiss_fft.h:86
kiss_fftnd.h
KISS_FFT_API
#define KISS_FFT_API
Definition:
kiss_fft.h:29
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44