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

Side by Side Diff: silk/tables_NLSF_CB_NB_MB.c

Issue 12388030: Update Opus to 1.0.2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « silk/tables_LTP.c ('k') | silk/tables_NLSF_CB_WB.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13 matching lines...) Expand all
24 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 24 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 POSSIBILITY OF SUCH DAMAGE. 25 POSSIBILITY OF SUCH DAMAGE.
26 ***********************************************************************/ 26 ***********************************************************************/
27 27
28 #ifdef HAVE_CONFIG_H 28 #ifdef HAVE_CONFIG_H
29 #include "config.h" 29 #include "config.h"
30 #endif 30 #endif
31 31
32 #include "tables.h" 32 #include "tables.h"
33 33
34 const opus_uint8 silk_NLSF_CB1_NB_MB_Q8[ 320 ] = { 34 static const opus_uint8 silk_NLSF_CB1_NB_MB_Q8[ 320 ] = {
35 12, 35, 60, 83, 108, 132, 157, 180, 35 12, 35, 60, 83, 108, 132, 157, 180,
36 206, 228, 15, 32, 55, 77, 101, 125, 36 206, 228, 15, 32, 55, 77, 101, 125,
37 151, 175, 201, 225, 19, 42, 66, 89, 37 151, 175, 201, 225, 19, 42, 66, 89,
38 114, 137, 162, 184, 209, 230, 12, 25, 38 114, 137, 162, 184, 209, 230, 12, 25,
39 50, 72, 97, 120, 147, 172, 200, 223, 39 50, 72, 97, 120, 147, 172, 200, 223,
40 26, 44, 69, 90, 114, 135, 159, 180, 40 26, 44, 69, 90, 114, 135, 159, 180,
41 205, 225, 13, 22, 53, 80, 106, 130, 41 205, 225, 13, 22, 53, 80, 106, 130,
42 156, 180, 205, 228, 15, 25, 44, 64, 42 156, 180, 205, 228, 15, 25, 44, 64,
43 90, 115, 142, 168, 196, 222, 19, 24, 43 90, 115, 142, 168, 196, 222, 19, 24,
44 62, 82, 100, 120, 145, 168, 190, 214, 44 62, 82, 100, 120, 145, 168, 190, 214,
(...skipping 22 matching lines...) Expand all
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 const opus_uint8 silk_NLSF_CB1_iCDF_NB_MB[ 64 ] = { 77 static const opus_uint8 silk_NLSF_CB1_iCDF_NB_MB[ 64 ] = {
78 212, 178, 148, 129, 108, 96, 85, 82, 78 212, 178, 148, 129, 108, 96, 85, 82,
79 79, 77, 61, 59, 57, 56, 51, 49, 79 79, 77, 61, 59, 57, 56, 51, 49,
80 48, 45, 42, 41, 40, 38, 36, 34, 80 48, 45, 42, 41, 40, 38, 36, 34,
81 31, 30, 21, 12, 10, 3, 1, 0, 81 31, 30, 21, 12, 10, 3, 1, 0,
82 255, 245, 244, 236, 233, 225, 217, 203, 82 255, 245, 244, 236, 233, 225, 217, 203,
83 190, 176, 175, 161, 149, 136, 125, 114, 83 190, 176, 175, 161, 149, 136, 125, 114,
84 102, 91, 81, 71, 60, 52, 43, 35, 84 102, 91, 81, 71, 60, 52, 43, 35,
85 28, 20, 19, 18, 12, 11, 5, 0 85 28, 20, 19, 18, 12, 11, 5, 0
86 }; 86 };
87 87
88 const opus_uint8 silk_NLSF_CB2_SELECT_NB_MB[ 160 ] = { 88 static const opus_uint8 silk_NLSF_CB2_SELECT_NB_MB[ 160 ] = {
89 16, 0, 0, 0, 0, 99, 66, 36, 89 16, 0, 0, 0, 0, 99, 66, 36,
90 36, 34, 36, 34, 34, 34, 34, 83, 90 36, 34, 36, 34, 34, 34, 34, 83,
91 69, 36, 52, 34, 116, 102, 70, 68, 91 69, 36, 52, 34, 116, 102, 70, 68,
92 68, 176, 102, 68, 68, 34, 65, 85, 92 68, 176, 102, 68, 68, 34, 65, 85,
93 68, 84, 36, 116, 141, 152, 139, 170, 93 68, 84, 36, 116, 141, 152, 139, 170,
94 132, 187, 184, 216, 137, 132, 249, 168, 94 132, 187, 184, 216, 137, 132, 249, 168,
95 185, 139, 104, 102, 100, 68, 68, 178, 95 185, 139, 104, 102, 100, 68, 68, 178,
96 218, 185, 185, 170, 244, 216, 187, 187, 96 218, 185, 185, 170, 244, 216, 187, 187,
97 170, 244, 187, 187, 219, 138, 103, 155, 97 170, 244, 187, 187, 219, 138, 103, 155,
98 184, 185, 137, 116, 183, 155, 152, 136, 98 184, 185, 137, 116, 183, 155, 152, 136,
99 132, 217, 184, 184, 170, 164, 217, 171, 99 132, 217, 184, 184, 170, 164, 217, 171,
100 155, 139, 244, 169, 184, 185, 170, 164, 100 155, 139, 244, 169, 184, 185, 170, 164,
101 216, 223, 218, 138, 214, 143, 188, 218, 101 216, 223, 218, 138, 214, 143, 188, 218,
102 168, 244, 141, 136, 155, 170, 168, 138, 102 168, 244, 141, 136, 155, 170, 168, 138,
103 220, 219, 139, 164, 219, 202, 216, 137, 103 220, 219, 139, 164, 219, 202, 216, 137,
104 168, 186, 246, 185, 139, 116, 185, 219, 104 168, 186, 246, 185, 139, 116, 185, 219,
105 185, 138, 100, 100, 134, 100, 102, 34, 105 185, 138, 100, 100, 134, 100, 102, 34,
106 68, 68, 100, 68, 168, 203, 221, 218, 106 68, 68, 100, 68, 168, 203, 221, 218,
107 168, 167, 154, 136, 104, 70, 164, 246, 107 168, 167, 154, 136, 104, 70, 164, 246,
108 171, 137, 139, 137, 155, 218, 219, 139 108 171, 137, 139, 137, 155, 218, 219, 139
109 }; 109 };
110 110
111 const opus_uint8 silk_NLSF_CB2_iCDF_NB_MB[ 72 ] = { 111 static const opus_uint8 silk_NLSF_CB2_iCDF_NB_MB[ 72 ] = {
112 255, 254, 253, 238, 14, 3, 2, 1, 112 255, 254, 253, 238, 14, 3, 2, 1,
113 0, 255, 254, 252, 218, 35, 3, 2, 113 0, 255, 254, 252, 218, 35, 3, 2,
114 1, 0, 255, 254, 250, 208, 59, 4, 114 1, 0, 255, 254, 250, 208, 59, 4,
115 2, 1, 0, 255, 254, 246, 194, 71, 115 2, 1, 0, 255, 254, 246, 194, 71,
116 10, 2, 1, 0, 255, 252, 236, 183, 116 10, 2, 1, 0, 255, 252, 236, 183,
117 82, 8, 2, 1, 0, 255, 252, 235, 117 82, 8, 2, 1, 0, 255, 252, 235,
118 180, 90, 17, 2, 1, 0, 255, 248, 118 180, 90, 17, 2, 1, 0, 255, 248,
119 224, 171, 97, 30, 4, 1, 0, 255, 119 224, 171, 97, 30, 4, 1, 0, 255,
120 254, 236, 173, 95, 37, 7, 1, 0 120 254, 236, 173, 95, 37, 7, 1, 0
121 }; 121 };
122 122
123 const opus_uint8 silk_NLSF_CB2_BITS_NB_MB_Q5[ 72 ] = { 123 static const opus_uint8 silk_NLSF_CB2_BITS_NB_MB_Q5[ 72 ] = {
124 255, 255, 255, 131, 6, 145, 255, 255, 124 255, 255, 255, 131, 6, 145, 255, 255,
125 255, 255, 255, 236, 93, 15, 96, 255, 125 255, 255, 255, 236, 93, 15, 96, 255,
126 255, 255, 255, 255, 194, 83, 25, 71, 126 255, 255, 255, 255, 194, 83, 25, 71,
127 221, 255, 255, 255, 255, 162, 73, 34, 127 221, 255, 255, 255, 255, 162, 73, 34,
128 66, 162, 255, 255, 255, 210, 126, 73, 128 66, 162, 255, 255, 255, 210, 126, 73,
129 43, 57, 173, 255, 255, 255, 201, 125, 129 43, 57, 173, 255, 255, 255, 201, 125,
130 71, 48, 58, 130, 255, 255, 255, 166, 130 71, 48, 58, 130, 255, 255, 255, 166,
131 110, 73, 57, 62, 104, 210, 255, 255, 131 110, 73, 57, 62, 104, 210, 255, 255,
132 251, 123, 65, 55, 68, 100, 171, 255 132 251, 123, 65, 55, 68, 100, 171, 255
133 }; 133 };
134 134
135 const opus_uint8 silk_NLSF_PRED_NB_MB_Q8[ 18 ] = { 135 static const opus_uint8 silk_NLSF_PRED_NB_MB_Q8[ 18 ] = {
136 179, 138, 140, 148, 151, 149, 153, 151, 136 179, 138, 140, 148, 151, 149, 153, 151,
137 163, 116, 67, 82, 59, 92, 72, 100, 137 163, 116, 67, 82, 59, 92, 72, 100,
138 89, 92 138 89, 92
139 }; 139 };
140 140
141 const opus_int16 silk_NLSF_DELTA_MIN_NB_MB_Q15[ 11 ] = { 141 static const opus_int16 silk_NLSF_DELTA_MIN_NB_MB_Q15[ 11 ] = {
142 250, 3, 6, 3, 3, 3, 4, 3, 142 250, 3, 6, 3, 3, 3, 4, 3,
143 3, 3, 461 143 3, 3, 461
144 }; 144 };
145 145
146 const silk_NLSF_CB_struct silk_NLSF_CB_NB_MB = 146 const silk_NLSF_CB_struct silk_NLSF_CB_NB_MB =
147 { 147 {
148 32, 148 32,
149 10, 149 10,
150 SILK_FIX_CONST( 0.18, 16 ), 150 SILK_FIX_CONST( 0.18, 16 ),
151 SILK_FIX_CONST( 1.0 / 0.18, 6 ), 151 SILK_FIX_CONST( 1.0 / 0.18, 6 ),
152 silk_NLSF_CB1_NB_MB_Q8, 152 silk_NLSF_CB1_NB_MB_Q8,
153 silk_NLSF_CB1_iCDF_NB_MB, 153 silk_NLSF_CB1_iCDF_NB_MB,
154 silk_NLSF_PRED_NB_MB_Q8, 154 silk_NLSF_PRED_NB_MB_Q8,
155 silk_NLSF_CB2_SELECT_NB_MB, 155 silk_NLSF_CB2_SELECT_NB_MB,
156 silk_NLSF_CB2_iCDF_NB_MB, 156 silk_NLSF_CB2_iCDF_NB_MB,
157 silk_NLSF_CB2_BITS_NB_MB_Q5, 157 silk_NLSF_CB2_BITS_NB_MB_Q5,
158 silk_NLSF_DELTA_MIN_NB_MB_Q15, 158 silk_NLSF_DELTA_MIN_NB_MB_Q15,
159 }; 159 };
OLDNEW
« no previous file with comments | « silk/tables_LTP.c ('k') | silk/tables_NLSF_CB_WB.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698