Directly mark jpeg_buf_src() as void instead of using some indirection marcro.
[mplayer.git] / mp3lib / l2tables.h
blobfeef3d1cdbc3e4a42d5f3f94123fb27fd55adad0
1 /*
2 * Modified for use with MPlayer, for details see the changelog at
3 * http://svn.mplayerhq.hu/mplayer/trunk/
4 * $Id$
5 */
7 #ifndef MPLAYER_MP3LIB_L2TABLES_H
8 #define MPLAYER_MP3LIB_L2TABLES_H
10 #include "mpg123.h"
13 * Layer 2 Alloc tables ..
14 * most other tables are calculated on program start (which is (of course)
15 * not ISO-conform) ..
16 * Layer-3 huffman table is in huffman.h
19 static struct al_table alloc_0[] = {
20 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
21 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
22 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
23 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
24 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
25 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
26 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
27 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
28 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
29 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
30 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
31 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
32 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
33 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
34 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
35 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
36 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
37 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
38 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
39 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
40 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
41 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{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 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
50 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
51 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
52 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
53 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
54 {2,0},{5,3},{7,5},{16,-32767},
55 {2,0},{5,3},{7,5},{16,-32767},
56 {2,0},{5,3},{7,5},{16,-32767},
57 {2,0},{5,3},{7,5},{16,-32767} };
59 static struct al_table alloc_1[] = {
60 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
61 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
62 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
63 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
64 {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
65 {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
66 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
67 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
68 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
69 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
70 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
71 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
72 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
73 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
74 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
75 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
76 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
77 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
78 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
79 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
80 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
81 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{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 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
90 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
91 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
92 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
93 {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
94 {2,0},{5,3},{7,5},{16,-32767},
95 {2,0},{5,3},{7,5},{16,-32767},
96 {2,0},{5,3},{7,5},{16,-32767},
97 {2,0},{5,3},{7,5},{16,-32767},
98 {2,0},{5,3},{7,5},{16,-32767},
99 {2,0},{5,3},{7,5},{16,-32767},
100 {2,0},{5,3},{7,5},{16,-32767} };
102 static struct al_table alloc_2[] = {
103 {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
104 {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
105 {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
106 {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
107 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
108 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
109 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
110 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
111 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
112 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63} };
114 static struct al_table alloc_3[] = {
115 {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
116 {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
117 {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
118 {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
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 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
125 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
126 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
127 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
128 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63} };
130 static struct al_table alloc_4[] = {
131 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
132 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},
133 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
134 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},
135 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
136 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},
137 {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
138 {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},
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 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
142 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
143 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
144 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
145 {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
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 {2,0},{5,3},{7,5},{10,9},
161 {2,0},{5,3},{7,5},{10,9},
162 {2,0},{5,3},{7,5},{10,9},
163 {2,0},{5,3},{7,5},{10,9},
164 {2,0},{5,3},{7,5},{10,9} };
166 #endif /* MPLAYER_MP3LIB_L2TABLES_H */