Merge infrastructure work; full books
[platform/upstream/libvorbis.git] / lib / books / coupled / _44c2_s2_p7_1.vqh
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
5  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6  * IN 'COPYING'. 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__44c2_s2_p7_1_VQH_
18 #define _V__44c2_s2_p7_1_VQH_
19 #include "codebook.h"
20
21 static long _vq_quantlist__44c2_s2_p7_1[] = {
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__44c2_s2_p7_1[] = {
48          1, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9, 9, 9, 9,10,10,
49         10,10,10,10,10,10,10, 7, 6, 6, 7, 7, 8, 8, 9, 9,
50         10,10,10,10,10,11,11,11,10,10,10,10,11,11,14, 6,
51          6, 7, 7, 8, 8, 9, 9,10,10,10,10,10,10,11,10,10,
52         10,10,10,11,11,14, 8, 9, 8, 8, 9, 9,10,10,10,10,
53         11,11,11,11,11,11,11,11,11,11,11,11,14, 9, 9, 8,
54          8, 9, 9,10,10,10,11,11,11,11,11,11,11,11,11,11,
55         11,11,12,14,11,11, 9, 9,10,10,10,10,11,11,11,11,
56         11,11,12,12,11,11,11,11,12,12,14,15,14, 9, 9, 9,
57         10,10,10,11,11,11,11,11,11,12,11,11,11,11,11,12,
58         12,14,15,14,10,10,10,10,11,11,11,11,11,11,12,12,
59         12,12,11,12,11,11,12,12,15,15,14,10,10,10,10,11,
60         11,11,11,12,11,12,12,12,12,12,12,11,12,12,12,14,
61         14,14,13,13,11,10,11,11,12,11,12,12,12,12,12,12,
62         12,12,12,12,12,12,14,14,15,15,16,10,10,11,11,11,
63         12,12,12,12,12,12,12,12,12,12,12,12,12,14,15,14,
64         15,14,12,12,11,11,12,12,12,12,12,12,12,12,12,12,
65         12,12,13,13,14,15,14,14,14,12,11,11,11,12,12,12,
66         12,12,12,12,12,12,12,12,12,13,13,14,15,14,15,15,
67         14,13,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
68         13,13,15,15,15,14,14,14,14,11,12,12,12,12,12,13,
69         13,12,12,12,12,12,12,13,13,14,15,14,14,16,14,14,
70         13,12,12,12,13,12,13,12,12,12,12,12,12,12,13,13,
71         16,15,14,15,15,15,15,13,13,12,12,12,12,13,12,13,
72         13,13,12,12,13,13,13,14,15,15,15,14,15,15,14,14,
73         13,12,13,13,13,13,13,13,13,13,12,13,13,13,15,14,
74         15,14,15,15,15,14,14,12,13,13,13,13,12,13,12,12,
75         13,12,12,13,14,14,14,14,15,14,15,15,14,15,14,14,
76         13,13,13,13,13,13,12,13,12,13,13,13,15,14,15,15,
77         14,14,15,14,15,13,13,13,12,13,12,13,13,12,13,12,
78         12,13,13,15,15,15,15,15,15,16,14,16,15,14,13,12,
79         13,13,14,13,13,13,13,13,14,14,15,15,15,15,15,15,
80         15,15,15,16,15,13,12,13,13,13,13,13,13,13,13,14,
81         13,
82 };
83
84 static float _vq_quantthresh__44c2_s2_p7_1[] = {
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__44c2_s2_p7_1[] = {
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__44c2_s2_p7_1 = {
97         _vq_quantthresh__44c2_s2_p7_1,
98         _vq_quantmap__44c2_s2_p7_1,
99         23,
100         23
101 };
102
103 static static_codebook _44c2_s2_p7_1 = {
104         2, 529,
105         _vq_lengthlist__44c2_s2_p7_1,
106         1, -525303808, 1614282752, 5, 0,
107         _vq_quantlist__44c2_s2_p7_1,
108         NULL,
109         &_vq_auxt__44c2_s2_p7_1,
110         NULL,
111         0
112 };
113
114
115 #endif