summaryrefslogtreecommitdiff
path: root/gr-fft/include
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fft/include')
-rw-r--r--gr-fft/include/gnuradio/fft/fft.h16
-rw-r--r--gr-fft/include/gnuradio/fft/window.h14
2 files changed, 15 insertions, 15 deletions
diff --git a/gr-fft/include/gnuradio/fft/fft.h b/gr-fft/include/gnuradio/fft/fft.h
index 3aed9cc3fb..81cd51de21 100644
--- a/gr-fft/include/gnuradio/fft/fft.h
+++ b/gr-fft/include/gnuradio/fft/fft.h
@@ -69,11 +69,11 @@ namespace gr {
* \ingroup misc
*/
class FFT_API fft_complex {
- int d_fft_size;
+ int d_fft_size;
int d_nthreads;
gr_complex *d_inbuf;
gr_complex *d_outbuf;
- void *d_plan;
+ void *d_plan;
public:
fft_complex(int fft_size, bool forward = true, int nthreads=1);
@@ -112,11 +112,11 @@ namespace gr {
* \ingroup misc
*/
class FFT_API fft_real_fwd {
- int d_fft_size;
+ int d_fft_size;
int d_nthreads;
- float *d_inbuf;
+ float *d_inbuf;
gr_complex *d_outbuf;
- void *d_plan;
+ void *d_plan;
public:
fft_real_fwd (int fft_size, int nthreads=1);
@@ -155,11 +155,11 @@ namespace gr {
* \ingroup misc
*/
class FFT_API fft_real_rev {
- int d_fft_size;
+ int d_fft_size;
int d_nthreads;
gr_complex *d_inbuf;
- float *d_outbuf;
- void *d_plan;
+ float *d_outbuf;
+ void *d_plan;
public:
fft_real_rev(int fft_size, int nthreads=1);
diff --git a/gr-fft/include/gnuradio/fft/window.h b/gr-fft/include/gnuradio/fft/window.h
index 4b13ddd5c3..564753a61c 100644
--- a/gr-fft/include/gnuradio/fft/window.h
+++ b/gr-fft/include/gnuradio/fft/window.h
@@ -35,13 +35,13 @@ namespace gr {
public:
enum win_type {
- WIN_HAMMING = 0, //!< Hamming window; max attenuation 53 dB
- WIN_HANN = 1, //!< Hann window; max attenuation 44 dB
- WIN_BLACKMAN = 2, //!< Blackman window; max attenuation 74 dB
- WIN_RECTANGULAR = 3, //!< Basic rectangular window; max attenuation 21 dB
- WIN_KAISER = 4, //!< Kaiser window; max attenuation see window::max_attenuation
- WIN_BLACKMAN_hARRIS = 5, //!< Blackman-harris window; max attenuation 92 dB
- WIN_BLACKMAN_HARRIS = 5, //!< alias to WIN_BLACKMAN_hARRIS for capitalization consistency
+ WIN_HAMMING = 0, //!< Hamming window; max attenuation 53 dB
+ WIN_HANN = 1, //!< Hann window; max attenuation 44 dB
+ WIN_BLACKMAN = 2, //!< Blackman window; max attenuation 74 dB
+ WIN_RECTANGULAR = 3, //!< Basic rectangular window; max attenuation 21 dB
+ WIN_KAISER = 4, //!< Kaiser window; max attenuation see window::max_attenuation
+ WIN_BLACKMAN_hARRIS = 5, //!< Blackman-harris window; max attenuation 92 dB
+ WIN_BLACKMAN_HARRIS = 5, //!< alias to WIN_BLACKMAN_hARRIS for capitalization consistency
WIN_BARTLETT = 6, //!< Barlett (triangular) window; max attenuation 26 dB
WIN_FLATTOP = 7, //!< flat top window; useful in FFTs; max attenuation 93 dB
};