Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Side by Side Diff: third_party/opus/src/silk/tables_NLSF_CB_WB.c

Issue 2962373002: [Opus] Update to v1.2.1 (Closed)
Patch Set: Include minor updates including fix for win_clang Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 19, 31, 49, 65, 83, 100, 117, 133, 91 19, 31, 49, 65, 83, 100, 117, 133,
92 147, 161, 174, 187, 200, 213, 227, 242, 92 147, 161, 174, 187, 200, 213, 227, 242,
93 18, 31, 52, 68, 88, 103, 117, 126, 93 18, 31, 52, 68, 88, 103, 117, 126,
94 138, 149, 163, 177, 192, 207, 223, 239, 94 138, 149, 163, 177, 192, 207, 223, 239,
95 16, 29, 47, 61, 76, 90, 106, 119, 95 16, 29, 47, 61, 76, 90, 106, 119,
96 133, 147, 161, 176, 193, 209, 224, 240, 96 133, 147, 161, 176, 193, 209, 224, 240,
97 15, 21, 35, 50, 61, 73, 86, 97, 97 15, 21, 35, 50, 61, 73, 86, 97,
98 110, 119, 129, 141, 175, 198, 218, 237 98 110, 119, 129, 141, 175, 198, 218, 237
99 }; 99 };
100 100
101 static const opus_int16 silk_NLSF_CB1_WB_Wght_Q9[ 512 ] = {
102 3657, 2925, 2925, 2925, 2925, 2925, 2925, 2925, 2925, 2925, 2925, 2925, 296 3, 2963, 2925, 2846,
103 3216, 3085, 2972, 3056, 3056, 3010, 3010, 3010, 2963, 2963, 3010, 2972, 288 8, 2846, 2846, 2726,
104 3920, 4014, 2981, 3207, 3207, 2934, 3056, 2846, 3122, 3244, 2925, 2846, 262 0, 2553, 2780, 2925,
105 3516, 3197, 3010, 3103, 3019, 2888, 2925, 2925, 2925, 2925, 2888, 2888, 288 8, 2888, 2888, 2753,
106 5054, 5054, 2934, 3573, 3385, 3056, 3085, 2793, 3160, 3160, 2972, 2846, 251 3, 2540, 2753, 2888,
107 4428, 4149, 2700, 2753, 2972, 3010, 2925, 2846, 2981, 3019, 2925, 2925, 292 5, 2925, 2888, 2726,
108 3620, 3019, 2972, 3056, 3056, 2873, 2806, 3056, 3216, 3047, 2981, 3291, 329 1, 2981, 3310, 2991,
109 5227, 5014, 2540, 3338, 3526, 3385, 3197, 3094, 3376, 2981, 2700, 2647, 268 7, 2793, 2846, 2673,
110 5081, 5174, 4615, 4428, 2460, 2897, 3047, 3207, 3169, 2687, 2740, 2888, 284 6, 2793, 2846, 2700,
111 3122, 2888, 2963, 2925, 2925, 2925, 2925, 2963, 2963, 2963, 2963, 2925, 292 5, 2963, 2963, 2963,
112 4202, 3207, 2981, 3103, 3010, 2888, 2888, 2925, 2972, 2873, 2916, 3019, 297 2, 3010, 3197, 2873,
113 3760, 3760, 3244, 3103, 2981, 2888, 2925, 2888, 2972, 2934, 2793, 2793, 284 6, 2888, 2888, 2660,
114 3854, 4014, 3207, 3122, 3244, 2934, 3047, 2963, 2963, 3085, 2846, 2793, 279 3, 2793, 2793, 2580,
115 3845, 4080, 3357, 3516, 3094, 2740, 3010, 2934, 3122, 3085, 2846, 2846, 264 7, 2647, 2846, 2806,
116 5147, 4894, 3225, 3845, 3441, 3169, 2897, 3413, 3451, 2700, 2580, 2673, 274 0, 2846, 2806, 2753,
117 4109, 3789, 3291, 3160, 2925, 2888, 2888, 2925, 2793, 2740, 2793, 2740, 279 3, 2846, 2888, 2806,
118 5081, 5054, 3047, 3545, 3244, 3056, 3085, 2944, 3103, 2897, 2740, 2740, 274 0, 2846, 2793, 2620,
119 4309, 4309, 2860, 2527, 3207, 3376, 3376, 3075, 3075, 3376, 3056, 2846, 264 7, 2580, 2726, 2753,
120 3056, 2916, 2806, 2888, 2740, 2687, 2897, 3103, 3150, 3150, 3216, 3169, 305 6, 3010, 2963, 2846,
121 4375, 3882, 2925, 2888, 2846, 2888, 2846, 2846, 2888, 2888, 2888, 2846, 288 8, 2925, 2888, 2846,
122 2981, 2916, 2916, 2981, 2981, 3056, 3122, 3216, 3150, 3056, 3010, 2972, 297 2, 2972, 2925, 2740,
123 4229, 4149, 3310, 3347, 2925, 2963, 2888, 2981, 2981, 2846, 2793, 2740, 284 6, 2846, 2846, 2793,
124 4080, 4014, 3103, 3010, 2925, 2925, 2925, 2888, 2925, 2925, 2846, 2846, 284 6, 2793, 2888, 2780,
125 4615, 4575, 3169, 3441, 3207, 2981, 2897, 3038, 3122, 2740, 2687, 2687, 268 7, 2740, 2793, 2700,
126 4149, 4269, 3789, 3657, 2726, 2780, 2888, 2888, 3010, 2972, 2925, 2846, 268 7, 2687, 2793, 2888,
127 4215, 3554, 2753, 2846, 2846, 2888, 2888, 2888, 2925, 2925, 2888, 2925, 292 5, 2925, 2963, 2888,
128 5174, 4921, 2261, 3432, 3789, 3479, 3347, 2846, 3310, 3479, 3150, 2897, 246 0, 2487, 2753, 2925,
129 3451, 3685, 3122, 3197, 3357, 3047, 3207, 3207, 2981, 3216, 3085, 2925, 292 5, 2687, 2540, 2434,
130 2981, 3010, 2793, 2793, 2740, 2793, 2846, 2972, 3056, 3103, 3150, 3150, 315 0, 3103, 3010, 3010,
131 2944, 2873, 2687, 2726, 2780, 3010, 3432, 3545, 3357, 3244, 3056, 3010, 296 3, 2925, 2888, 2846,
132 3019, 2944, 2897, 3010, 3010, 2972, 3019, 3103, 3056, 3056, 3010, 2888, 284 6, 2925, 2925, 2888,
133 3920, 3967, 3010, 3197, 3357, 3216, 3291, 3291, 3479, 3704, 3441, 2726, 218 1, 2460, 2580, 2607
134 };
135
101 static const opus_uint8 silk_NLSF_CB1_iCDF_WB[ 64 ] = { 136 static const opus_uint8 silk_NLSF_CB1_iCDF_WB[ 64 ] = {
102 225, 204, 201, 184, 183, 175, 158, 154, 137 225, 204, 201, 184, 183, 175, 158, 154,
103 153, 135, 119, 115, 113, 110, 109, 99, 138 153, 135, 119, 115, 113, 110, 109, 99,
104 98, 95, 79, 68, 52, 50, 48, 45, 139 98, 95, 79, 68, 52, 50, 48, 45,
105 43, 32, 31, 27, 18, 10, 3, 0, 140 43, 32, 31, 27, 18, 10, 3, 0,
106 255, 251, 235, 230, 212, 201, 196, 182, 141 255, 251, 235, 230, 212, 201, 196, 182,
107 167, 166, 163, 151, 138, 124, 110, 104, 142 167, 166, 163, 151, 138, 124, 110, 104,
108 90, 78, 76, 70, 69, 57, 45, 34, 143 90, 78, 76, 70, 69, 57, 45, 34,
109 24, 21, 11, 6, 5, 4, 3, 0 144 24, 21, 11, 6, 5, 4, 3, 0
110 }; 145 };
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 347 216 347
182 }; 217 };
183 218
184 const silk_NLSF_CB_struct silk_NLSF_CB_WB = 219 const silk_NLSF_CB_struct silk_NLSF_CB_WB =
185 { 220 {
186 32, 221 32,
187 16, 222 16,
188 SILK_FIX_CONST( 0.15, 16 ), 223 SILK_FIX_CONST( 0.15, 16 ),
189 SILK_FIX_CONST( 1.0 / 0.15, 6 ), 224 SILK_FIX_CONST( 1.0 / 0.15, 6 ),
190 silk_NLSF_CB1_WB_Q8, 225 silk_NLSF_CB1_WB_Q8,
226 silk_NLSF_CB1_WB_Wght_Q9,
191 silk_NLSF_CB1_iCDF_WB, 227 silk_NLSF_CB1_iCDF_WB,
192 silk_NLSF_PRED_WB_Q8, 228 silk_NLSF_PRED_WB_Q8,
193 silk_NLSF_CB2_SELECT_WB, 229 silk_NLSF_CB2_SELECT_WB,
194 silk_NLSF_CB2_iCDF_WB, 230 silk_NLSF_CB2_iCDF_WB,
195 silk_NLSF_CB2_BITS_WB_Q5, 231 silk_NLSF_CB2_BITS_WB_Q5,
196 silk_NLSF_DELTA_MIN_WB_Q15, 232 silk_NLSF_DELTA_MIN_WB_Q15,
197 }; 233 };
198 234
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698