annotate src/xtract_globals_private.h @ 124:fc4bc58b92da

- fixed xtract_spread() -- now just calls xtract_spectral_variance()
author Jamie Bullock <jamie@postlude.co.uk>
date Thu, 31 Mar 2011 12:22:29 +0000
parents 7a5859764ccd
children 67f6b6e63d45
rev   line source
jamie@99 1 /* libxtract feature extraction library
jamie@99 2 *
jamie@99 3 * Copyright (C) 2006 Jamie Bullock
jamie@99 4 *
jamie@99 5 * This program is free software; you can redistribute it and/or modify
jamie@99 6 * it under the terms of the GNU General Public License as published by
jamie@99 7 * the Free Software Foundation; either version 2 of the License, or
jamie@99 8 * (at your option) any later version.
jamie@99 9 *
jamie@99 10 * This program is distributed in the hope that it will be useful,
jamie@99 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
jamie@99 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
jamie@99 13 * GNU General Public License for more details.
jamie@99 14 *
jamie@99 15 * You should have received a copy of the GNU General Public License
jamie@99 16 * along with this program; if not, write to the Free Software
jamie@99 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
jamie@99 18 * USA.
jamie@99 19 */
jamie@99 20
jamie@99 21 /* xtract_globals_private.h: declares private global variables */
jamie@99 22
jamie@99 23 #ifndef XTRACT_GLOBALS_PRIVATE_H
jamie@99 24 #define XTRACT_GLOBALS_PRIVATE_H
jamie@99 25
jamie@99 26 #ifdef XTRACT_FFT
jamie@99 27 #include <fftw3.h>
jamie@99 28
jamie@102 29 struct xtract_fft_plans_ {
jamie@102 30
jamie@102 31 fftwf_plan spectrum_plan;
jamie@102 32 fftwf_plan autocorrelation_fft_plan_1;
jamie@102 33 fftwf_plan autocorrelation_fft_plan_2;
jamie@102 34 fftwf_plan dct_plan;
jamie@102 35
jamie@102 36 };
jamie@102 37
jamie@102 38 #ifdef DEFINE_GLOBALS
jamie@102 39 #define GLOBAL
jamie@102 40 #else
jamie@102 41 #define GLOBAL extern
jamie@99 42 #endif
jamie@99 43
jamie@102 44 GLOBAL struct xtract_fft_plans_ fft_plans;
jamie@99 45
jamie@102 46 #endif /* FFT */
jamie@102 47
jamie@102 48 #endif /* Header guard */
jamie@102 49