mirror of
https://github.com/xiph/opus.git
synced 2025-06-01 08:07:41 +00:00
Store decoded SILK pulses as 16-bit vector
This saves 640 bytes on the peak stack usage.
This commit is contained in:
parent
ad8371d172
commit
dce69d2b9b
7 changed files with 17 additions and 17 deletions
|
@ -74,7 +74,7 @@ void silk_encode_signs(
|
|||
/* Decodes signs of excitation */
|
||||
void silk_decode_signs(
|
||||
ec_dec *psRangeDec, /* I/O Compressor data structure */
|
||||
opus_int pulses[], /* I/O pulse signal */
|
||||
opus_int16 pulses[], /* I/O pulse signal */
|
||||
opus_int length, /* I length of input */
|
||||
const opus_int signalType, /* I Signal type */
|
||||
const opus_int quantOffsetType, /* I Quantization offset type */
|
||||
|
@ -83,7 +83,7 @@ void silk_decode_signs(
|
|||
{
|
||||
opus_int i, j, p;
|
||||
opus_uint8 icdf[ 2 ];
|
||||
opus_int *q_ptr;
|
||||
opus_int16 *q_ptr;
|
||||
const opus_uint8 *icdf_ptr;
|
||||
|
||||
icdf[ 1 ] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue