# HG changeset patch # User michael # Date 1204668594 0 # Node ID 3572cc5bc8ff9cb71a7219d3d02424d069b64084 # Parent e3adb7e96812c3cbcc6808bc805e4d87cbcd9b62 Remove unused elements from tables. diff -r e3adb7e96812 -r 3572cc5bc8ff apedec.c --- a/apedec.c Tue Mar 04 21:58:34 2008 +0000 +++ b/apedec.c Tue Mar 04 22:09:54 2008 +0000 @@ -316,59 +316,37 @@ /** * Fixed probabilities for symbols in Monkey Audio version 3.97 */ -static const uint32_t counts_3970[65] = { +static const uint32_t counts_3970[22] = { 0, 14824, 28224, 39348, 47855, 53994, 58171, 60926, 62682, 63786, 64463, 64878, 65126, 65276, 65365, 65419, - 65450, 65469, 65480, 65487, 65491, 65493, 65494, 65495, - 65496, 65497, 65498, 65499, 65500, 65501, 65502, 65503, - 65504, 65505, 65506, 65507, 65508, 65509, 65510, 65511, - 65512, 65513, 65514, 65515, 65516, 65517, 65518, 65519, - 65520, 65521, 65522, 65523, 65524, 65525, 65526, 65527, - 65528, 65529, 65530, 65531, 65532, 65533, 65534, 65535, - 65536 + 65450, 65469, 65480, 65487, 65491, 65493, }; /** * Probability ranges for symbols in Monkey Audio version 3.97 */ -static const uint16_t counts_diff_3970[64] = { +static const uint16_t counts_diff_3970[21] = { 14824, 13400, 11124, 8507, 6139, 4177, 2755, 1756, 1104, 677, 415, 248, 150, 89, 54, 31, - 19, 11, 7, 4, 2, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1 + 19, 11, 7, 4, 2, }; /** * Fixed probabilities for symbols in Monkey Audio version 3.98 */ -static const uint32_t counts_3980[65] = { +static const uint32_t counts_3980[22] = { 0, 19578, 36160, 48417, 56323, 60899, 63265, 64435, 64971, 65232, 65351, 65416, 65447, 65466, 65476, 65482, - 65485, 65488, 65490, 65491, 65492, 65493, 65494, 65495, - 65496, 65497, 65498, 65499, 65500, 65501, 65502, 65503, - 65504, 65505, 65506, 65507, 65508, 65509, 65510, 65511, - 65512, 65513, 65514, 65515, 65516, 65517, 65518, 65519, - 65520, 65521, 65522, 65523, 65524, 65525, 65526, 65527, - 65528, 65529, 65530, 65531, 65532, 65533, 65534, 65535, - 65536 + 65485, 65488, 65490, 65491, 65492, 65493, }; /** * Probability ranges for symbols in Monkey Audio version 3.98 */ -static const uint16_t counts_diff_3980[64] = { +static const uint16_t counts_diff_3980[21] = { 19578, 16582, 12257, 7906, 4576, 2366, 1170, 536, 261, 119, 65, 31, 19, 10, 6, 3, - 3, 2, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1 + 3, 2, 1, 1, 1, }; /**