Index: silk/tables_LTP.c |
diff --git a/silk/tables_LTP.c b/silk/tables_LTP.c |
index b0cff443347951ee9f94e48c9288670f5b3a2e60..0e6a0254d5db55262cece02698d53eb4b1327d6b 100644 |
--- a/silk/tables_LTP.c |
+++ b/silk/tables_LTP.c |
@@ -267,6 +267,30 @@ 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 |
}; |