diff options
author | Jean-Marc Valin <Jean-Marc.Valin@csiro.au> | 2007-11-30 08:57:43 +0300 |
---|---|---|
committer | Jean-Marc Valin <Jean-Marc.Valin@csiro.au> | 2007-11-30 08:57:43 +0300 |
commit | dff7d36a88df376a035b922dd6fb7648d5d24f4f (patch) | |
tree | 865822ecde44cf3b5435229d95ba2aa5f0cf3360 /libcelt/bands.h | |
parent | 991c0f0254426e67f2f7938876001acca31cb5dd (diff) |
Some pitch prediction work.
Diffstat (limited to 'libcelt/bands.h')
-rw-r--r-- | libcelt/bands.h | 7 |
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 */ |