diff options
author | Koen Vos <koenvos@users.noreply.github.com> | 2016-02-18 21:01:43 +0800 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2016-07-17 15:05:55 -0400 |
commit | 8c9d41867ef70be06e96c7843b9e45b08c0bc721 (patch) | |
tree | 7f81004663ddc28154dc07d62eccb9344a3db784 /silk/tables_LTP.c | |
parent | 4f5557c3095a1d212161609ff638cdae67a9b303 (diff) | |
download | opus-8c9d41867ef70be06e96c7843b9e45b08c0bc721.tar.gz |
simplified computation of LTP coefs
Diffstat (limited to 'silk/tables_LTP.c')
-rw-r--r-- | silk/tables_LTP.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/silk/tables_LTP.c b/silk/tables_LTP.c index 0e6a0254..30d2a1ea 100644 --- a/silk/tables_LTP.c +++ b/silk/tables_LTP.c @@ -51,8 +51,6 @@ static const opus_uint8 silk_LTP_gain_iCDF_2[32] = { 24, 20, 16, 12, 9, 5, 2, 0 }; -const opus_int16 silk_LTP_gain_middle_avg_RD_Q14 = 12304; - static const opus_uint8 silk_LTP_gain_BITS_Q5_0[8] = { 15, 131, 138, 138, 155, 155, 173, 173 }; @@ -267,30 +265,6 @@ const opus_int8 * const silk_LTP_vq_ptrs_Q7[NB_LTP_CBKS] = { (opus_int8 *)&silk_LTP_gain_vq_2[0][0] }; -/* Maximum frequency-dependent response of the pitch taps above, - computed as max(abs(freqz(taps))) */ -static const opus_uint8 silk_LTP_gain_vq_0_gain[8] = { - 46, 2, 90, 87, 93, 91, 82, 98 -}; - -static const opus_uint8 silk_LTP_gain_vq_1_gain[16] = { - 109, 120, 118, 12, 113, 115, 117, 119, - 99, 59, 87, 111, 63, 111, 112, 80 -}; - -static const opus_uint8 silk_LTP_gain_vq_2_gain[32] = { - 126, 124, 125, 124, 129, 121, 126, 23, - 132, 127, 127, 127, 126, 127, 122, 133, - 130, 134, 101, 118, 119, 145, 126, 86, - 124, 120, 123, 119, 170, 173, 107, 109 -}; - -const opus_uint8 * const silk_LTP_vq_gain_ptrs_Q7[NB_LTP_CBKS] = { - &silk_LTP_gain_vq_0_gain[0], - &silk_LTP_gain_vq_1_gain[0], - &silk_LTP_gain_vq_2_gain[0] -}; - const opus_int8 silk_LTP_vq_sizes[NB_LTP_CBKS] = { 8, 16, 32 }; |