Merging the postbeta2 branch onto the mainline.
[platform/upstream/libvorbis.git] / include / vorbis / book / res0_1024a_192_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_1024a_192_5_VQH_
19 #define _V_res0_1024a_192_5_VQH_
20 #include "vorbis/codebook.h"
21
22 static long _vq_quantlist_res0_1024a_192_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_1024a_192_5[] = {
49          3, 5, 6, 7, 7, 7, 8, 9,11,14,18,22, 5, 6, 7, 7,
50          7, 8, 9,11,14,18, 0, 5, 6, 6, 7, 7, 8, 9,10,12,
51         16,19,24, 6, 6, 7, 7, 8, 9,10,12,16,20,24, 6, 6,
52          7, 8, 8, 9,10,11,13,17,20, 0, 6, 7, 8, 8, 9,10,
53         11,13,17,20, 0, 7, 7, 8, 9, 9, 9,10,11,14,18,20,
54          0, 7, 8, 9, 9, 9,10,11,14,17,21, 0, 7, 8, 8, 9,
55          9, 9,10,11,14,18,23, 0, 8, 8, 9, 9, 9,10,11,14,
56         18,21, 0, 7, 8, 9, 9,10,10,11,12,14,19, 0, 0, 8,
57          9, 9,10,10,11,12,14,18,21, 0, 8, 9,10,11,11,11,
58         11,12,14,18, 0,22, 9,10,11,11,11,11,12,14,18,22,
59          0, 9,10,11,12,12,12,12,13,15,19,21,21,10,11,12,
60         12,12,12,13,15,19,22,23,11,12,13,14,14,14,15,15,
61         17,19, 0, 0,13,14,14,14,14,15,15,17,19, 0, 0,14,
62         16,18,18,18,19,19,19,19, 0, 0, 0,17,17,18,18,18,
63         19,19,20, 0, 0, 0,18,20,22,23, 0,23,23, 0, 0, 0,
64          0, 0,22,22, 0, 0, 0,23,23, 0, 0, 0, 0,20, 0, 0,
65          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
66          0, 0, 0, 0, 5, 6, 6, 7, 7, 8, 9,10,12,15,20,21,
67          6, 6, 7, 7, 8, 9,10,12,16,19, 0, 6, 6, 7, 8, 8,
68          9,10,11,13,17,19,21, 6, 7, 8, 8, 9,10,11,13,17,
69         20,23, 7, 7, 8, 9, 9, 9,10,11,14,17,20,23, 7, 8,
70          9, 9, 9,10,11,14,17,21, 0, 7, 8, 8, 9, 9, 9,10,
71         11,14,17,20,22, 8, 8, 9, 9, 9,10,11,14,18, 0, 0,
72          7, 8, 9, 9,10,10,11,12,14,19,21, 0, 8, 9, 9,10,
73         10,11,12,14,18,22, 0, 8, 9,10,11,11,11,11,12,14,
74         18,22,23, 9,10,11,11,11,11,12,14,19,22, 0, 9,10,
75         11,12,12,12,12,13,15,18,21,23,10,11,12,12,12,12,
76         13,15,19,22,23,11,12,14,14,14,14,15,15,17,20, 0,
77          0,12,14,14,14,14,14,15,17,20,23, 0,14,16,18,19,
78         18,18,19,19,20, 0, 0, 0,16,18,19,18,18,19,19,21,
79          0, 0, 0,18, 0,23, 0,23, 0, 0, 0, 0, 0, 0, 0,21,
80          0, 0, 0,22,22, 0, 0, 0, 0, 0,21, 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_1024a_192_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_1024a_192_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_1024a_192_5 = {
98         _vq_quantthresh_res0_1024a_192_5,
99         _vq_quantmap_res0_1024a_192_5,
100         23,
101         23
102 };
103
104 static static_codebook _vq_book_res0_1024a_192_5 = {
105         2, 529,
106         _vq_lengthlist_res0_1024a_192_5,
107         1, -524910592, 1611661312, 7, 0,
108         _vq_quantlist_res0_1024a_192_5,
109         NULL,
110         &_vq_auxt_res0_1024a_192_5,
111         NULL,
112 };
113
114
115 #endif