c92767ef3a16b941998a926c4a4484ccd091ddd3
[platform/upstream/libvorbis.git] / lib / books / res0_160_128_2.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_160_128_2_VQH_
17 #define _V_res0_160_128_2_VQH_
18 #include "codebook.h"
19
20 static long _vq_quantlist_res0_160_128_2[] = {
21         3,
22         2,
23         4,
24         1,
25         5,
26         0,
27         6,
28 };
29
30 static long _vq_lengthlist_res0_160_128_2[] = {
31          3, 5, 5, 7, 7,10,10, 5, 7, 7, 9, 8,12,11, 5, 7,
32          7, 8, 9,12,12, 7, 9, 9,13,13,15,16, 7, 9, 9,12,
33         12,15,16,10,11,12,15,14,16,16,10,12,12,15,15,17,
34         17, 5, 7, 7, 9, 9,12,12, 7, 8, 8,10,10,13,13, 7,
35          8, 8,10,10,13,14, 9,10,10,14,14,16,16, 9,10,10,
36         14,14,15,17,12,13,14,17,17,17,17,12,13,13,15,17,
37         17,16, 5, 7, 7, 8, 9,12,11, 7, 8, 8,10,10,13,13,
38          7, 8, 8,10,10,14,12, 9,11,10,14,13,16,17, 9,11,
39         10,15,13,15,17,12,14,13,17,17,17,15,12,13,13,17,
40         17,17,17, 7, 9, 9,13,13,15,14, 9,10,10,14,14,16,
41         15, 9,10,10,14,14,16,17,12,14,16,16,15,17,17,13,
42         14,14,15,17,17,17,14,15,16,17,17,17,17,14,16,16,
43         16,17,17,17, 7, 9, 9,13,13,14,15, 9,10,10,13,14,
44         16,15, 9,10,10,15,14,17,15,13,14,13,17,16,16,17,
45         13,14,14,17,15,17,17,15,17,17,17,15,17,17,16,17,
46         16,16,17,17,17,10,13,13,15,14,17,16,12,14,13,17,
47         15,17,16,12,14,14,16,17,17,17,15,15,16,16,17,17,
48         17,14,16,17,17,17,17,17,17,17,17,17,17,17,17,17,
49         16,16,17,17,16,17,10,12,13,15,15,17,17,12,15,13,
50         17,17,17,17,13,15,14,16,16,17,16,15,16,14,17,16,
51         17,17,14,14,16,17,17,17,17,17,17,17,17,17,17,17,
52         17,17,17,17,16,17,17, 5, 7, 7, 9, 9,12,12, 7, 8,
53          8,11,10,14,15, 7, 8, 8,10,11,13,13, 9,10,11,15,
54         16,16,17, 9,10,11,14,17,17,17,12,14,15,15,15,17,
55         17,12,14,14,15,17,17,17, 7, 9, 8,10,10,14,13, 8,
56         10,10,11,12,17,15, 8,10,10,12,11,14,15,10,12,12,
57         14,15,17,17,11,12,12,16,15,17,16,13,15,15,17,17,
58         17,17,14,16,17,17,17,17,17, 7, 8, 9,11,10,13,13,
59          8,10,10,12,12,15,14, 8,10,10,12,12,14,14,11,12,
60         11,17,14,17,17,11,12,13,14,16,17,16,14,16,15,17,
61         17,16,17,15,15,15,17,15,17,17, 9,11,11,14,15,17,
62         17,10,12,12,16,17,15,15,11,13,12,17,15,17,17,14,
63         15,16,16,17,17,16,15,15,15,17,16,17,17,16,16,17,
64         17,17,17,17,17,17,17,17,17,17,17, 9,11,11,14,14,
65         16,17,10,13,12,17,14,16,15,11,13,12,15,15,15,17,
66         14,15,16,17,15,17,17,14,16,14,17,17,17,16,15,17,
67         16,17,16,17,17,17,17,16,17,17,16,17,13,14,14,17,
68         17,17,16,14,13,15,16,16,17,17,13,16,15,17,17,17,
69         17,16,17,17,15,17,17,17,17,17,17,17,17,17,17,17,
70         17,16,16,17,17,17,17,17,17,17,17,17,17,12,13,15,
71         17,17,17,17,13,14,15,16,16,17,17,15,16,15,17,17,
72         17,17,17,17,15,17,17,17,17,15,17,17,17,17,17,17,
73         17,17,17,17,17,17,17,17,17,17,17,17,17,17, 5, 7,
74          7, 9, 9,12,12, 7, 9, 8,10,10,13,14, 7, 8, 8,10,
75         10,13,13, 9,10,10,15,14,16,15, 9,11,10,14,15,16,
76         17,12,13,14,15,16,17,17,12,15,14,15,16,17,17, 7,
77          8, 8,10,10,15,14, 8,10,10,12,11,14,14, 8,10,10,
78         11,12,14,15,11,12,11,16,15,17,17,11,11,13,14,15,
79         17,17,14,17,16,16,17,17,17,14,16,14,16,17,17,17,
80          7, 8, 8,10,10,14,13, 8,10,10,11,12,14,14, 8,10,
81         10,12,12,14,14,10,11,12,14,14,16,17,10,12,12,17,
82         14,17,17,15,15,16,17,17,16,17,14,15,15,17,17,17,
83         17, 9,11,10,14,14,17,17,10,12,12,17,14,17,17,10,
84         12,12,14,17,15,17,15,14,15,17,17,17,17,14,16,15,
85         17,17,17,17,16,16,17,17,17,16,17,17,17,17,17,17,
86         16,17, 9,11,11,15,13,15,16,11,12,12,14,17,16,17,
87         11,12,12,16,17,17,17,15,16,16,16,15,16,17,14,15,
88         15,17,15,17,17,17,15,17,16,16,17,16,17,17,17,17,
89         17,17,17,13,15,14,15,17,17,17,15,15,15,17,17,17,
90         17,14,15,17,17,17,16,17,17,17,17,17,17,17,17,17,
91         16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
92         17,17,17,17,13,14,17,16,17,17,17,14,16,15,17,17,
93         17,16,15,16,14,17,17,17,17,16,17,17,17,15,17,17,
94         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
95         17,17,17,17,17, 7, 9, 9,13,13,15,17, 9,11,11,14,
96         14,15,16, 9,11,11,15,14,16,17,14,15,14,17,17,16,
97         17,13,17,15,17,17,17,17,17,16,16,16,17,17,17,16,
98         17,15,17,17,17,17, 9,11,11,14,14,17,17,11,12,13,
99         15,17,17,16,11,13,12,17,15,16,17,16,16,17,17,17,
100         17,17,16,15,15,17,16,17,17,16,17,17,17,17,17,17,
101         17,17,17,15,17,17,17, 9,11,11,15,16,17,16,11,12,
102         12,16,16,16,17,11,12,13,17,16,16,17,14,17,17,17,
103         17,17,17,17,16,16,16,17,17,17,17,17,15,17,17,17,
104         17,17,17,16,17,17,17,17,13,16,14,16,14,17,16,15,
105         15,15,17,15,17,17,16,15,16,17,17,17,17,16,15,16,
106         16,17,17,17,17,17,17,17,17,17,17,17,17,17,16,17,
107         17,17,17,17,17,17,17,17,17,13,17,15,17,16,17,17,
108         14,15,15,17,17,17,17,17,16,16,17,16,17,17,15,16,
109         17,17,15,16,17,16,17,17,17,17,16,17,17,17,17,17,
110         16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
111         17,17,17,16,17,17,17,17,16,17,17,17,17,17,17,17,
112         17,17,17,17,17,17,17,17,15,16,17,17,17,17,17,17,
113         17,17,17,17,17,17,16,17,17,17,17,17,17,16,17,17,
114         17,17,16,17,16,17,17,17,17,17,17,17,17,17,17,17,
115         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
116         17,17,17,17,17,17,17,17,17,17,17,17, 7, 9, 9,13,
117         14,15,15, 9,11,11,14,15,17,16, 9,11,11,15,15,17,
118         17,13,16,15,16,17,17,17,13,15,15,17,16,17,17,17,
119         17,17,17,17,17,17,17,17,16,17,17,17,17, 9,11,11,
120         14,15,17,16,11,12,12,17,15,17,17,10,13,13,16,15,
121         16,17,15,17,15,16,16,16,17,16,15,16,15,17,17,17,
122         17,17,17,17,17,17,16,17,17,16,17,17,17,17, 9,11,
123         11,14,15,15,17,11,12,12,14,16,17,17,11,12,12,17,
124         15,16,17,14,15,17,17,17,17,16,15,17,16,17,16,17,
125         17,16,17,17,17,17,17,17,16,17,16,17,17,16,17,14,
126         15,15,17,17,17,17,15,16,17,17,16,17,17,14,17,17,
127         17,17,17,17,16,17,17,17,17,17,17,17,17,17,15,17,
128         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
129         15,14,14,17,15,16,17,15,17,16,17,17,17,17,15,17,
130         15,17,17,17,17,15,17,17,16,17,17,17,17,17,17,17,
131         16,17,17,16,17,17,17,17,17,17,17,17,17,17,15,17,
132         17,15,16,17,17,17,17,17,17,17,16,17,17,17,17,17,
133         17,16,17,17,17,17,17,16,17,17,17,17,17,17,17,17,
134         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
135         17,17,16,17,16,17,17,17,17,17,17,17,17,17,17,17,
136         15,16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
137         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
138         17,17,17,11,13,13,15,16,17,17,13,15,14,17,17,17,
139         17,13,14,14,17,17,17,17,17,17,17,17,17,17,17,15,
140         17,17,17,16,17,16,17,17,17,16,17,17,17,17,17,17,
141         17,17,17,17,12,14,17,15,17,17,17,17,15,15,16,17,
142         17,16,13,17,16,17,17,17,17,16,15,17,17,17,17,17,
143         16,16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
144         17,17,17,17,17,12,15,15,17,17,17,17,14,17,15,17,
145         17,17,17,14,16,17,17,17,16,17,16,16,16,17,17,17,
146         17,16,17,17,17,17,17,17,17,16,17,17,17,17,17,17,
147         17,17,17,17,17,17,17,17,17,17,17,16,17,17,17,17,
148         16,16,17,17,17,16,17,17,17,17,17,17,15,17,17,17,
149         17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,
150         17,17,17,17,17,17,17,16,16,16,17,17,17,17,17,16,
151         16,17,17,17,17,17,17,17,16,17,17,17,17,17,17,17,
152         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
153         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
154         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
155         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
156         17,17,17,17,17,17,17,17,17,16,17,17,17,17,17,17,
157         16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
158         16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
159         17,17,17,17,17,17,17,17,17,17,11,13,13,17,17,17,
160         15,13,16,13,16,15,17,17,13,15,16,17,17,17,17,17,
161         17,17,17,17,17,17,16,16,17,17,17,17,17,17,17,16,
162         17,17,17,17,17,17,17,17,17,17,17,12,14,14,17,16,
163         17,16,16,16,17,17,15,17,17,16,17,15,16,17,17,17,
164         17,17,17,16,17,17,17,17,17,17,16,17,17,17,17,17,
165         17,17,17,17,17,17,16,15,17,17,17,17,12,15,14,17,
166         17,17,17,14,16,14,17,17,16,17,15,16,15,15,16,17,
167         17,17,17,17,17,17,17,17,16,17,16,17,17,17,17,17,
168         16,17,16,17,17,17,17,17,17,17,17,17,17,17,17,17,
169         17,17,17,17,17,17,17,17,17,17,17,17,15,17,17,17,
170         17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,
171         17,17,17,17,17,17,17,17,17,17,17,17,17,17,16,17,
172         16,17,17,17,17,17,14,17,17,17,17,17,16,16,17,17,
173         17,17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,
174         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
175         17,17,17,17,17,17,17,17,17,17,17,17,17,16,17,17,
176         17,17,17,17,16,17,17,17,17,17,17,17,16,17,17,17,
177         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
178         17,17,16,17,17,17,17,17,17,17,17,17,17,16,17,17,
179         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
180         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
181         16,
182 };
183
184 static float _vq_quantthresh_res0_160_128_2[] = {
185         -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 
186 };
187
188 static long _vq_quantmap_res0_160_128_2[] = {
189             5,    3,    1,    0,    2,    4,    6,
190 };
191
192 static encode_aux_threshmatch _vq_auxt_res0_160_128_2 = {
193         _vq_quantthresh_res0_160_128_2,
194         _vq_quantmap_res0_160_128_2,
195         7,
196         7
197 };
198
199 static static_codebook _vq_book_res0_160_128_2 = {
200         4, 2401,
201         _vq_lengthlist_res0_160_128_2,
202         1, -533200896, 1611661312, 3, 0,
203         _vq_quantlist_res0_160_128_2,
204         NULL,
205         &_vq_auxt_res0_160_128_2,
206         NULL,
207         0
208 };
209
210
211 #endif