Mercurial > mplayer.hg
annotate mp3lib/l2tables.h @ 22153:0cf24df5d97b
Revert part of commit r22170.
FFmpeg lavcodecs version is still
(or according to ffmpeg commit r7868, it's back to)
49.3.0, so global variables are not yet directly accessable (if ever).
author | iive |
---|---|
date | Wed, 07 Feb 2007 12:31:37 +0000 |
parents | 0783dd397f74 |
children | 0f1b5b68af32 |
rev | line source |
---|---|
15167
07e7a572bd84
Mark modified imported files as such to comply with (L)GPL ¡ø2a.
diego
parents:
12131
diff
changeset
|
1 /* |
18783 | 2 * Modified for use with MPlayer, for details see the changelog at |
3 * http://svn.mplayerhq.hu/mplayer/trunk/ | |
15167
07e7a572bd84
Mark modified imported files as such to comply with (L)GPL ¡ø2a.
diego
parents:
12131
diff
changeset
|
4 * $Id$ |
07e7a572bd84
Mark modified imported files as such to comply with (L)GPL ¡ø2a.
diego
parents:
12131
diff
changeset
|
5 */ |
07e7a572bd84
Mark modified imported files as such to comply with (L)GPL ¡ø2a.
diego
parents:
12131
diff
changeset
|
6 |
1 | 7 /* |
8 * Layer 2 Alloc tables .. | |
9 * most other tables are calculated on program start (which is (of course) | |
10 * not ISO-conform) .. | |
11 * Layer-3 huffman table is in huffman.h | |
12 */ | |
13 | |
12131
d155623271e3
fix symbol clashes when linking with libmp3lame including mp3 decoder, man, mp3lib is so much bloated
alex
parents:
1
diff
changeset
|
14 static struct al_table alloc_0[] = { |
1 | 15 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511}, |
16 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767}, | |
17 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511}, | |
18 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767}, | |
19 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511}, | |
20 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767}, | |
21 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
22 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
23 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
24 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
25 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
26 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
27 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
28 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
29 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
30 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
31 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
32 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
33 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
34 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
35 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
36 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
37 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
38 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
39 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
40 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
41 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
42 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
43 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
44 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
45 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
46 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
47 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
48 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
49 {2,0},{5,3},{7,5},{16,-32767}, | |
50 {2,0},{5,3},{7,5},{16,-32767}, | |
51 {2,0},{5,3},{7,5},{16,-32767}, | |
52 {2,0},{5,3},{7,5},{16,-32767} }; | |
53 | |
12131
d155623271e3
fix symbol clashes when linking with libmp3lame including mp3 decoder, man, mp3lib is so much bloated
alex
parents:
1
diff
changeset
|
54 static struct al_table alloc_1[] = { |
1 | 55 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511}, |
56 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767}, | |
57 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511}, | |
58 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767}, | |
59 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511}, | |
60 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767}, | |
61 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
62 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
63 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
64 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
65 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
66 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
67 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
68 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
69 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
70 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
71 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
72 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
73 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
74 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
75 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
76 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767}, | |
77 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
78 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
79 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
80 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
81 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
82 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
83 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
84 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
85 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
86 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
87 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
88 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767}, | |
89 {2,0},{5,3},{7,5},{16,-32767}, | |
90 {2,0},{5,3},{7,5},{16,-32767}, | |
91 {2,0},{5,3},{7,5},{16,-32767}, | |
92 {2,0},{5,3},{7,5},{16,-32767}, | |
93 {2,0},{5,3},{7,5},{16,-32767}, | |
94 {2,0},{5,3},{7,5},{16,-32767}, | |
95 {2,0},{5,3},{7,5},{16,-32767} }; | |
96 | |
12131
d155623271e3
fix symbol clashes when linking with libmp3lame including mp3 decoder, man, mp3lib is so much bloated
alex
parents:
1
diff
changeset
|
97 static struct al_table alloc_2[] = { |
1 | 98 {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255}, |
99 {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383}, | |
100 {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255}, | |
101 {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383}, | |
102 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
103 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
104 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
105 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
106 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
107 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63} }; | |
108 | |
12131
d155623271e3
fix symbol clashes when linking with libmp3lame including mp3 decoder, man, mp3lib is so much bloated
alex
parents:
1
diff
changeset
|
109 static struct al_table alloc_3[] = { |
1 | 110 {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255}, |
111 {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383}, | |
112 {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255}, | |
113 {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383}, | |
114 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
115 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
116 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
117 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
118 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
119 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
120 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
121 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
122 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
123 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63} }; | |
124 | |
12131
d155623271e3
fix symbol clashes when linking with libmp3lame including mp3 decoder, man, mp3lib is so much bloated
alex
parents:
1
diff
changeset
|
125 static struct al_table alloc_4[] = { |
1 | 126 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, |
127 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191}, | |
128 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
129 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191}, | |
130 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
131 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191}, | |
132 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127}, | |
133 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191}, | |
134 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
135 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
136 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
137 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
138 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
139 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
140 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63}, | |
141 {2,0},{5,3},{7,5},{10,9}, | |
142 {2,0},{5,3},{7,5},{10,9}, | |
143 {2,0},{5,3},{7,5},{10,9}, | |
144 {2,0},{5,3},{7,5},{10,9}, | |
145 {2,0},{5,3},{7,5},{10,9}, | |
146 {2,0},{5,3},{7,5},{10,9}, | |
147 {2,0},{5,3},{7,5},{10,9}, | |
148 {2,0},{5,3},{7,5},{10,9}, | |
149 {2,0},{5,3},{7,5},{10,9}, | |
150 {2,0},{5,3},{7,5},{10,9}, | |
151 {2,0},{5,3},{7,5},{10,9}, | |
152 {2,0},{5,3},{7,5},{10,9}, | |
153 {2,0},{5,3},{7,5},{10,9}, | |
154 {2,0},{5,3},{7,5},{10,9}, | |
155 {2,0},{5,3},{7,5},{10,9}, | |
156 {2,0},{5,3},{7,5},{10,9}, | |
157 {2,0},{5,3},{7,5},{10,9}, | |
158 {2,0},{5,3},{7,5},{10,9}, | |
159 {2,0},{5,3},{7,5},{10,9} }; | |
160 |