comparison xtract/libxtract.h @ 248:4a9a0c872494

Minor formatting change
author Jamie Bullock <jamie@jamiebullock.com>
date Thu, 06 Nov 2014 14:51:23 +0000
parents 8c768f32a6a8
children
comparison
equal deleted inserted replaced
247:1e76914e8907 248:4a9a0c872494
30 * 30 *
31 * Hopefully this not only makes the library more efficient when computing large numbers of features, but also makes it more flexible because extraction functions can be combined arbitrarily (one can take the irregularility of the Mel Frequency Cepstral Coefficients for example). 31 * Hopefully this not only makes the library more efficient when computing large numbers of features, but also makes it more flexible because extraction functions can be combined arbitrarily (one can take the irregularility of the Mel Frequency Cepstral Coefficients for example).
32 * 32 *
33 * All feature extraction functions follow the same prototype: 33 * All feature extraction functions follow the same prototype:
34 * 34 *
35 int xtract_function_name(const double *data, const int N, const void *argv, double *result){ 35 * **int xtract_function_name(const double *data, const int N, const void *argv, double *result);**
36 * 36 *
37 * \param const double *data points to an array of doubles representing the input data 37 * \param const double *data points to an array of doubles representing the input data
38 * \param const int N represents the number of elementes from *data to be considered in the calculation 38 * \param const int N represents the number of elementes from *data to be considered in the calculation
39 * \param const void *argv represents an arbitrary list of arguments. Used to pass in values required by the feature calculation 39 * \param const void *argv represents an arbitrary list of arguments. Used to pass in values required by the feature calculation
40 * \param double *result points to an array of doubles, or a single double represnting the result of the calculation 40 * \param double *result points to an array of doubles, or a single double represnting the result of the calculation