alg_quant() now handles the sign of X[] separately from the quantisation

process
This commit is contained in:
Jean-Marc Valin 2008-12-04 21:21:41 -05:00
parent 8ed865813e
commit 6cde5dd24c
2 changed files with 17 additions and 7 deletions

View file

@ -50,7 +50,7 @@
* @param p Pitch vector (it is assumed that p+x is a unit vector)
* @param enc Entropy encoder state
*/
void alg_quant(celt_norm_t *X, celt_mask_t *W, int N, int K, const celt_norm_t *P, ec_enc *enc);
void alg_quant(celt_norm_t *X, celt_mask_t *W, int N, int K, celt_norm_t *P, ec_enc *enc);
/** Algebraic pulse decoder
* @param x Decoded normalised spectrum (returned)