00001 /* libxtract feature extraction library 00002 * 00003 * Copyright (C) 2006 Jamie Bullock 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 00018 * USA. 00019 */ 00020 00023 #ifndef XTRACT_HELPER_H 00024 #define XTRACT_HELPER_H 00025 00026 #ifdef __cplusplus 00027 extern "C" { 00028 #endif 00029 00050 int xtract_windowed(const float *data, const int N, const void *argv, float *result); 00051 00064 int xtract_features_from_subframes(const float *data, const int N, const int feature, const void *argv, float *result); 00065 00067 int xtract_is_denormal(double const d); 00068 00071 #ifdef __cplusplus 00072 } 00073 #endif 00074 00075 #endif 00076 00077 00078