books for mono
[platform/upstream/libvorbis.git] / lib / books / res_Z_6a.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_res_Z_6a_VQH_
18 #define _V_res_Z_6a_VQH_
19 #include "codebook.h"
20
21 static long _vq_quantlist_res_Z_6a[] = {
22         11,
23         10,
24         12,
25         9,
26         13,
27         8,
28         14,
29         7,
30         15,
31         6,
32         16,
33         5,
34         17,
35         4,
36         18,
37         3,
38         19,
39         2,
40         20,
41         1,
42         21,
43         0,
44         22,
45 };
46
47 static long _vq_lengthlist_res_Z_6a[] = {
48          3, 6, 5,10, 7, 9, 8,10, 9,10, 9,10,10,10,10, 9,
49          9,10,10,10,10,10,10, 6, 7, 4, 9, 5, 9, 9,10, 9,
50         10, 9,10,10,10,10,10, 7,10,10,10,10,10,10, 5, 6,
51          5, 7, 7, 9,10,10, 9,10,10,10,10,10,10,10,10,10,
52         10,10,10,10,10, 9,10, 6,10, 6, 9, 7,10,10,10,10,
53         10,10,10,10,10, 7,10, 8,10, 9,10,10, 8, 8, 8, 8,
54          8, 9, 9,10,10,10,10,10,10,10,10,10,10,10, 9,10,
55         10,10,10, 8,10, 9,10,10,10, 9,10,10,10,10,10,10,
56         10,10,10, 9,10, 9,10, 9,10,10, 9,10,10,10, 9,10,
57         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
58         10,10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10,
59         10,10,10,10,10,10,10,10, 8,10,10, 9,10,10,10,10,
60         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
61         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
62         10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
63         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
64         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
65         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
66         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
67         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
68         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
69         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
70         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
71         10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
72         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
73         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, 9,
74         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
75         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
76         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
77         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
78         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
79         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
80         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
81         10,
82 };
83
84 static float _vq_quantthresh_res_Z_6a[] = {
85         -31.5, -28.5, -25.5, -22.5, -19.5, -16.5, -13.5, -10.5, 
86         -7.5, -4.5, -1.5, 1.5, 4.5, 7.5, 10.5, 13.5, 
87         16.5, 19.5, 22.5, 25.5, 28.5, 31.5, 
88 };
89
90 static long _vq_quantmap_res_Z_6a[] = {
91            21,   19,   17,   15,   13,   11,    9,    7,
92             5,    3,    1,    0,    2,    4,    6,    8,
93            10,   12,   14,   16,   18,   20,   22,
94 };
95
96 static encode_aux_threshmatch _vq_auxt_res_Z_6a = {
97         _vq_quantthresh_res_Z_6a,
98         _vq_quantmap_res_Z_6a,
99         23,
100         23
101 };
102
103 static static_codebook _vq_book_res_Z_6a = {
104         2, 529,
105         _vq_lengthlist_res_Z_6a,
106         1, -525303808, 1614282752, 5, 0,
107         _vq_quantlist_res_Z_6a,
108         NULL,
109         &_vq_auxt_res_Z_6a,
110         NULL,
111         0
112 };
113
114
115 #endif