Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <Jean-Marc.Valin@csiro.au>2007-11-30 08:57:43 +0300
committerJean-Marc Valin <Jean-Marc.Valin@csiro.au>2007-11-30 08:57:43 +0300
commitdff7d36a88df376a035b922dd6fb7648d5d24f4f (patch)
tree865822ecde44cf3b5435229d95ba2aa5f0cf3360 /libcelt/bands.h
parent991c0f0254426e67f2f7938876001acca31cb5dd (diff)
Some pitch prediction work.
Diffstat (limited to 'libcelt/bands.h')
-rw-r--r--libcelt/bands.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcelt/bands.h b/libcelt/bands.h
index 244e69f..8b09297 100644
--- a/libcelt/bands.h
+++ b/libcelt/bands.h
@@ -32,7 +32,10 @@
#ifndef BANDS_H
#define BANDS_H
+/* Number of constant-energy bands */
#define NBANDS 15
+/* Number of bands only for the pitch prediction */
+#define PBANDS 5
void compute_bands(float *X, int B, float *bands);
@@ -40,6 +43,10 @@ void normalise_bands(float *X, int B, float *bands);
void denormalise_bands(float *X, int B, float *bands);
+void compute_pitch_gain(float *X, int B, float *P, float *gains, float *bank);
+
+void pitch_quant_bands(float *X, int B, float *P, float *gains);
+
void pitch_renormalise_bands(float *X, int B, float *P);
#endif /* BANDS_H */