diff options
author | Koen Vos <koen.vos@skype.net> | 2011-12-13 14:50:12 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-12-13 14:50:12 -0500 |
commit | bbfc9c9ee5de680320aeae2f8bd981ebe7af6861 (patch) | |
tree | 0b1f05721de43ea51d17034e6383447f892dabf7 /silk/structs.h | |
parent | bf75c8ec4d0dded188bc7793de6da56c7ff0be1c (diff) | |
download | opus-bbfc9c9ee5de680320aeae2f8bd981ebe7af6861.tar.gz |
Improves the accuracy such that it matches a float decoder much better
Diffstat (limited to 'silk/structs.h')
-rw-r--r-- | silk/structs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/structs.h b/silk/structs.h index 338281b8..aee53ce8 100644 --- a/silk/structs.h +++ b/silk/structs.h @@ -52,7 +52,7 @@ typedef struct { opus_int sLTP_buf_idx; opus_int sLTP_shp_buf_idx; opus_int32 rand_seed; - opus_int32 prev_inv_gain_Q16; + opus_int32 prev_inv_gain_Q31; opus_int rewhite_flag; } silk_nsq_state; @@ -255,7 +255,7 @@ typedef struct { /* Decoder state */ /********************************/ typedef struct { - opus_int32 prev_inv_gain_Q16; + opus_int32 prev_inv_gain_Q31; opus_int32 exc_Q10[ MAX_FRAME_LENGTH ]; opus_int32 sLPC_Q14_buf[ MAX_LPC_ORDER ]; opus_int16 outBuf[ MAX_FRAME_LENGTH + 2 * MAX_SUB_FRAME_LENGTH ]; /* Buffer for output signal */ |