Addressing multiple LSF-related issues
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Sat, 11 Jun 2011 12:14:35 +0000 (08:14 -0400)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Sat, 11 Jun 2011 12:18:03 +0000 (08:18 -0400)
commitf6e781ab8b73a1f9a1c625b51b694fda26d75c53
tree48b40a6d814dfb627949db93af061924569e96b0
parent8019e4e32eebd92026052e96670f223fc99667c8
Addressing multiple LSF-related issues

- Merged the LPC stabilization from NLSF2A_stable.c into NLSF2A.c
- The bandwidth expansion in NLSF2A() now operates on int32 LPC coefficients in
Q17 domain (instead of int16 Q12 coefficients)
- The function bwexpander_32() has a more precise way of updating the chirp
variable (round to nearest, instead of round down)
- Changed a few variables in NLSF_stabilize() from int16 to int32 to avoid signed
wrap-around (no difference in results as the wrap-around would always be reversed
later)
- The LSF codebook for WB speech has a quantization stepsize of 0.15 (was 0.16).
This doesn't break the bitstream, although it slightly limits quality of signals
encoded with the old version and decoded with the new one (I can't really hear it
and PESQ gives high scores as well).  I does improve handling of tonal signals.
- As discussed: the Q-domain of the poly function is now in Q16 (was Q20)
- As discussed: limiting the LSFs in NLSF_decode() to 0...32767
- The silk_NLSF_DELTA_MIN values were lowered to deal with a possible future situation with less or no input HP filtering.
39 files changed:
silk/fixed/silk_find_LPC_FIX.c
silk/float/silk_find_LPC_FLP.c
silk/float/silk_main_FLP.h
silk/float/silk_wrappers_FLP.c
silk/silk_CNG.c
silk/silk_LPC_inv_pred_gain.c
silk/silk_LPC_stabilize.c [deleted file]
silk/silk_LPC_synthesis_filter.c [deleted file]
silk/silk_LPC_synthesis_order16.c [deleted file]
silk/silk_NLSF2A.c
silk/silk_NLSF2A_stable.c [deleted file]
silk/silk_NLSF_VQ_weights_laroia.c
silk/silk_NLSF_decode.c
silk/silk_NLSF_del_dec_quant.c
silk/silk_NLSF_encode.c
silk/silk_NLSF_stabilize.c
silk/silk_NLSF_unpack.c
silk/silk_PLC.c
silk/silk_SigProc_FIX.h
silk/silk_array_maxabs.c
silk/silk_bwexpander.c
silk/silk_bwexpander_32.c
silk/silk_common.vcxproj
silk/silk_common.vcxproj.filters
silk/silk_control_codec.c
silk/silk_decode_parameters.c
silk/silk_decoder_set_fs.c
silk/silk_define.h
silk/silk_main.h
silk/silk_pitch_analysis_core.c
silk/silk_process_NLSFs.c
silk/silk_resampler.c
silk/silk_schur.c
silk/silk_schur64.c
silk/silk_stereo_find_predictor.c
silk/silk_tables.h
silk/silk_tables_NLSF_CB_NB_MB.c
silk/silk_tables_NLSF_CB_WB.c
silk_sources.mk