Matching books
[platform/upstream/libvorbis.git] / lib / books / res_Zc_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
13  function: static codebook autogenerated by vq/somethingorother
14
15  ********************************************************************/
16
17 #ifndef _V_res_Zc_7_VQH_
18 #define _V_res_Zc_7_VQH_
19 #include "codebook.h"
20
21 static long _vq_quantlist_res_Zc_7[] = {
22         7,
23         6,
24         8,
25         5,
26         9,
27         4,
28         10,
29         3,
30         11,
31         2,
32         12,
33         1,
34         13,
35         0,
36         14,
37 };
38
39 static long _vq_lengthlist_res_Zc_7[] = {
40          1, 3, 3, 5, 4, 4, 4, 7, 6, 8, 0, 0, 8, 0, 0, 0,
41          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
42          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
43          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
44          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
45          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
46          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
47          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
48          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
49          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
50          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
51          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
52          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
53          0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
54          0,
55 };
56
57 static float _vq_quantthresh_res_Zc_7[] = {
58         -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 
59         1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 
60 };
61
62 static long _vq_quantmap_res_Zc_7[] = {
63            13,   11,    9,    7,    5,    3,    1,    0,
64             2,    4,    6,    8,   10,   12,   14,
65 };
66
67 static encode_aux_threshmatch _vq_auxt_res_Zc_7 = {
68         _vq_quantthresh_res_Zc_7,
69         _vq_quantmap_res_Zc_7,
70         15,
71         15
72 };
73
74 static long _vq_pigeonmap_res_Zc_7[] = {
75             4,     3,     3,     2,     1,     1,     0,     0, 
76             0,     1,     2,     2,     3,     4, 
77 };
78
79 static long _vq_fitlist_res_Zc_7[] = {
80             0,     1,     2,     3,     4,     6,     5,     7, 
81             8,     9,    12, 
82 };
83
84 static long _vq_fitmap_res_Zc_7[] = {
85             0,     0,     0,     0,     0,     0,     0,     0, 
86             0,     0,     0,     0,     0,     0,     0,     0, 
87             0,     0,     0,     0,     0,     0,     0,     0, 
88             0, 
89 };
90
91 static long _vq_fitlength_res_Zc_7[] = {
92            11,    11,    11,    11,    11,    11,    11,    11, 
93            11,    11,    11,    11,    11,    11,    11,    11, 
94            11,    11,    11,    11,    11,    11,    11,    11, 
95            11, 
96 };
97
98 static encode_aux_pigeonhole _vq_auxp_res_Zc_7 = {
99         -7, 1, 14, 5,
100         _vq_pigeonmap_res_Zc_7,
101         11,
102         _vq_fitlist_res_Zc_7,
103         _vq_fitmap_res_Zc_7,
104         _vq_fitlength_res_Zc_7
105 };
106
107 static static_codebook _vq_book_res_Zc_7 = {
108         2, 225,
109         _vq_lengthlist_res_Zc_7,
110         1, -530841600, 1611661312, 4, 0,
111         _vq_quantlist_res_Zc_7,
112         NULL,
113         &_vq_auxt_res_Zc_7,
114         &_vq_auxp_res_Zc_7,
115         0
116 };
117
118
119 #endif