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