mirror of
https://github.com/xiph/opus.git
synced 2025-05-25 20:59:13 +00:00
NLSF VQ now uses absolute error, and prediction
This commit is contained in:
parent
2955f68b14
commit
aa7e174891
4 changed files with 28 additions and 19 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue