jamie@99: /* libxtract feature extraction library jamie@99: * jamie@99: * Copyright (C) 2006 Jamie Bullock jamie@99: * jamie@99: * This program is free software; you can redistribute it and/or modify jamie@99: * it under the terms of the GNU General Public License as published by jamie@99: * the Free Software Foundation; either version 2 of the License, or jamie@99: * (at your option) any later version. jamie@99: * jamie@99: * This program is distributed in the hope that it will be useful, jamie@99: * but WITHOUT ANY WARRANTY; without even the implied warranty of jamie@99: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the jamie@99: * GNU General Public License for more details. jamie@99: * jamie@99: * You should have received a copy of the GNU General Public License jamie@99: * along with this program; if not, write to the Free Software jamie@99: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, jamie@99: * USA. jamie@99: */ jamie@99: jamie@99: /* xtract_globals_private.h: declares private global variables */ jamie@99: jamie@99: #ifndef XTRACT_GLOBALS_PRIVATE_H jamie@99: #define XTRACT_GLOBALS_PRIVATE_H jamie@99: jamie@99: #ifdef XTRACT_FFT jamie@99: #include jamie@99: jamie@102: struct xtract_fft_plans_ { jamie@102: jamie@102: fftwf_plan spectrum_plan; jamie@102: fftwf_plan autocorrelation_fft_plan_1; jamie@102: fftwf_plan autocorrelation_fft_plan_2; jamie@102: fftwf_plan dct_plan; jamie@102: jamie@102: }; jamie@102: jamie@102: #ifdef DEFINE_GLOBALS jamie@102: #define GLOBAL jamie@102: #else jamie@102: #define GLOBAL extern jamie@99: #endif jamie@99: jamie@102: GLOBAL struct xtract_fft_plans_ fft_plans; jamie@99: jamie@102: #endif /* FFT */ jamie@102: jamie@102: #endif /* Header guard */ jamie@102: