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_Z_3_VQH_
18 #define _V_res_Z_3_VQH_
21 static long _vq_quantlist_res_Z_3[] = {
29 static long _vq_lengthlist_res_Z_3[] = {
30 1, 5, 5, 7, 8, 6, 8, 7, 9, 8, 6, 7, 8, 9, 9, 8,
31 10, 9,12,11, 8, 9,10,11,11, 6, 8, 8,10,10, 8,10,
32 10,12,12, 7, 9, 9,11,11,10,11,11,14,13, 9,10,11,
33 13,13, 6, 8, 8,10,10, 8,10, 9,11,11, 8,10,10,11,
34 12, 9,11,11,12,13,10,11,11,12,13, 8,11,10,14,13,
35 10,13,11,14,13,10,12,11,14,13,12,15,13,15,14,12,
36 13,13,16,14, 8,11,11,13, 0,10,12,11,13,15,10,12,
37 12,13,16,11,13,13,13, 0,13,13,13,15,15, 5, 8, 8,
38 11,11, 8,10,10,12,12, 8,10,10,12,12,11,12,12,13,
39 13,11,11,13,15,15, 8,10,10,13,12,10,11,11,13,14,
40 9,12,11,14,14,12,13,13,13,14,11,13,13,14,16, 7,
41 10,10,11,12, 9,11,10,13,12, 9,11,11,14,15,11,12,
42 11,14,13,11,13,15,14,15,10,12,12,16,14,12,13,13,
43 16,15,11,13,13,16,15,13,14,15,16,16,13,16,16, 0,
44 0, 9,12,11,15,15,11,13,12,15, 0,11,13,13,16,15,
45 15,15,14, 0,14,13,14,15,16, 0, 5, 8, 8,11,11, 8,
46 10,10,12,12, 8,10,10,12,12,11,12,12,14,14,11,12,
47 12,13,13, 7,10,10,12,12,10,11,11,14,14, 9, 9,11,
48 12,13,11,13,13,16,16,11,12,12,14,13, 8,10,10,12,
49 12,10,12,11,13,14,10,12,11,14,13,12,13,13,15,16,
50 13,13,12,15,15,10,12,12,15,15,11,13,13,15,15,11,
51 12,13,14,15,14,15,16, 0, 0,15,12,15,16, 0,10,12,
52 13,14,16,11,13,13,15,16,12,13,13,16,16,13,14,15,
53 16, 0,15,15,15, 0,15, 7,11,11,14,14,10,12,13,15,
54 16,10,13,12,15,15,13,14,15, 0,16,13,14,15, 0, 0,
55 10,12,12,16,15,12,14,14, 0, 0,12,13,13, 0,16,15,
56 16,16, 0, 0,15,15,15, 0,15, 9,11,11,15,16,11,15,
57 12,15,15,11,13,13,15,16,14, 0,16, 0, 0,15,15,15,
58 0, 0,12,14,14, 0, 0,13,16, 0,16, 0,13,15,15, 0,
59 0,16,15, 0,16, 0,14,15,16, 0, 0,11,15,13, 0, 0,
60 13,15,14, 0, 0,13,15,14, 0,16,16, 0,14, 0,15,14,
61 16, 0, 0, 0, 7,11,11,15,14,11,13,12,15,15,11,12,
62 13,15,15,14,15,15, 0,16,13,15,16, 0,15, 9,12,12,
63 16,15,11,14,12,16, 0,11,12,14,16,15,14,15,15, 0,
64 0,16,15,15,16, 0, 9,13,12,16, 0,11,13,14,15, 0,
65 12,14,13, 0,15,15,15,15, 0,16,15,15,15, 0,16,11,
66 14,15,15, 0,12,15,15, 0, 0,13,13,16,15, 0,15, 0,
67 16, 0, 0,16,15, 0,16, 0,12,15,14, 0, 0,13,14,13,
68 0,16,13,15,14, 0,16,15, 0,16, 0, 0,16, 0,16, 0,
72 static float _vq_quantthresh_res_Z_3[] = {
76 static long _vq_quantmap_res_Z_3[] = {
80 static encode_aux_threshmatch _vq_auxt_res_Z_3 = {
81 _vq_quantthresh_res_Z_3,
87 static long _vq_pigeonmap_res_Z_3[] = {
91 static long _vq_fitlist_res_Z_3[] = {
92 0, 1, 2, 3, 5, 6, 7, 8,
93 10, 11, 12, 13, 15, 16, 17, 18,
94 25, 26, 27, 28, 30, 31, 32, 33,
95 35, 36, 37, 38, 40, 41, 42, 43,
96 50, 51, 52, 53, 55, 56, 57, 58,
97 60, 61, 62, 63, 65, 66, 67, 68,
98 75, 76, 77, 78, 80, 81, 82, 83,
99 85, 86, 87, 88, 90, 91, 92, 93,
100 125, 126, 127, 128, 130, 131, 132, 133,
101 135, 136, 137, 138, 140, 141, 142, 143,
102 150, 151, 152, 153, 155, 156, 157, 158,
103 160, 161, 162, 163, 165, 166, 167, 168,
104 175, 176, 177, 178, 180, 181, 182, 183,
105 185, 186, 187, 188, 190, 191, 192, 193,
106 200, 201, 202, 203, 205, 206, 207, 208,
107 210, 211, 212, 213, 215, 216, 217, 218,
108 250, 251, 252, 253, 255, 256, 257, 258,
109 260, 261, 262, 263, 265, 266, 267, 268,
110 275, 276, 277, 278, 280, 281, 282, 283,
111 285, 286, 287, 288, 290, 291, 292, 293,
112 300, 301, 302, 303, 305, 306, 307, 308,
113 310, 311, 315, 316, 325, 326, 327, 328,
114 330, 331, 332, 333, 335, 336, 340, 341,
115 375, 376, 377, 378, 380, 381, 382, 383,
116 385, 386, 387, 388, 390, 391, 392, 400,
117 401, 402, 403, 405, 406, 407, 410, 411,
118 412, 415, 416, 417, 425, 426, 427, 428,
119 430, 431, 432, 433, 435, 436, 440, 450,
120 451, 452, 455, 456, 458, 460, 461, 465,
121 466, 4, 9, 14, 19, 29, 34, 39,
122 44, 54, 59, 64, 69, 79, 84, 89,
123 94, 129, 134, 139, 144, 154, 159, 164,
124 169, 179, 184, 189, 194, 204, 209, 214,
125 219, 254, 259, 264, 269, 279, 284, 289,
126 294, 304, 309, 312, 317, 329, 334, 337,
127 342, 379, 384, 389, 394, 404, 414, 429,
128 434, 437, 442, 462, 314, 319, 339, 439,
129 20, 21, 22, 23, 45, 46, 47, 48,
130 70, 71, 72, 73, 95, 96, 97, 98,
131 145, 146, 147, 148, 170, 171, 172, 173,
132 195, 196, 197, 198, 220, 221, 222, 270,
133 271, 272, 273, 295, 296, 297, 298, 313,
134 320, 321, 338, 345, 346, 395, 396, 397,
135 420, 421, 422, 438, 445, 446, 470, 471,
136 24, 49, 74, 99, 149, 174, 199, 274,
137 299, 322, 347, 424, 447, 472, 324, 323,
138 348, 100, 101, 102, 103, 105, 106, 107,
139 108, 110, 111, 112, 113, 115, 116, 117,
140 118, 225, 226, 227, 228, 230, 231, 232,
141 233, 235, 236, 237, 238, 240, 241, 242,
142 318, 350, 351, 352, 353, 355, 356, 357,
143 358, 360, 361, 365, 366, 475, 476, 477,
144 480, 481, 482, 485, 486, 490, 109, 114,
145 229, 239, 244, 354, 359, 362, 367, 487,
146 492, 364, 489, 494, 120, 121, 122, 123,
147 245, 246, 247, 248, 363, 370, 371, 495,
148 496, 124, 372, 374, 368, 500, 501, 502,
149 503, 505, 506, 507, 508, 510, 511, 512,
150 513, 515, 516, 517, 525, 526, 527, 528,
151 530, 531, 532, 533, 535, 536, 537, 538,
152 540, 541, 542, 550, 551, 552, 553, 555,
153 556, 557, 558, 560, 561, 565, 566, 575,
154 576, 577, 578, 580, 581, 582, 585, 586,
155 590, 504, 509, 514, 519, 529, 539, 562,
156 567, 587, 592, 564, 569, 520, 521, 522,
157 545, 546, 547, 548, 570, 571, 588, 595,
158 596, 524, 572, 574, 598, 600, 601, 602,
159 605, 606, 607, 610, 611, 615, 609, 612,
160 617, 614, 620, 622, 0, 1, 3, 5,
161 6, 8, 10, 11, 13, 15, 16, 18,
162 25, 26, 28, 30, 31, 33, 35, 36,
163 38, 40, 41, 43, 50, 51, 53, 55,
164 56, 58, 60, 61, 63, 65, 66, 68,
165 75, 76, 78, 80, 81, 83, 85, 86,
166 88, 90, 91, 93, 125, 126, 128, 130,
167 131, 133, 135, 136, 138, 140, 141, 143,
168 150, 151, 153, 155, 156, 158, 160, 161,
169 163, 165, 166, 168, 175, 176, 178, 180,
170 181, 183, 185, 186, 188, 190, 191, 193,
171 200, 201, 203, 205, 206, 208, 210, 211,
172 213, 215, 216, 218, 250, 251, 253, 255,
173 256, 258, 260, 261, 263, 265, 266, 268,
174 275, 276, 278, 280, 281, 283, 285, 286,
175 288, 290, 291, 293, 300, 301, 303, 305,
176 306, 308, 311, 313, 316, 318, 325, 326,
177 328, 330, 331, 333, 336, 338, 341, 375,
178 376, 378, 380, 381, 383, 385, 386, 388,
179 390, 391, 400, 401, 403, 405, 406, 410,
180 411, 415, 416, 425, 426, 428, 430, 431,
181 433, 436, 438, 450, 451, 455, 456, 458,
182 461, 466, 468, 20, 21, 23, 45, 46,
183 48, 70, 71, 73, 95, 96, 98, 145,
184 146, 148, 170, 171, 173, 195, 196, 198,
185 220, 221, 270, 271, 273, 295, 296, 298,
186 310, 321, 323, 335, 346, 348, 395, 396,
187 420, 421, 435, 446, 460, 471, 320, 345,
188 445, 470, 100, 101, 103, 105, 106, 108,
189 110, 111, 113, 115, 116, 118, 225, 226,
190 228, 230, 231, 233, 235, 236, 238, 240,
191 241, 315, 350, 351, 353, 355, 356, 358,
192 361, 363, 366, 368, 440, 475, 476, 480,
193 481, 486, 120, 121, 123, 245, 246, 248,
194 360, 371, 485, 496, 370, 495, 365, 490,
195 340, 500, 501, 503, 505, 506, 508, 510,
196 511, 513, 515, 516, 525, 526, 528, 530,
197 531, 533, 535, 536, 538, 540, 541, 550,
198 551, 553, 555, 556, 558, 561, 566, 575,
199 576, 578, 580, 581, 586, 588, 520, 521,
200 545, 546, 548, 560, 571, 585, 596, 598,
201 570, 595, 565, 600, 601, 605, 606, 611,
202 610, 620, 615, 590, 0, 1, 2, 3,
203 5, 6, 7, 8, 15, 16, 17, 18,
204 25, 26, 27, 28, 30, 31, 32, 33,
205 40, 41, 42, 43, 50, 51, 52, 53,
206 55, 56, 57, 58, 65, 66, 67, 68,
207 75, 76, 77, 78, 80, 81, 82, 83,
208 90, 91, 92, 93, 125, 126, 127, 128,
209 130, 131, 132, 133, 140, 141, 142, 143,
210 150, 151, 152, 153, 155, 156, 157, 158,
211 165, 166, 167, 168, 175, 176, 177, 178,
212 180, 181, 182, 183, 190, 191, 192, 193,
213 200, 201, 202, 203, 205, 206, 207, 208,
214 215, 216, 217, 218, 250, 251, 252, 253,
215 255, 256, 257, 258, 265, 266, 267, 268,
216 275, 276, 277, 278, 280, 281, 282, 283,
217 290, 291, 292, 293, 300, 301, 305, 306,
218 307, 308, 315, 316, 317, 318, 325, 326,
219 330, 331, 332, 333, 340, 341, 342, 375,
220 376, 377, 378, 380, 381, 382, 383, 390,
221 391, 392, 400, 401, 402, 403, 405, 406,
222 407, 415, 416, 417, 425, 426, 430, 431,
223 432, 433, 440, 442, 450, 451, 455, 456,
224 458, 465, 466, 468, 4, 9, 19, 29,
225 34, 44, 54, 59, 69, 79, 84, 94,
226 129, 134, 144, 154, 159, 169, 179, 184,
227 194, 204, 209, 219, 254, 259, 269, 279,
228 284, 294, 302, 309, 319, 327, 334, 379,
229 384, 394, 404, 427, 434, 452, 304, 329,
230 429, 100, 101, 102, 103, 105, 106, 107,
231 108, 115, 116, 117, 118, 225, 226, 227,
232 228, 230, 231, 232, 233, 240, 241, 242,
233 303, 350, 351, 355, 356, 357, 358, 365,
234 366, 367, 368, 428, 475, 476, 480, 481,
235 482, 490, 492, 109, 229, 244, 352, 359,
236 477, 494, 354, 353, 328, 500, 501, 502,
237 503, 505, 506, 507, 508, 515, 516, 517,
238 525, 526, 527, 528, 530, 531, 532, 533,
239 540, 541, 542, 550, 551, 555, 556, 557,
240 558, 565, 566, 567, 575, 576, 580, 581,
241 582, 590, 592, 504, 509, 519, 529, 552,
242 569, 577, 553, 600, 601, 605, 606, 607,
243 615, 617, 602, 609, 578, 0, 1, 2,
244 3, 5, 6, 7, 8, 10, 11, 12,
245 13, 15, 16, 17, 18, 25, 26, 27,
246 28, 30, 31, 32, 33, 35, 36, 37,
247 38, 40, 41, 42, 43, 75, 76, 77,
248 78, 80, 81, 82, 83, 85, 86, 87,
249 88, 90, 91, 92, 93, 125, 126, 127,
250 128, 130, 131, 132, 133, 135, 136, 137,
251 138, 140, 141, 142, 143, 150, 151, 152,
252 153, 155, 156, 157, 158, 160, 161, 162,
253 163, 165, 166, 167, 168, 200, 201, 202,
254 203, 205, 206, 207, 208, 210, 211, 212,
255 213, 215, 216, 217, 218, 250, 251, 252,
256 253, 255, 256, 257, 258, 260, 261, 265,
257 266, 275, 276, 277, 278, 280, 281, 282,
258 283, 285, 286, 287, 288, 290, 291, 292,
259 293, 325, 326, 327, 328, 330, 331, 332,
260 333, 335, 336, 337, 338, 340, 341, 342,
261 375, 376, 377, 378, 380, 381, 382, 383,
262 385, 386, 390, 391, 400, 401, 402, 403,
263 405, 406, 407, 410, 411, 412, 415, 416,
264 417, 450, 451, 452, 455, 456, 458, 460,
265 461, 462, 465, 466, 468, 4, 9, 14,
266 19, 29, 34, 39, 44, 79, 84, 89,
267 94, 129, 134, 139, 144, 154, 159, 164,
268 169, 204, 209, 214, 219, 254, 259, 262,
269 267, 279, 284, 289, 294, 329, 334, 339,
270 379, 384, 387, 392, 404, 414, 264, 269,
271 389, 394, 20, 21, 22, 23, 45, 46,
272 47, 48, 95, 96, 97, 98, 145, 146,
273 147, 148, 170, 171, 172, 173, 220, 221,
274 222, 263, 270, 271, 295, 296, 297, 298,
275 345, 346, 347, 348, 388, 395, 396, 420,
276 421, 422, 470, 471, 472, 24, 49, 99,
277 149, 174, 272, 299, 397, 424, 274, 273,
278 268, 500, 501, 502, 503, 505, 506, 507,
279 508, 510, 511, 515, 516, 525, 526, 527,
280 528, 530, 531, 532, 533, 535, 536, 537,
281 538, 540, 541, 542, 575, 576, 577, 578,
282 580, 581, 582, 585, 586, 587, 588, 590,
283 592, 504, 509, 512, 517, 529, 539, 514,
284 519, 513, 520, 521, 545, 546, 547, 548,
285 595, 596, 598, 522, 524, 0, 1, 2,
286 3, 5, 6, 7, 8, 10, 11, 12,
287 13, 15, 16, 17, 18, 25, 26, 27,
288 28, 30, 31, 32, 33, 35, 36, 37,
289 38, 40, 41, 42, 43, 50, 51, 52,
290 53, 55, 56, 57, 58, 60, 61, 65,
291 66, 75, 76, 77, 78, 80, 81, 82,
292 83, 85, 86, 90, 91, 125, 126, 127,
293 128, 130, 131, 132, 133, 135, 136, 137,
294 138, 140, 141, 142, 143, 150, 151, 152,
295 153, 155, 156, 157, 158, 160, 161, 162,
296 163, 165, 166, 167, 168, 175, 176, 177,
297 178, 180, 181, 182, 183, 185, 186, 187,
298 188, 190, 191, 192, 193, 200, 201, 202,
299 203, 205, 206, 207, 208, 210, 211, 212,
300 213, 215, 216, 217, 218, 375, 376, 377,
301 378, 380, 381, 382, 383, 385, 386, 387,
302 388, 390, 391, 392, 400, 401, 402, 403,
303 405, 406, 407, 410, 411, 412, 415, 416,
304 417, 425, 426, 427, 428, 430, 431, 432,
305 433, 435, 436, 437, 438, 440, 442, 450,
306 451, 452, 455, 456, 458, 460, 461, 462,
307 465, 466, 468, 4, 9, 14, 19, 29,
308 34, 39, 44, 54, 59, 62, 67, 79,
309 84, 87, 92, 129, 134, 139, 144, 154,
310 159, 164, 169, 179, 184, 189, 194, 204,
311 209, 214, 219, 379, 384, 389, 394, 404,
312 414, 429, 434, 439, 64, 69, 89, 94,
313 20, 21, 22, 23, 45, 46, 47, 48,
314 63, 70, 71, 88, 95, 96, 145, 146,
315 147, 148, 170, 171, 172, 173, 195, 196,
316 197, 198, 220, 221, 222, 395, 396, 397,
317 420, 421, 422, 445, 446, 447, 470, 471,
318 472, 24, 49, 72, 97, 149, 174, 199,
319 424, 74, 99, 73, 98, 68, 100, 101,
320 102, 103, 105, 106, 107, 108, 110, 111,
321 115, 116, 225, 226, 227, 228, 230, 231,
322 232, 233, 235, 236, 237, 238, 240, 241,
323 242, 475, 476, 477, 480, 481, 482, 485,
324 486, 487, 490, 492, 109, 112, 117, 229,
325 239, 244, 489, 494, 114, 113, 120, 121,
326 245, 246, 247, 248, 495, 496, 122, 124,
327 123, 118, 0, 1, 3, 5, 6, 8,
328 10, 11, 13, 15, 16, 18, 25, 26,
329 28, 30, 31, 33, 35, 36, 38, 40,
330 41, 43, 50, 51, 53, 55, 56, 58,
331 61, 63, 66, 68, 75, 76, 78, 80,
332 81, 83, 86, 88, 91, 93, 125, 126,
333 128, 130, 131, 133, 135, 136, 138, 140,
334 141, 143, 150, 151, 153, 155, 156, 158,
335 160, 161, 163, 165, 166, 168, 175, 176,
336 178, 180, 181, 183, 185, 186, 188, 190,
337 191, 193, 200, 201, 203, 205, 206, 208,
338 210, 211, 213, 215, 216, 218, 375, 376,
339 378, 380, 381, 383, 385, 386, 388, 390,
340 391, 400, 401, 403, 405, 406, 410, 411,
341 415, 416, 425, 426, 428, 430, 431, 433,
342 435, 436, 438, 440, 450, 451, 455, 456,
343 458, 460, 461, 465, 466, 468, 20, 21,
344 23, 45, 46, 48, 60, 71, 73, 85,
345 96, 98, 145, 146, 148, 170, 171, 173,
346 195, 196, 198, 220, 221, 395, 396, 420,
347 421, 445, 446, 470, 471, 70, 95, 65,
348 100, 101, 103, 105, 106, 108, 111, 113,
349 116, 118, 225, 226, 228, 230, 231, 233,
350 235, 236, 238, 240, 241, 475, 476, 480,
351 481, 485, 486, 490, 110, 121, 123, 245,
352 246, 248, 495, 496, 120, 115,
355 static long _vq_fitmap_res_Z_3[] = {
356 0, 548, 884, 884, 1213, 1213, 884, 884,
357 1549, 1882, 884, 884, 1213, 1213, 884, 884,
360 static long _vq_fitlength_res_Z_3[] = {
361 548, 336, 329, 329, 336, 336, 329, 329,
362 333, 204, 329, 329, 336, 336, 329, 329,
365 static encode_aux_pigeonhole _vq_auxp_res_Z_3 = {
367 _vq_pigeonmap_res_Z_3,
371 _vq_fitlength_res_Z_3
374 static static_codebook _vq_book_res_Z_3 = {
376 _vq_lengthlist_res_Z_3,
377 1, -533725184, 1611661312, 3, 0,
378 _vq_quantlist_res_Z_3,