OLD | NEW |
1 /*********************************************************************** | 1 /*********************************************************************** |
2 Copyright (c) 2006-2011, Skype Limited. All rights reserved. | 2 Copyright (c) 2006-2011, Skype Limited. All rights reserved. |
3 Redistribution and use in source and binary forms, with or without | 3 Redistribution and use in source and binary forms, with or without |
4 modification, are permitted provided that the following conditions | 4 modification, are permitted provided that the following conditions |
5 are met: | 5 are met: |
6 - Redistributions of source code must retain the above copyright notice, | 6 - Redistributions of source code must retain the above copyright notice, |
7 this list of conditions and the following disclaimer. | 7 this list of conditions and the following disclaimer. |
8 - Redistributions in binary form must reproduce the above copyright | 8 - Redistributions in binary form must reproduce the above copyright |
9 notice, this list of conditions and the following disclaimer in the | 9 notice, this list of conditions and the following disclaimer in the |
10 documentation and/or other materials provided with the distribution. | 10 documentation and/or other materials provided with the distribution. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 61, 51, 42, 32, 23, 15, 8, 0 | 44 61, 51, 42, 32, 23, 15, 8, 0 |
45 }; | 45 }; |
46 | 46 |
47 static const opus_uint8 silk_LTP_gain_iCDF_2[32] = { | 47 static const opus_uint8 silk_LTP_gain_iCDF_2[32] = { |
48 241, 225, 211, 199, 187, 175, 164, 153, | 48 241, 225, 211, 199, 187, 175, 164, 153, |
49 142, 132, 123, 114, 105, 96, 88, 80, | 49 142, 132, 123, 114, 105, 96, 88, 80, |
50 72, 64, 57, 50, 44, 38, 33, 29, | 50 72, 64, 57, 50, 44, 38, 33, 29, |
51 24, 20, 16, 12, 9, 5, 2, 0 | 51 24, 20, 16, 12, 9, 5, 2, 0 |
52 }; | 52 }; |
53 | 53 |
54 const opus_int16 silk_LTP_gain_middle_avg_RD_Q14 = 12304; | |
55 | |
56 static const opus_uint8 silk_LTP_gain_BITS_Q5_0[8] = { | 54 static const opus_uint8 silk_LTP_gain_BITS_Q5_0[8] = { |
57 15, 131, 138, 138, 155, 155, 173, 173 | 55 15, 131, 138, 138, 155, 155, 173, 173 |
58 }; | 56 }; |
59 | 57 |
60 static const opus_uint8 silk_LTP_gain_BITS_Q5_1[16] = { | 58 static const opus_uint8 silk_LTP_gain_BITS_Q5_1[16] = { |
61 69, 93, 115, 118, 131, 138, 141, 138, | 59 69, 93, 115, 118, 131, 138, 141, 138, |
62 150, 150, 155, 150, 155, 160, 166, 160 | 60 150, 150, 155, 150, 155, 160, 166, 160 |
63 }; | 61 }; |
64 | 62 |
65 static const opus_uint8 silk_LTP_gain_BITS_Q5_2[32] = { | 63 static const opus_uint8 silk_LTP_gain_BITS_Q5_2[32] = { |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 | 285 |
288 const opus_uint8 * const silk_LTP_vq_gain_ptrs_Q7[NB_LTP_CBKS] = { | 286 const opus_uint8 * const silk_LTP_vq_gain_ptrs_Q7[NB_LTP_CBKS] = { |
289 &silk_LTP_gain_vq_0_gain[0], | 287 &silk_LTP_gain_vq_0_gain[0], |
290 &silk_LTP_gain_vq_1_gain[0], | 288 &silk_LTP_gain_vq_1_gain[0], |
291 &silk_LTP_gain_vq_2_gain[0] | 289 &silk_LTP_gain_vq_2_gain[0] |
292 }; | 290 }; |
293 | 291 |
294 const opus_int8 silk_LTP_vq_sizes[NB_LTP_CBKS] = { | 292 const opus_int8 silk_LTP_vq_sizes[NB_LTP_CBKS] = { |
295 8, 16, 32 | 293 8, 16, 32 |
296 }; | 294 }; |
OLD | NEW |