1 /********************************************************************
3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5 * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH *
6 * THIS SOURCE. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
9 * by the XIPHOPHORUS Company, http://www.xiph.org/ *
11 ********************************************************************
13 function: static codebook autogenerated by vq/somethingorother
15 ********************************************************************/
17 #ifndef _V_res_Xc_3_VQH_
18 #define _V_res_Xc_3_VQH_
21 static long _vq_quantlist_res_Xc_3[] = {
39 static long _vq_lengthlist_res_Xc_3[] = {
40 2, 4, 4, 6, 6, 7, 8, 9, 9,10,10,11,12,12,12, 0,
41 4, 4, 6, 6, 8, 8, 9, 9,10,10,11,11,12,12, 0, 4,
42 4, 6, 6, 8, 8, 9, 9,10,10,12,11,12,12, 0, 5, 5,
43 6, 6, 8, 8,10,10,11,11,12,12,13,13, 0, 0, 0, 6,
44 6, 8, 8,10,10,11,11,12,12,13,13, 0, 0, 0, 7, 7,
45 8, 8,10,10,11,11,12,12,13,13, 0, 0, 0, 7, 7, 8,
46 9,10,10,11,12,12,13,14,13, 0, 0, 0, 8, 8, 9, 9,
47 10,10,12,11,13,12,13,13, 0, 0, 0, 0, 0, 9, 9,11,
48 11,12,12,13,13,13,14, 0, 0, 0, 0, 0,10,10,11,11,
49 12,12,13,13,13,14, 0, 0, 0, 0, 0,10,10,12,11,12,
50 12,13,13,14,14, 0, 0, 0, 0, 0,11,11,12,12,12,13,
51 14,13,14,15, 0, 0, 0, 0, 0, 0, 0,12,12,13,13,14,
52 14,16,15, 0, 0, 0, 0, 0, 0, 0,13,13,13,13,13,14,
53 15,14, 0, 0, 0, 0, 0, 0, 0,12,13,14,13,15,14,16,
57 static float _vq_quantthresh_res_Xc_3[] = {
58 -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5,
59 1.5, 2.5, 3.5, 4.5, 5.5, 6.5,
62 static long _vq_quantmap_res_Xc_3[] = {
63 13, 11, 9, 7, 5, 3, 1, 0,
64 2, 4, 6, 8, 10, 12, 14,
67 static encode_aux_threshmatch _vq_auxt_res_Xc_3 = {
68 _vq_quantthresh_res_Xc_3,
69 _vq_quantmap_res_Xc_3,
74 static long _vq_pigeonmap_res_Xc_3[] = {
75 4, 3, 3, 2, 1, 1, 0, 0,
79 static long _vq_fitlist_res_Xc_3[] = {
80 0, 1, 2, 3, 16, 17, 18, 31,
81 46, 4, 19, 32, 47, 6, 21, 34,
82 49, 33, 36, 64, 63, 66, 94, 1,
83 3, 5, 7, 16, 18, 20, 22, 33,
84 35, 48, 50, 0, 31, 46, 2, 4,
85 6, 8, 17, 19, 21, 23, 34, 36,
86 49, 51, 37, 63, 65, 32, 38, 64,
87 66, 67, 93, 95, 68, 94, 96, 3,
88 5, 7, 9, 18, 20, 22, 24, 35,
89 37, 50, 52, 4, 6, 8, 10, 19,
90 21, 23, 25, 36, 38, 51, 53, 12,
91 27, 40, 55, 33, 39, 65, 67, 34,
92 66, 68, 42, 70, 63, 69, 95, 97,
93 64, 96, 98, 72, 100, 7, 9, 11,
94 13, 22, 24, 26, 28, 39, 41, 54,
95 56, 5, 20, 37, 52, 8, 10, 12,
96 14, 23, 25, 27, 29, 40, 42, 55,
97 57, 43, 69, 71, 35, 67, 38, 44,
98 70, 72, 73, 99, 101, 65, 97, 68,
99 74, 100, 102, 9, 11, 13, 24, 26,
100 28, 41, 43, 56, 58, 10, 12, 14,
101 25, 27, 29, 42, 44, 57, 59, 39,
102 71, 73, 40, 72, 74, 69, 101, 103,
103 70, 102, 104, 16, 46, 47, 48, 78,
104 17, 49, 79, 19, 51, 81, 109, 0,
105 1, 18, 2, 4, 21, 31, 32, 33,
106 63, 64, 65, 93, 94, 95, 34, 66,
107 96, 18, 20, 46, 48, 50, 52, 78,
108 80, 82, 108, 110, 16, 19, 21, 47,
109 49, 51, 53, 79, 81, 83, 109, 111,
110 3, 5, 22, 1, 4, 6, 17, 23,
111 33, 35, 63, 65, 67, 93, 95, 97,
112 125, 31, 34, 36, 64, 66, 68, 94,
113 96, 98, 126, 20, 22, 48, 50, 52,
114 54, 78, 80, 82, 84, 110, 112, 21,
115 23, 49, 51, 53, 55, 79, 81, 83,
116 85, 111, 113, 25, 57, 87, 115, 5,
117 7, 18, 24, 6, 8, 19, 10, 27,
118 35, 37, 63, 65, 67, 69, 93, 95,
119 97, 99, 125, 127, 36, 38, 64, 66,
120 68, 70, 94, 96, 98, 100, 126, 128,
121 40, 72, 102, 130, 24, 26, 52, 54,
122 56, 58, 82, 84, 86, 88, 114, 116,
123 22, 50, 80, 112, 25, 27, 53, 55,
124 57, 59, 83, 85, 87, 89, 115, 117,
125 9, 11, 28, 7, 20, 10, 12, 23,
126 29, 39, 41, 67, 69, 71, 73, 97,
127 99, 101, 103, 129, 131, 37, 65, 95,
128 127, 40, 42, 68, 70, 72, 74, 98,
129 100, 102, 104, 130, 132, 26, 28, 54,
130 56, 58, 84, 86, 88, 116, 118, 27,
131 29, 55, 57, 59, 85, 87, 89, 117,
132 119, 11, 13, 24, 12, 14, 25, 41,
133 43, 69, 71, 73, 99, 101, 103, 131,
134 133, 42, 44, 70, 72, 74, 100, 102,
135 104, 132, 134, 16, 46, 47, 48, 78,
136 79, 80, 108, 109, 110, 17, 49, 81,
137 111, 31, 63, 93, 94, 95, 125, 32,
138 64, 96, 126, 155, 156, 128, 158, 48,
139 50, 78, 80, 82, 108, 110, 112, 140,
140 46, 49, 51, 79, 81, 83, 109, 111,
141 113, 141, 63, 65, 93, 95, 97, 125,
142 127, 155, 64, 66, 94, 96, 98, 126,
143 128, 156, 157, 158, 50, 52, 78, 80,
144 82, 84, 108, 110, 112, 114, 140, 142,
145 51, 53, 79, 81, 83, 85, 109, 111,
146 113, 115, 141, 143, 55, 87, 117, 145,
147 65, 67, 93, 95, 97, 99, 125, 127,
148 129, 155, 157, 66, 68, 94, 96, 98,
149 100, 126, 128, 130, 156, 158, 70, 102,
150 132, 160, 159, 187, 188, 162, 190, 54,
151 56, 82, 84, 86, 88, 112, 114, 116,
152 118, 144, 146, 52, 80, 110, 142, 55,
153 57, 83, 85, 87, 89, 113, 115, 117,
154 119, 145, 147, 69, 71, 97, 99, 101,
155 103, 127, 129, 131, 133, 159, 161, 67,
156 95, 125, 157, 70, 72, 98, 100, 102,
157 104, 128, 130, 132, 134, 160, 162, 163,
158 189, 191, 155, 187, 158, 164, 190, 192,
159 56, 58, 84, 86, 88, 114, 116, 118,
160 146, 148, 57, 59, 85, 87, 89, 115,
161 117, 119, 147, 149, 71, 73, 99, 101,
162 103, 129, 131, 133, 161, 163, 72, 74,
163 100, 102, 104, 130, 132, 134, 162, 164,
164 159, 191, 193, 160, 192, 194, 78, 108,
165 109, 110, 140, 170, 79, 111, 141, 171,
166 143, 173, 46, 47, 93, 94, 95, 125,
167 155, 156, 157, 187, 96, 126, 158, 188,
168 108, 110, 140, 142, 170, 172, 78, 109,
169 111, 141, 143, 171, 173, 80, 112, 79,
170 81, 113, 125, 155, 157, 187, 93, 126,
171 156, 158, 188, 110, 112, 140, 142, 144,
172 170, 172, 174, 202, 111, 113, 141, 143,
173 145, 171, 173, 175, 203, 115, 147, 177,
174 205, 80, 82, 108, 114, 81, 83, 109,
175 85, 117, 125, 127, 155, 157, 159, 187,
176 189, 217, 126, 128, 156, 158, 160, 188,
177 190, 218, 130, 162, 192, 220, 114, 116,
178 142, 144, 146, 148, 172, 174, 176, 178,
179 204, 206, 112, 140, 170, 202, 115, 117,
180 143, 145, 147, 149, 173, 175, 177, 179,
181 205, 207, 84, 86, 118, 82, 110, 85,
182 87, 113, 119, 129, 131, 157, 159, 161,
183 163, 187, 189, 191, 193, 219, 221, 127,
184 155, 217, 130, 132, 158, 160, 162, 164,
185 188, 190, 192, 194, 220, 222, 116, 118,
186 144, 146, 148, 174, 176, 178, 206, 208,
187 117, 119, 145, 147, 149, 175, 177, 179,
188 207, 209, 86, 88, 114, 87, 89, 115,
189 131, 133, 159, 161, 163, 189, 191, 193,
190 221, 223, 132, 134, 160, 162, 164, 190,
191 192, 194, 222, 224, 108, 109, 110, 140,
192 170, 171, 172, 202, 111, 141, 173, 203,
193 93, 125, 155, 156, 157, 187, 217, 94,
194 126, 158, 188, 218, 140, 170, 172, 202,
195 108, 141, 171, 173, 203, 125, 155, 157,
196 187, 189, 217, 219, 126, 156, 158, 188,
197 190, 218, 220, 140, 142, 170, 172, 174,
198 202, 204, 141, 143, 171, 173, 175, 203,
199 205, 145, 177, 207, 155, 157, 187, 189,
200 217, 219, 156, 158, 188, 190, 218, 220,
201 160, 192, 222, 144, 146, 172, 174, 176,
202 178, 202, 204, 206, 208, 142, 170, 145,
203 147, 173, 175, 177, 179, 203, 205, 207,
204 209, 159, 161, 187, 189, 191, 193, 217,
205 219, 221, 223, 157, 160, 162, 188, 190,
206 192, 194, 218, 220, 222, 224, 146, 148,
207 174, 176, 178, 204, 206, 208, 147, 149,
208 175, 177, 179, 205, 207, 209, 161, 163,
209 189, 191, 193, 219, 221, 223, 162, 164,
210 190, 192, 194, 220, 222, 224,
213 static long _vq_fitmap_res_Xc_3[] = {
214 0, 23, 63, 109, 155, 187, 217, 267,
215 332, 397, 443, 471, 508, 567, 632, 678,
216 704, 731, 782, 846, 892, 916, 939, 971,
220 static long _vq_fitlength_res_Xc_3[] = {
221 23, 40, 46, 46, 32, 30, 50, 65,
222 65, 46, 28, 37, 59, 65, 46, 26,
223 27, 51, 64, 46, 24, 23, 32, 43,
227 static encode_aux_pigeonhole _vq_auxp_res_Xc_3 = {
229 _vq_pigeonmap_res_Xc_3,
231 _vq_fitlist_res_Xc_3,
233 _vq_fitlength_res_Xc_3
236 static static_codebook _vq_book_res_Xc_3 = {
238 _vq_lengthlist_res_Xc_3,
239 1, -530841600, 1611661312, 4, 0,
240 _vq_quantlist_res_Xc_3,