980991d0488106f8a9db62ad15d512338110fa3e
[platform/upstream/libvorbis.git] / lib / books / res0_128_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_128_128_3_VQH_
17 #define _V_res0_128_128_3_VQH_
18 #include "codebook.h"
19
20 static long _vq_quantlist_res0_128_128_3[] = {
21         15,
22         14,
23         16,
24         13,
25         17,
26         12,
27         18,
28         11,
29         19,
30         10,
31         20,
32         9,
33         21,
34         8,
35         22,
36         7,
37         23,
38         6,
39         24,
40         5,
41         25,
42         4,
43         26,
44         3,
45         27,
46         2,
47         28,
48         1,
49         29,
50         0,
51         30,
52 };
53
54 static long _vq_lengthlist_res0_128_128_3[] = {
55          3, 4, 4, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8,
56          8, 8, 8, 8, 9, 9, 9, 9, 9,10,10,10,10,11,11, 4,
57          5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
58          8, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,11,11, 4, 5,
59          5, 6, 6, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 8, 8, 8,
60          9, 9, 9, 9, 9, 9,10,10,10,10,10,11,11, 7, 7, 7,
61          9, 8, 9,10,10,10,10,10,10,10,10,10,10,11,10,11,
62         10,11,11,11,11,12,12,12,12,13,13,13, 7, 7, 7, 9,
63          8, 9, 9,10,10,10,10,10,10,10,10,10,10,10,11,10,
64         11,11,12,11,12,12,12,12,13,13,13, 9, 9, 9,10,10,
65         11,11,11,11,12,12,11,12,12,12,12,12,12,12,12,13,
66         12,12,13,13,13,13,14,14,14,15, 9, 9, 9,11,10,11,
67         11,12,11,12,11,12,12,12,12,12,12,12,12,12,12,13,
68         13,13,13,13,13,14,14,14,14,10,10,10,12,12,13,12,
69         13,14,13,13,13,13,13,13,13,14,13,14,13,14,15,14,
70         15,15,16,15,14,15,15,15,10,10,10,11,11,13,12,13,
71         13,13,13,14,13,13,13,13,13,13,13,14,13,14,14,14,
72         14,15,15,14,15,15,15,11,11,12,13,13,13,13,14,14,
73         14,14,14,15,14,14,14,15,14,14,15,15,15,15,15,15,
74         15,17,16,16,16,16,10,11,11,12,12,14,13,13,15,14,
75         14,14,14,14,14,15,14,15,15,15,14,15,14,16,16,16,
76         16,17,16,16,15,11,12,13,13,14,14,14,13,14,15,14,
77         15,14,15,15,15,14,16,15,15,15,16,15,16,17,16,16,
78         17,16,16,16,12,12,12,14,13,14,15,15,15,15,15,14,
79         15,16,15,15,15,16,15,15,16,16,15,16,16,17,15,17,
80         16,16,16,12,13,12,14,14,15,14,15,16,16,15,14,15,
81         16,16,16,15,17,16,15,16,17,17,17,17,16,15,16,16,
82         17,17,12,13,13,14,13,14,14,16,16,15,17,15,16,16,
83         15,16,15,16,16,15,16,15,16,16,16,16,15,16,16,15,
84         16,13,14,14,14,14,15,15,16,17,15,15,17,15,16,15,
85         17,17,16,17,16,17,17,17,17,15,17,16,17,17,16,17,
86         13,14,14,15,15,16,15,17,14,16,17,15,17,17,15,17,
87         16,16,16,16,16,16,16,16,16,17,16,17,16,17,17,13,
88         14,14,15,15,16,16,17,16,17,17,16,15,17,16,17,15,
89         17,17,17,17,16,15,15,17,17,17,16,17,17,17,14,14,
90         14,16,15,16,16,16,16,17,16,16,17,16,16,15,16,16,
91         16,15,16,16,15,17,17,17,17,17,16,17,17,15,15,15,
92         17,16,17,17,16,16,17,17,16,17,16,17,17,17,17,16,
93         17,17,17,17,17,17,17,17,16,17,17,17,13,15,14,16,
94         16,16,16,15,16,17,16,16,16,16,15,16,16,16,16,16,
95         16,17,17,17,17,17,17,17,17,17,17,14,14,14,15,15,
96         17,16,17,17,17,17,17,16,16,16,17,16,17,17,16,17,
97         17,16,16,17,17,17,17,17,17,17,14,15,15,16,16,17,
98         16,17,17,17,17,16,17,17,16,16,16,17,16,17,17,17,
99         17,17,17,17,17,17,17,17,17,16,15,14,17,16,17,17,
100         16,16,17,17,17,17,17,17,17,17,17,17,17,17,17,16,
101         16,17,17,17,17,17,17,17,15,15,15,15,16,16,17,16,
102         16,17,17,17,17,17,16,17,17,16,17,17,17,17,17,17,
103         16,16,17,17,17,17,17,15,16,17,16,17,16,17,17,16,
104         16,17,17,17,17,17,17,16,17,17,17,16,17,17,17,17,
105         17,16,17,17,17,17,15,16,14,16,17,17,17,17,17,17,
106         17,17,17,16,17,17,17,16,16,16,17,16,17,17,17,17,
107         17,17,17,17,17,15,16,16,17,17,15,17,17,17,17,17,
108         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,16,
109         17,17,17,17,15,17,17,16,16,17,17,17,16,17,17,17,
110         17,17,16,17,17,17,17,17,17,17,17,17,17,17,17,17,
111         17,17,17,16,17,17,16,17,17,17,17,17,17,17,17,17,
112         16,17,17,17,17,16,17,17,17,17,17,17,17,17,17,17,
113         17,17,17,16,17,16,17,17,17,17,17,17,17,17,17,17,
114         17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
115         17,
116 };
117
118 static float _vq_quantthresh_res0_128_128_3[] = {
119         -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5, -7.5, 
120         -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 
121         1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 
122         9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 
123 };
124
125 static long _vq_quantmap_res0_128_128_3[] = {
126            29,   27,   25,   23,   21,   19,   17,   15,
127            13,   11,    9,    7,    5,    3,    1,    0,
128             2,    4,    6,    8,   10,   12,   14,   16,
129            18,   20,   22,   24,   26,   28,   30,
130 };
131
132 static encode_aux_threshmatch _vq_auxt_res0_128_128_3 = {
133         _vq_quantthresh_res0_128_128_3,
134         _vq_quantmap_res0_128_128_3,
135         31,
136         31
137 };
138
139 static static_codebook _vq_book_res0_128_128_3 = {
140         2, 961,
141         _vq_lengthlist_res0_128_128_3,
142         1, -528613376, 1611661312, 5, 0,
143         _vq_quantlist_res0_128_128_3,
144         NULL,
145         &_vq_auxt_res0_128_128_3,
146         NULL,
147         0
148 };
149
150
151 #endif