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