Store decoded SILK pulses as 16-bit vector

This saves 640 bytes on the peak stack usage.
This commit is contained in:
Jean-Marc Valin 2014-01-06 21:59:48 -05:00
parent ad8371d172
commit dce69d2b9b
7 changed files with 17 additions and 17 deletions

View file

@ -39,7 +39,7 @@ void silk_decode_core(
silk_decoder_state *psDec, /* I/O Decoder state */
silk_decoder_control *psDecCtrl, /* I Decoder control */
opus_int16 xq[], /* O Decoded speech */
const opus_int pulses[ MAX_FRAME_LENGTH ] /* I Pulse signal */
const opus_int16 pulses[ MAX_FRAME_LENGTH ] /* I Pulse signal */
)
{
opus_int i, k, lag = 0, start_idx, sLTP_buf_idx, NLSF_interpolation_flag, signalType;