From 22f1fce330059ef8a383cf327a023d6a9da5ad3e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 15 Feb 2016 02:44:20 +0100 Subject: Include toolame-dab as library --- libtoolame-dab/psycho_1_priv.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libtoolame-dab/psycho_1_priv.h (limited to 'libtoolame-dab/psycho_1_priv.h') diff --git a/libtoolame-dab/psycho_1_priv.h b/libtoolame-dab/psycho_1_priv.h new file mode 100644 index 0000000..58b2aa8 --- /dev/null +++ b/libtoolame-dab/psycho_1_priv.h @@ -0,0 +1,22 @@ + + + + + +void psycho_1_read_cbound (int lay, int freq); +void psycho_1_read_freq_band (g_ptr *, int, int); +void psycho_1_init_add_db (void); +double add_db (double a, double b); +void psycho_1_make_map (mask[HAN_SIZE], g_thres *); + +void psycho_1_hann_fft_pickmax (double sample[FFT_SIZE], mask power[HAN_SIZE], double spike[SBLIMIT], FLOAT energy[FFT_SIZE]); +void psycho_1_tonal_label (mask power[HAN_SIZE], int *tone); +void psycho_1_noise_label (mask *power, int *noise, g_thres *, FLOAT[FFT_SIZE]); +void psycho_1_subsampling (mask[HAN_SIZE], g_thres *, int *, int *); +void psycho_1_threshold (mask power[HAN_SIZE], g_thres *, int *, int *, int); +void psycho_1_minimum_mask (g_thres *, double[SBLIMIT], int); +void psycho_1_smr (double[SBLIMIT], double[SBLIMIT], double[SBLIMIT], int); + + + +void psycho_1_dump(mask power[HAN_SIZE], int *tone, int *noise); -- cgit v1.2.3