f34f557043b2847b35543f7fe17b8d0e5ea5e312
[platform/upstream/libvorbis.git] / lib / books / res0_192_128_3.vqh
1 /********************************************************************
2  *                                                                  *
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.        *
7  *                                                                  *
8  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001             *
9  * by the XIPHOPHORUS Company http://www.xiph.org/                  *
10  ********************************************************************
11
12  function: static codebook autogenerated by vq/somethingorother
13
14  ********************************************************************/
15
16 #ifndef _V_res0_192_128_3_VQH_
17 #define _V_res0_192_128_3_VQH_
18 #include "codebook.h"
19
20 static long _vq_quantlist_res0_192_128_3[] = {
21         24,
22         23,
23         25,
24         22,
25         26,
26         21,
27         27,
28         20,
29         28,
30         19,
31         29,
32         18,
33         30,
34         17,
35         31,
36         16,
37         32,
38         15,
39         33,
40         14,
41         34,
42         13,
43         35,
44         12,
45         36,
46         11,
47         37,
48         10,
49         38,
50         9,
51         39,
52         8,
53         40,
54         7,
55         41,
56         6,
57         42,
58         5,
59         43,
60         4,
61         44,
62         3,
63         45,
64         2,
65         46,
66         1,
67         47,
68         0,
69         48,
70 };
71
72 static long _vq_lengthlist_res0_192_128_3[] = {
73          4, 4, 4, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8,
74          8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
75          9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,
76         10, 5, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9,
77          9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,
78          9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,
79         10,10, 5, 5, 5, 6, 6, 7, 7, 7, 8, 8, 8, 8, 8, 9,
80          9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 9,
81         10, 9, 9, 9,10, 9, 9, 9,10,10,10,10,10,10,10,10,
82         10,10,10, 7, 7, 7, 8, 8, 9, 9,10, 9,10,10,10,10,
83         11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,
84         11,12,11,11,11,11,11,11,11,11,11,12,12,12,12,12,
85         12,12,12,12, 7, 7, 7, 8, 8, 9, 9, 9,10,10,10,10,
86         10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
87         11,11,11,11,11,11,11,11,11,12,11,11,12,11,12,11,
88         12,12,12,12,12, 9, 9, 9,10,10,11,11,11,11,12,12,
89         12,13,12,12,13,13,13,12,12,13,13,13,13,13,13,14,
90         13,13,13,13,13,14,13,13,13,14,13,13,13,13,13,13,
91         14,14,14,13,13,13, 9, 9, 9,10,10,11,11,11,11,12,
92         12,12,12,13,12,12,12,13,12,13,13,13,13,13,13,13,
93         12,13,12,13,14,13,13,13,13,13,13,13,13,14,13,14,
94         13,14,14,13,13,14,14, 9,10,10,11,11,12,12,13,13,
95         13,13,13,14,14,14,13,14,15,13,13,14,14,14,16,15,
96         14,15,14,15,13,15,14,14,15,15,14,15,14,14,14,15,
97         14,15,15,14,15,15,15,15, 9,10,10,12,11,12,12,13,
98         12,13,13,14,13,14,13,14,14,15,14,13,14,14,15,14,
99         14,14,15,14,14,15,15,15,14,14,15,14,15,14,15,15,
100         14,14,14,14,14,14,14,15,16,10,11,11,13,12,13,13,
101         13,13,14,14,14,14,15,14,14,14,15,14,14,14,15,14,
102         14,16,15,15,17,14,15,16,15,15,16,16,16,14,15,15,
103         15,15,15,16,16,15,17,15,16,16,10,11,11,12,12,14,
104         13,13,13,13,14,14,14,14,15,14,14,15,15,15,15,15,
105         15,15,14,15,15,15,14,16,15,15,17,16,15,16,16,16,
106         15,15,15,16,15,16,15,14,15,16,17,12,12,12,13,14,
107         14,14,14,14,14,14,15,16,15,15,16,17,14,16,16,16,
108         15,15,17,16,14,17,15,16,15,16,16,16,16,16,16,15,
109         15,17,15,15,17,17,16,16,17,16,16,16,11,12,12,13,
110         14,14,14,14,15,14,15,15,15,17,15,16,15,16,16,15,
111         16,14,16,16,16,16,17,16,16,15,16,15,17,15,15,16,
112         16,16,17,17,15,16,17,16,15,16,15,16,16,12,13,13,
113         14,14,14,15,15,15,15,16,15,15,15,16,16,15,15,16,
114         15,17,17,16,16,16,17,15,16,17,16,17,17,16,17,16,
115         17,17,16,16,17,17,17,17,17,16,17,16,17,17,12,13,
116         13,14,15,14,14,14,15,15,15,16,15,15,16,15,16,16,
117         15,16,15,15,16,17,17,17,16,16,15,17,16,16,16,16,
118         15,17,16,17,16,16,17,16,16,16,17,16,16,17,16,12,
119         13,13,14,15,15,16,15,16,16,16,17,16,16,17,16,16,
120         17,16,17,15,16,17,15,17,17,17,16,16,16,17,16,17,
121         17,16,17,16,16,17,16,17,16,17,16,17,16,17,17,15,
122         12,13,13,16,14,16,15,16,15,16,14,17,16,15,17,17,
123         17,17,17,16,16,16,17,16,16,17,17,17,17,17,17,17,
124         17,17,16,17,17,17,16,17,16,17,16,17,16,17,16,17,
125         16,13,15,14,16,15,15,16,16,15,16,15,16,17,15,17,
126         17,16,16,17,17,16,17,16,17,16,16,16,17,16,16,17,
127         17,15,16,17,16,17,17,16,17,16,17,17,17,16,16,17,
128         17,17,13,14,13,15,15,16,15,16,16,15,15,16,17,16,
129         17,17,17,16,17,16,16,17,17,15,17,16,16,17,16,17,
130         17,16,17,17,16,17,17,17,16,16,16,17,17,17,17,16,
131         16,16,17,14,14,14,16,14,17,16,15,16,16,16,17,17,
132         16,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,
133         17,17,17,17,16,16,16,17,17,17,17,16,17,17,17,17,
134         16,17,17,17,14,16,14,15,14,15,16,16,16,16,16,16,
135         17,17,16,17,17,17,17,17,17,17,16,16,17,17,17,17,
136         16,16,17,16,17,17,17,16,17,16,17,16,17,16,15,17,
137         17,17,17,17,16,14,14,14,15,16,15,17,15,16,17,17,
138         16,16,17,17,17,17,16,16,17,17,17,16,17,16,17,17,
139         17,17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,
140         17,17,17,17,17,17,14,15,15,15,15,17,16,17,17,17,
141         17,16,16,16,17,17,17,16,17,16,17,17,17,17,16,17,
142         16,17,17,17,17,16,17,16,16,17,16,17,16,17,17,16,
143         17,17,17,17,17,16,17,14,16,15,15,15,17,16,16,16,
144         17,17,16,16,16,17,17,16,17,17,17,17,17,17,17,17,
145         17,16,17,17,17,17,17,16,17,16,17,17,17,17,17,17,
146         17,17,16,17,17,17,17,17,14,15,16,16,15,16,16,16,
147         17,16,17,17,17,17,16,17,17,17,17,17,17,17,17,17,
148         17,17,17,16,17,16,16,17,17,17,16,16,17,17,17,16,
149         17,17,16,16,17,17,16,17,17,14,16,14,15,16,16,17,
150         17,16,17,17,17,17,17,17,17,17,17,17,16,17,17,17,
151         16,17,17,17,17,17,17,17,17,17,17,17,17,16,16,17,
152         17,17,17,17,17,17,17,17,17,17,16,15,16,16,16,16,
153         15,16,17,16,17,17,17,17,17,16,17,17,17,16,17,17,
154         17,17,16,17,16,17,17,17,17,17,17,17,17,17,16,16,
155         17,17,16,17,17,17,16,17,17,17,17,15,16,16,16,16,
156         17,17,17,17,17,17,16,17,17,17,16,17,17,17,16,17,
157         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
158         17,17,17,17,17,17,17,17,17,17,17,17,16,16,14,17,
159         17,16,15,16,15,17,17,17,17,17,17,17,16,17,17,16,
160         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
161         17,17,16,17,16,17,17,17,17,17,17,17,17,16,16,15,
162         17,16,17,17,16,17,16,17,16,16,17,17,17,17,17,17,
163         17,17,16,17,17,17,17,17,17,17,16,17,17,17,17,16,
164         17,16,17,17,17,17,17,17,17,17,17,17,17,17,15,15,
165         15,16,16,16,17,17,15,16,17,16,17,17,16,17,17,17,
166         17,17,17,17,17,16,17,17,16,17,17,17,16,17,17,16,
167         17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,14,
168         16,15,16,16,16,16,17,16,17,17,17,16,16,17,17,17,
169         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
170         17,17,17,17,17,16,17,17,17,16,17,17,17,17,17,17,
171         15,16,16,16,17,17,17,16,17,17,17,17,17,17,17,17,
172         17,17,17,17,17,17,17,17,17,17,17,16,17,16,17,17,
173         17,16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
174         17,15,15,15,16,17,17,17,17,17,16,17,16,17,17,17,
175         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
176         17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,
177         17,17,15,16,16,17,17,16,17,17,17,17,17,17,17,17,
178         17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,
179         17,17,17,17,17,17,17,16,16,16,16,17,17,17,17,17,
180         17,17,17,17,16,16,17,17,17,16,17,17,17,17,17,17,
181         17,17,17,17,17,17,17,17,17,16,17,17,17,17,17,17,
182         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
183         17,17,17,17,16,16,16,16,17,17,17,17,16,16,17,17,
184         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
185         16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
186         17,17,17,17,17,17,17,17,17,17,17,16,17,17,17,17,
187         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
188         17,17,17,17,16,17,17,17,17,16,17,17,17,17,17,17,
189         17,17,17,17,17,17,17,16,16,16,16,16,16,17,17,17,
190         17,17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,
191         17,17,17,17,17,17,16,17,17,17,17,17,17,17,17,17,
192         17,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,
193         17,17,17,17,17,17,17,17,17,17,17,17,17,17,16,16,
194         17,17,17,17,17,17,17,17,17,17,17,16,16,17,17,16,
195         17,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,
196         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
197         17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,
198         17,17,17,17,17,17,17,17,17,16,17,17,16,17,17,17,
199         17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,16,
200         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
201         17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,17,
202         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
203         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
204         17,16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
205         17,16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
206         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
207         17,17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,
208         17,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,
209         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
210         17,17,17,17,17,17,17,17,17,17,17,17,17,17,16,17,
211         17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,
212         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
213         17,17,17,17,17,17,17,17,17,17,17,17,17,17,16,17,
214         17,17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,
215         17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,
216         17,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,
217         17,17,16,16,17,16,17,17,17,17,17,17,17,17,17,17,
218         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
219         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
220         17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,17,
221         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
222         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
223         17,
224 };
225
226 static float _vq_quantthresh_res0_192_128_3[] = {
227         -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5, 
228         -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5, 
229         -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 
230         0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 
231         8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5, 
232         16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5, 
233 };
234
235 static long _vq_quantmap_res0_192_128_3[] = {
236            47,   45,   43,   41,   39,   37,   35,   33,
237            31,   29,   27,   25,   23,   21,   19,   17,
238            15,   13,   11,    9,    7,    5,    3,    1,
239             0,    2,    4,    6,    8,   10,   12,   14,
240            16,   18,   20,   22,   24,   26,   28,   30,
241            32,   34,   36,   38,   40,   42,   44,   46,
242            48,
243 };
244
245 static encode_aux_threshmatch _vq_auxt_res0_192_128_3 = {
246         _vq_quantthresh_res0_192_128_3,
247         _vq_quantmap_res0_192_128_3,
248         49,
249         49
250 };
251
252 static static_codebook _vq_book_res0_192_128_3 = {
253         2, 2401,
254         _vq_lengthlist_res0_192_128_3,
255         1, -526909440, 1611661312, 6, 0,
256         _vq_quantlist_res0_192_128_3,
257         NULL,
258         &_vq_auxt_res0_192_128_3,
259         NULL,
260         0
261 };
262
263
264 #endif