bugfix/speed improvement to envelope.c
[platform/upstream/libvorbis.git] / lib / books / res0_160_128_4.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_128_4_VQH_
18 #define _V_res0_160_128_4_VQH_
19 #include "codebook.h"
20
21 static long _vq_quantlist_res0_160_128_4[] = {
22         26,
23         25,
24         27,
25         24,
26         28,
27         23,
28         29,
29         22,
30         30,
31         21,
32         31,
33         20,
34         32,
35         19,
36         33,
37         18,
38         34,
39         17,
40         35,
41         16,
42         36,
43         15,
44         37,
45         14,
46         38,
47         13,
48         39,
49         12,
50         40,
51         11,
52         41,
53         10,
54         42,
55         9,
56         43,
57         8,
58         44,
59         7,
60         45,
61         6,
62         46,
63         5,
64         47,
65         4,
66         48,
67         3,
68         49,
69         2,
70         50,
71         1,
72         51,
73         0,
74         52,
75 };
76
77 static long _vq_lengthlist_res0_160_128_4[] = {
78          2, 2, 2, 5, 5, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8,
79          8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 9, 7,
80          7, 8, 7, 8, 8, 8, 8, 9, 8, 9, 8, 9, 9,10, 9,10,
81         10,10,10,10,10,
82 };
83
84 static float _vq_quantthresh_res0_160_128_4[] = {
85         -25.5, -24.5, -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, 
86         -17.5, -16.5, -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, 
87         -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, 
88         -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 
89         6.5, 7.5, 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 
90         14.5, 15.5, 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 
91         22.5, 23.5, 24.5, 25.5, 
92 };
93
94 static long _vq_quantmap_res0_160_128_4[] = {
95            51,   49,   47,   45,   43,   41,   39,   37,
96            35,   33,   31,   29,   27,   25,   23,   21,
97            19,   17,   15,   13,   11,    9,    7,    5,
98             3,    1,    0,    2,    4,    6,    8,   10,
99            12,   14,   16,   18,   20,   22,   24,   26,
100            28,   30,   32,   34,   36,   38,   40,   42,
101            44,   46,   48,   50,   52,
102 };
103
104 static encode_aux_threshmatch _vq_auxt_res0_160_128_4 = {
105         _vq_quantthresh_res0_160_128_4,
106         _vq_quantmap_res0_160_128_4,
107         53,
108         53
109 };
110
111 static static_codebook _vq_book_res0_160_128_4 = {
112         1, 53,
113         _vq_lengthlist_res0_160_128_4,
114         1, -526778368, 1611661312, 6, 0,
115         _vq_quantlist_res0_160_128_4,
116         NULL,
117         &_vq_auxt_res0_160_128_4,
118         NULL,
119         0
120 };
121
122
123 #endif