Mercurial > libavcodec.hg
comparison apedec.c @ 6444:3572cc5bc8ff libavcodec
Remove unused elements from tables.
author | michael |
---|---|
date | Tue, 04 Mar 2008 22:09:54 +0000 |
parents | e3adb7e96812 |
children | 258f569d30ca |
comparison
equal
deleted
inserted
replaced
6443:e3adb7e96812 | 6444:3572cc5bc8ff |
---|---|
314 #define MODEL_ELEMENTS 64 | 314 #define MODEL_ELEMENTS 64 |
315 | 315 |
316 /** | 316 /** |
317 * Fixed probabilities for symbols in Monkey Audio version 3.97 | 317 * Fixed probabilities for symbols in Monkey Audio version 3.97 |
318 */ | 318 */ |
319 static const uint32_t counts_3970[65] = { | 319 static const uint32_t counts_3970[22] = { |
320 0, 14824, 28224, 39348, 47855, 53994, 58171, 60926, | 320 0, 14824, 28224, 39348, 47855, 53994, 58171, 60926, |
321 62682, 63786, 64463, 64878, 65126, 65276, 65365, 65419, | 321 62682, 63786, 64463, 64878, 65126, 65276, 65365, 65419, |
322 65450, 65469, 65480, 65487, 65491, 65493, 65494, 65495, | 322 65450, 65469, 65480, 65487, 65491, 65493, |
323 65496, 65497, 65498, 65499, 65500, 65501, 65502, 65503, | |
324 65504, 65505, 65506, 65507, 65508, 65509, 65510, 65511, | |
325 65512, 65513, 65514, 65515, 65516, 65517, 65518, 65519, | |
326 65520, 65521, 65522, 65523, 65524, 65525, 65526, 65527, | |
327 65528, 65529, 65530, 65531, 65532, 65533, 65534, 65535, | |
328 65536 | |
329 }; | 323 }; |
330 | 324 |
331 /** | 325 /** |
332 * Probability ranges for symbols in Monkey Audio version 3.97 | 326 * Probability ranges for symbols in Monkey Audio version 3.97 |
333 */ | 327 */ |
334 static const uint16_t counts_diff_3970[64] = { | 328 static const uint16_t counts_diff_3970[21] = { |
335 14824, 13400, 11124, 8507, 6139, 4177, 2755, 1756, | 329 14824, 13400, 11124, 8507, 6139, 4177, 2755, 1756, |
336 1104, 677, 415, 248, 150, 89, 54, 31, | 330 1104, 677, 415, 248, 150, 89, 54, 31, |
337 19, 11, 7, 4, 2, 1, 1, 1, | 331 19, 11, 7, 4, 2, |
338 1, 1, 1, 1, 1, 1, 1, 1, | |
339 1, 1, 1, 1, 1, 1, 1, 1, | |
340 1, 1, 1, 1, 1, 1, 1, 1, | |
341 1, 1, 1, 1, 1, 1, 1, 1, | |
342 1, 1, 1, 1, 1, 1, 1, 1 | |
343 }; | 332 }; |
344 | 333 |
345 /** | 334 /** |
346 * Fixed probabilities for symbols in Monkey Audio version 3.98 | 335 * Fixed probabilities for symbols in Monkey Audio version 3.98 |
347 */ | 336 */ |
348 static const uint32_t counts_3980[65] = { | 337 static const uint32_t counts_3980[22] = { |
349 0, 19578, 36160, 48417, 56323, 60899, 63265, 64435, | 338 0, 19578, 36160, 48417, 56323, 60899, 63265, 64435, |
350 64971, 65232, 65351, 65416, 65447, 65466, 65476, 65482, | 339 64971, 65232, 65351, 65416, 65447, 65466, 65476, 65482, |
351 65485, 65488, 65490, 65491, 65492, 65493, 65494, 65495, | 340 65485, 65488, 65490, 65491, 65492, 65493, |
352 65496, 65497, 65498, 65499, 65500, 65501, 65502, 65503, | |
353 65504, 65505, 65506, 65507, 65508, 65509, 65510, 65511, | |
354 65512, 65513, 65514, 65515, 65516, 65517, 65518, 65519, | |
355 65520, 65521, 65522, 65523, 65524, 65525, 65526, 65527, | |
356 65528, 65529, 65530, 65531, 65532, 65533, 65534, 65535, | |
357 65536 | |
358 }; | 341 }; |
359 | 342 |
360 /** | 343 /** |
361 * Probability ranges for symbols in Monkey Audio version 3.98 | 344 * Probability ranges for symbols in Monkey Audio version 3.98 |
362 */ | 345 */ |
363 static const uint16_t counts_diff_3980[64] = { | 346 static const uint16_t counts_diff_3980[21] = { |
364 19578, 16582, 12257, 7906, 4576, 2366, 1170, 536, | 347 19578, 16582, 12257, 7906, 4576, 2366, 1170, 536, |
365 261, 119, 65, 31, 19, 10, 6, 3, | 348 261, 119, 65, 31, 19, 10, 6, 3, |
366 3, 2, 1, 1, 1, 1, 1, 1, | 349 3, 2, 1, 1, 1, |
367 1, 1, 1, 1, 1, 1, 1, 1, | |
368 1, 1, 1, 1, 1, 1, 1, 1, | |
369 1, 1, 1, 1, 1, 1, 1, 1, | |
370 1, 1, 1, 1, 1, 1, 1, 1, | |
371 1, 1, 1, 1, 1, 1, 1, 1 | |
372 }; | 350 }; |
373 | 351 |
374 /** | 352 /** |
375 * Decode symbol | 353 * Decode symbol |
376 * @param counts probability range start position | 354 * @param counts probability range start position |