r858: Merge 2.1:
[cinelerra_cv/ct.git] / toolame-02l / psycho_3priv.h
blob01adb84e6e407045126c694fbdf5b12c310274e9
1 void psycho_3_fft(FLOAT *sample, FLOAT *energy);
2 void psycho_3_powerdensityspectrum(FLOAT *energy, FLOAT *power);
4 void psycho_3_tonal_label (FLOAT *power, int *tonelabel, FLOAT *Xtm);
5 void psycho_3_tonal_label_range(FLOAT *power, int *type, int *maxima, FLOAT *Xtm, int start, int end, int srange) ;
8 void psycho_3_init_add_db (void);
9 INLINE double psycho_3_add_db (double a, double b);
11 void psycho_3_noise_label (FLOAT *power, FLOAT *energy, int *tonelabel, int *noiselabel, FLOAT *Xnm);
12 void psycho_3_decimation(FLOAT *ath, int *tonelabel, FLOAT *Xtm, int *noiselabel, FLOAT *Xnm, FLOAT *bark);
14 void psycho_3_threshold(FLOAT *LTg, int *tonelabel, FLOAT *Xtm, int *noiselabel, FLOAT *Xnm, FLOAT *bark, FLOAT *ath, int bit_rate, int *freq_subset);
16 void psycho_3_minimummasking(FLOAT *LTg, double *LTmin, int *freq_subset);
18 void psycho_3_spl(double *Lsb, FLOAT *power, double *scale);
20 void psycho_3_smr(double *LTmin, double *Lsb);
22 #ifdef OLDTHRESH
23 void psycho_3_threshold_old(FLOAT *LTg, int *tonelabel, FLOAT *Xtm, int *noiselabel, FLOAT *Xnm, FLOAT *bark, FLOAT *ath, int bit_rate);
24 void psycho_3_minimummasking_old(FLOAT *LTg, double *LTmin);
25 #endif
27 void psycho_3_dump(int *tonelabel, FLOAT *Xtm, int *noiselabel, FLOAT *Xnm);
28 void psycho_3_threshold_new(FLOAT *LTg, int *tonelabel, FLOAT *Xtm, int *noiselabel, FLOAT *Xnm, FLOAT *bark, FLOAT *ath, int bit_rate, int *freq_subset);