NLSF VQ now uses absolute error, and prediction

This commit is contained in:
Koen Vos 2016-02-21 13:31:19 +08:00 committed by Jean-Marc Valin
parent 2955f68b14
commit aa7e174891
4 changed files with 28 additions and 19 deletions

View file

@ -70,7 +70,7 @@ opus_int32 silk_NLSF_encode( /* O Returns
/* First stage: VQ */
ALLOC( err_Q26, psNLSF_CB->nVectors, opus_int32 );
silk_NLSF_VQ( err_Q26, pNLSF_Q15, psNLSF_CB->CB1_NLSF_Q8, psNLSF_CB->nVectors, psNLSF_CB->order );
silk_NLSF_VQ( err_Q26, pNLSF_Q15, psNLSF_CB->CB1_NLSF_Q8, psNLSF_CB->CB1_Wght_Q9, psNLSF_CB->nVectors, psNLSF_CB->order );
/* Sort the quantization errors */
ALLOC( tempIndices1, nSurvivors, opus_int );