annotate src/libxtract.c @ 285:89fe52066db1 tip master

MSCV missing ssize_t fix
author Jamie Bullock <jamie@jamiebullock.com>
date Tue, 16 Jul 2019 18:29:20 +0100
parents d383a8c66b5d
children
rev   line source
jamie@141 1 /*
jamie@141 2 * Copyright (C) 2012 Jamie Bullock
jamie@140 3 *
jamie@141 4 * Permission is hereby granted, free of charge, to any person obtaining a copy
jamie@141 5 * of this software and associated documentation files (the "Software"), to
jamie@141 6 * deal in the Software without restriction, including without limitation the
jamie@141 7 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
jamie@141 8 * sell copies of the Software, and to permit persons to whom the Software is
jamie@141 9 * furnished to do so, subject to the following conditions:
jamie@1 10 *
jamie@141 11 * The above copyright notice and this permission notice shall be included in
jamie@141 12 * all copies or substantial portions of the Software.
jamie@1 13 *
jamie@141 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
jamie@141 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
jamie@141 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
jamie@141 17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
jamie@141 18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
jamie@141 19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
jamie@141 20 * IN THE SOFTWARE.
jamie@1 21 *
jamie@1 22 */
jamie@1 23
jamie@259 24 #include "xtract/libxtract.h"
jamie@56 25 #define XTRACT_H
jamie@1 26
jamie@146 27 int(*xtract[])(const double *, const int, const void *, double *) =
jamie@140 28 {
jamie@1 29 /* xtract_scalar.h */
jamie@1 30 xtract_mean,
jamie@1 31 xtract_variance,
jamie@1 32 xtract_standard_deviation,
jamie@125 33 xtract_average_deviation,
jamie@1 34 xtract_skewness,
jamie@1 35 xtract_kurtosis,
jamie@52 36 xtract_spectral_mean,
jamie@52 37 xtract_spectral_variance,
jamie@52 38 xtract_spectral_standard_deviation,
jamie@52 39 xtract_spectral_skewness,
jamie@52 40 xtract_spectral_kurtosis,
jamie@52 41 xtract_spectral_centroid,
jamie@1 42 xtract_irregularity_k,
jamie@1 43 xtract_irregularity_j,
jamie@1 44 xtract_tristimulus_1,
jamie@1 45 xtract_tristimulus_2,
jamie@1 46 xtract_tristimulus_3,
jamie@1 47 xtract_smoothness,
jamie@1 48 xtract_spread,
jamie@1 49 xtract_zcr,
jamie@1 50 xtract_rolloff,
jamie@1 51 xtract_loudness,
jamie@1 52 xtract_flatness,
jamie@113 53 xtract_flatness_db,
jamie@1 54 xtract_tonality,
jamie@1 55 xtract_crest,
jamie@1 56 xtract_noisiness,
jamie@1 57 xtract_rms_amplitude,
jamie@52 58 xtract_spectral_inharmonicity,
jamie@1 59 xtract_power,
jamie@1 60 xtract_odd_even_ratio,
jamie@1 61 xtract_sharpness,
jamie@52 62 xtract_spectral_slope,
jamie@45 63 xtract_lowest_value,
jamie@45 64 xtract_highest_value,
jamie@45 65 xtract_sum,
jamie@59 66 xtract_nonzero_count,
jamie@1 67 xtract_hps,
jamie@10 68 xtract_f0,
jamie@43 69 xtract_failsafe_f0,
jamie@161 70 xtract_wavelet_f0,
jamie@205 71 xtract_midicent,
jamie@107 72 /* xtract_delta.h */
jamie@106 73 xtract_lnorm,
jamie@1 74 xtract_flux,
jamie@1 75 xtract_attack_time,
jamie@1 76 xtract_decay_time,
jamie@106 77 xtract_difference_vector,
jamie@107 78 /* xtract_vector.h */
jamie@30 79 xtract_autocorrelation,
jamie@30 80 xtract_amdf,
jamie@30 81 xtract_asdf,
jamie@30 82 xtract_bark_coefficients,
jamie@52 83 xtract_peak_spectrum,
jamie@54 84 xtract_spectrum,
jamie@30 85 xtract_autocorrelation_fft,
jamie@30 86 xtract_mfcc,
jamie@38 87 xtract_dct,
jamie@104 88 xtract_harmonic_spectrum,
jamie@104 89 xtract_lpc,
jamie@107 90 xtract_lpcc,
jamie@115 91 xtract_subbands,
jamie@107 92 /* xtract_helper.h */
jamie@244 93 xtract_windowed,
jamie@244 94 xtract_smoothed
jamie@1 95 };
jamie@10 96