36a69ac075a64fa433b80b123f77ec5c047cfcaf
[platform/upstream/libvorbis.git] / include / vorbis / book / res0_128a_128_5.vqh
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
6  * PLEASE READ THESE TERMS DISTRIBUTING.                            *
7  *                                                                  *
8  * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
9  * by 1999 Monty <monty@xiph.org> and The XIPHOPHORUS Company       *
10  * http://www.xiph.org/                                             *
11  *                                                                  *
12  ********************************************************************
13
14  function: static codebook autogenerated by vq/somethingorother
15
16  ********************************************************************/
17
18 #ifndef _V_res0_128a_128_5_VQH_
19 #define _V_res0_128a_128_5_VQH_
20 #include "vorbis/codebook.h"
21
22 static long _vq_quantlist_res0_128a_128_5[] = {
23         45,
24         46,
25         47,
26         48,
27         49,
28         51,
29         53,
30         56,
31         61,
32         68,
33         77,
34         90,
35         44,
36         43,
37         42,
38         41,
39         39,
40         37,
41         34,
42         29,
43         22,
44         13,
45         0,
46 };
47
48 static long _vq_lengthlist_res0_128a_128_5[] = {
49          2, 3, 5, 6, 7, 6, 7, 7, 9,14,19, 0, 3, 5, 6, 6,
50          6, 7, 7, 9,13, 0, 0, 4, 6, 7, 8, 8, 8, 9, 9,11,
51         15, 0, 0, 6, 7, 8, 8, 8, 8, 9,11,15, 0, 0, 8, 9,
52         11,11,12,12,12,12,14, 0, 0, 0, 9,10,12,12,12,12,
53         13,15,19, 0, 0,11,12,13,14,14,15,15,16,18, 0, 0,
54          0,12,13,15,15,14,14,15,17, 0, 0, 0,12,14,15,15,
55         17,15,18,18,18, 0, 0, 0,14,15,17,17,16,18,16, 0,
56          0, 0, 0,12,15,16,15, 0,18,18, 0, 0, 0, 0, 0,15,
57         16,17,17, 0, 0, 0, 0, 0, 0, 0,13,16,17,17, 0,18,
58         18, 0, 0, 0, 0, 0,18, 0, 0, 0, 0, 0, 0, 0, 0, 0,
59          0,14,18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,16, 0, 0,
60          0, 0, 0, 0, 0, 0, 0, 0,16,18, 0, 0, 0, 0, 0, 0,
61          0, 0, 0, 0,18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,18,
62          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
63          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
64          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
65          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
66          0, 0, 0, 0, 4, 6, 7, 8, 8, 8, 9, 9,11,18, 0, 0,
67          6, 7, 8, 8, 8, 8, 9,11,15, 0, 0, 8, 9,11,12,12,
68         12,12,12,15, 0, 0, 0, 9,11,11,12,12,12,13,15,18,
69          0, 0,11,12,13,14,14,14,14,15,18, 0, 0, 0,12,14,
70         15,14,15,15,15,18, 0, 0, 0,12,14,16,15,17,16,18,
71         17, 0, 0, 0, 0,14,15,17,15,15,17,17,17, 0, 0, 0,
72         12,15,17,17,17,18, 0, 0, 0, 0, 0, 0,15,17,18,18,
73         17, 0, 0, 0, 0, 0, 0,13, 0,18, 0, 0,18, 0, 0, 0,
74          0, 0, 0,17, 0,18,18, 0, 0, 0, 0, 0, 0, 0,14, 0,
75          0,18, 0,18, 0, 0, 0, 0, 0, 0,17, 0,18, 0, 0, 0,
76          0, 0, 0, 0, 0,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
77          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,17, 0, 0, 0,
78          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
79          0, 0, 0,17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
80          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
81          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
82          0,
83 };
84
85 static float _vq_quantthresh_res0_128a_128_5[] = {
86         -38.5, -27.5, -19.5, -13.5, -9.5, -7, -5, -3.5, 
87         -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 5, 
88         7, 9.5, 13.5, 19.5, 27.5, 38.5, 
89 };
90
91 static long _vq_quantmap_res0_128a_128_5[] = {
92            22,   21,   20,   19,   18,   17,   16,   15,
93            14,   13,   12,    0,    1,    2,    3,    4,
94             5,    6,    7,    8,    9,   10,   11,
95 };
96
97 static encode_aux_threshmatch _vq_auxt_res0_128a_128_5 = {
98         _vq_quantthresh_res0_128a_128_5,
99         _vq_quantmap_res0_128a_128_5,
100         23,
101         23
102 };
103
104 static static_codebook _vq_book_res0_128a_128_5 = {
105         2, 529,
106         _vq_lengthlist_res0_128a_128_5,
107         1, -524910592, 1611661312, 7, 0,
108         _vq_quantlist_res0_128a_128_5,
109         NULL,
110         &_vq_auxt_res0_128a_128_5,
111         NULL,
112 };
113
114
115 #endif