summaryrefslogtreecommitdiffstats
path: root/libtoolame-dab/psycho_3priv.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-15 02:44:20 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-15 02:44:20 +0100
commit22f1fce330059ef8a383cf327a023d6a9da5ad3e (patch)
tree6893f158dcaaaa1b9f1317923c32a841ba31f768 /libtoolame-dab/psycho_3priv.h
parent891bb2592944aa2be2d81e1583e73e632e70537f (diff)
downloadODR-AudioEnc-22f1fce330059ef8a383cf327a023d6a9da5ad3e.tar.gz
ODR-AudioEnc-22f1fce330059ef8a383cf327a023d6a9da5ad3e.tar.bz2
ODR-AudioEnc-22f1fce330059ef8a383cf327a023d6a9da5ad3e.zip
Include toolame-dab as library
Diffstat (limited to 'libtoolame-dab/psycho_3priv.h')
-rw-r--r--libtoolame-dab/psycho_3priv.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/libtoolame-dab/psycho_3priv.h b/libtoolame-dab/psycho_3priv.h
new file mode 100644
index 0000000..d4fc01c
--- /dev/null
+++ b/libtoolame-dab/psycho_3priv.h
@@ -0,0 +1,28 @@
+void psycho_3_fft(FLOAT *sample, FLOAT *energy);
+void psycho_3_powerdensityspectrum(FLOAT *energy, FLOAT *power);
+
+void psycho_3_tonal_label (FLOAT *power, int *tonelabel, FLOAT *Xtm);
+void psycho_3_tonal_label_range(FLOAT *power, int *type, int *maxima, FLOAT *Xtm, int start, int end, int srange) ;
+
+
+void psycho_3_init_add_db (void);
+double psycho_3_add_db (double a, double b);
+
+void psycho_3_noise_label (FLOAT *power, FLOAT *energy, int *tonelabel, int *noiselabel, FLOAT *Xnm);
+void psycho_3_decimation(FLOAT *ath, int *tonelabel, FLOAT *Xtm, int *noiselabel, FLOAT *Xnm, FLOAT *bark);
+
+void psycho_3_threshold(FLOAT *LTg, int *tonelabel, FLOAT *Xtm, int *noiselabel, FLOAT *Xnm, FLOAT *bark, FLOAT *ath, int bit_rate, int *freq_subset);
+
+void psycho_3_minimummasking(FLOAT *LTg, double *LTmin, int *freq_subset);
+
+void psycho_3_spl(double *Lsb, FLOAT *power, double *scale);
+
+void psycho_3_smr(double *LTmin, double *Lsb);
+
+#ifdef OLDTHRESH
+void psycho_3_threshold_old(FLOAT *LTg, int *tonelabel, FLOAT *Xtm, int *noiselabel, FLOAT *Xnm, FLOAT *bark, FLOAT *ath, int bit_rate);
+void psycho_3_minimummasking_old(FLOAT *LTg, double *LTmin);
+#endif
+
+void psycho_3_dump(int *tonelabel, FLOAT *Xtm, int *noiselabel, FLOAT *Xnm);
+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);