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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 142, 163, 193, 222, 27, 48, 77, 103, | 67 142, 163, 193, 222, 27, 48, 77, 103, |
68 133, 158, 179, 196, 215, 232, 29, 47, | 68 133, 158, 179, 196, 215, 232, 29, 47, |
69 74, 99, 124, 151, 176, 198, 220, 237, | 69 74, 99, 124, 151, 176, 198, 220, 237, |
70 33, 42, 61, 76, 93, 121, 155, 174, | 70 33, 42, 61, 76, 93, 121, 155, 174, |
71 207, 225, 29, 53, 87, 112, 136, 154, | 71 207, 225, 29, 53, 87, 112, 136, 154, |
72 170, 188, 208, 227, 24, 30, 52, 84, | 72 170, 188, 208, 227, 24, 30, 52, 84, |
73 131, 150, 166, 186, 203, 229, 37, 48, | 73 131, 150, 166, 186, 203, 229, 37, 48, |
74 64, 84, 104, 118, 156, 177, 201, 230 | 74 64, 84, 104, 118, 156, 177, 201, 230 |
75 }; | 75 }; |
76 | 76 |
| 77 static const opus_int16 silk_NLSF_CB1_Wght_Q9[ 320 ] = { |
| 78 2897, 2314, 2314, 2314, 2287, 2287, 2314, 2300, 2327, 2287, |
| 79 2888, 2580, 2394, 2367, 2314, 2274, 2274, 2274, 2274, 2194, |
| 80 2487, 2340, 2340, 2314, 2314, 2314, 2340, 2340, 2367, 2354, |
| 81 3216, 2766, 2340, 2340, 2314, 2274, 2221, 2207, 2261, 2194, |
| 82 2460, 2474, 2367, 2394, 2394, 2394, 2394, 2367, 2407, 2314, |
| 83 3479, 3056, 2127, 2207, 2274, 2274, 2274, 2287, 2314, 2261, |
| 84 3282, 3141, 2580, 2394, 2247, 2221, 2207, 2194, 2194, 2114, |
| 85 4096, 3845, 2221, 2620, 2620, 2407, 2314, 2394, 2367, 2074, |
| 86 3178, 3244, 2367, 2221, 2553, 2434, 2340, 2314, 2167, 2221, |
| 87 3338, 3488, 2726, 2194, 2261, 2460, 2354, 2367, 2207, 2101, |
| 88 2354, 2420, 2327, 2367, 2394, 2420, 2420, 2420, 2460, 2367, |
| 89 3779, 3629, 2434, 2527, 2367, 2274, 2274, 2300, 2207, 2048, |
| 90 3254, 3225, 2713, 2846, 2447, 2327, 2300, 2300, 2274, 2127, |
| 91 3263, 3300, 2753, 2806, 2447, 2261, 2261, 2247, 2127, 2101, |
| 92 2873, 2981, 2633, 2367, 2407, 2354, 2194, 2247, 2247, 2114, |
| 93 3225, 3197, 2633, 2580, 2274, 2181, 2247, 2221, 2221, 2141, |
| 94 3178, 3310, 2740, 2407, 2274, 2274, 2274, 2287, 2194, 2114, |
| 95 3141, 3272, 2460, 2061, 2287, 2500, 2367, 2487, 2434, 2181, |
| 96 3507, 3282, 2314, 2700, 2647, 2474, 2367, 2394, 2340, 2127, |
| 97 3423, 3535, 3038, 3056, 2300, 1950, 2221, 2274, 2274, 2274, |
| 98 3404, 3366, 2087, 2687, 2873, 2354, 2420, 2274, 2474, 2540, |
| 99 3760, 3488, 1950, 2660, 2897, 2527, 2394, 2367, 2460, 2261, |
| 100 3028, 3272, 2740, 2888, 2740, 2154, 2127, 2287, 2234, 2247, |
| 101 3695, 3657, 2025, 1969, 2660, 2700, 2580, 2500, 2327, 2367, |
| 102 3207, 3413, 2354, 2074, 2888, 2888, 2340, 2487, 2247, 2167, |
| 103 3338, 3366, 2846, 2780, 2327, 2154, 2274, 2287, 2114, 2061, |
| 104 2327, 2300, 2181, 2167, 2181, 2367, 2633, 2700, 2700, 2553, |
| 105 2407, 2434, 2221, 2261, 2221, 2221, 2340, 2420, 2607, 2700, |
| 106 3038, 3244, 2806, 2888, 2474, 2074, 2300, 2314, 2354, 2380, |
| 107 2221, 2154, 2127, 2287, 2500, 2793, 2793, 2620, 2580, 2367, |
| 108 3676, 3713, 2234, 1838, 2181, 2753, 2726, 2673, 2513, 2207, |
| 109 2793, 3160, 2726, 2553, 2846, 2513, 2181, 2394, 2221, 2181 |
| 110 }; |
| 111 |
77 static const opus_uint8 silk_NLSF_CB1_iCDF_NB_MB[ 64 ] = { | 112 static const opus_uint8 silk_NLSF_CB1_iCDF_NB_MB[ 64 ] = { |
78 212, 178, 148, 129, 108, 96, 85, 82, | 113 212, 178, 148, 129, 108, 96, 85, 82, |
79 79, 77, 61, 59, 57, 56, 51, 49, | 114 79, 77, 61, 59, 57, 56, 51, 49, |
80 48, 45, 42, 41, 40, 38, 36, 34, | 115 48, 45, 42, 41, 40, 38, 36, 34, |
81 31, 30, 21, 12, 10, 3, 1, 0, | 116 31, 30, 21, 12, 10, 3, 1, 0, |
82 255, 245, 244, 236, 233, 225, 217, 203, | 117 255, 245, 244, 236, 233, 225, 217, 203, |
83 190, 176, 175, 161, 149, 136, 125, 114, | 118 190, 176, 175, 161, 149, 136, 125, 114, |
84 102, 91, 81, 71, 60, 52, 43, 35, | 119 102, 91, 81, 71, 60, 52, 43, 35, |
85 28, 20, 19, 18, 12, 11, 5, 0 | 120 28, 20, 19, 18, 12, 11, 5, 0 |
86 }; | 121 }; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 3, 3, 461 | 178 3, 3, 461 |
144 }; | 179 }; |
145 | 180 |
146 const silk_NLSF_CB_struct silk_NLSF_CB_NB_MB = | 181 const silk_NLSF_CB_struct silk_NLSF_CB_NB_MB = |
147 { | 182 { |
148 32, | 183 32, |
149 10, | 184 10, |
150 SILK_FIX_CONST( 0.18, 16 ), | 185 SILK_FIX_CONST( 0.18, 16 ), |
151 SILK_FIX_CONST( 1.0 / 0.18, 6 ), | 186 SILK_FIX_CONST( 1.0 / 0.18, 6 ), |
152 silk_NLSF_CB1_NB_MB_Q8, | 187 silk_NLSF_CB1_NB_MB_Q8, |
| 188 silk_NLSF_CB1_Wght_Q9, |
153 silk_NLSF_CB1_iCDF_NB_MB, | 189 silk_NLSF_CB1_iCDF_NB_MB, |
154 silk_NLSF_PRED_NB_MB_Q8, | 190 silk_NLSF_PRED_NB_MB_Q8, |
155 silk_NLSF_CB2_SELECT_NB_MB, | 191 silk_NLSF_CB2_SELECT_NB_MB, |
156 silk_NLSF_CB2_iCDF_NB_MB, | 192 silk_NLSF_CB2_iCDF_NB_MB, |
157 silk_NLSF_CB2_BITS_NB_MB_Q5, | 193 silk_NLSF_CB2_BITS_NB_MB_Q5, |
158 silk_NLSF_DELTA_MIN_NB_MB_Q15, | 194 silk_NLSF_DELTA_MIN_NB_MB_Q15, |
159 }; | 195 }; |
OLD | NEW |