Bringing rc2 (minus the modes it needs) onto mainline.
[platform/upstream/libvorbis.git] / lib / books / res_Zc_9.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_9_VQH_
18 #define _V_res_Zc_9_VQH_
19 #include "codebook.h"
20
21 static long _vq_quantlist_res_Zc_9[] = {
22         2,
23         1,
24         3,
25         0,
26         4,
27 };
28
29 static long _vq_lengthlist_res_Zc_9[] = {
30          1,11,10,11,11, 7,11,11,11,11, 7,11,11,11,11,11,
31         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
32         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
33         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
34         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
35         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
36         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
37         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
38         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
39         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
40         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
41         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
42         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
43         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
44         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
45         11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
46         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
47         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
48         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
49         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
50         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
51         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
52         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
53         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
54         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
55         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
56         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
57         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
58         10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
59         10,10,10,10,10,10,10,10,10,10,10,10,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,10,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,
70 };
71
72 static float _vq_quantthresh_res_Zc_9[] = {
73         -100.5, -33.5, 33.5, 100.5, 
74 };
75
76 static long _vq_quantmap_res_Zc_9[] = {
77             3,    1,    0,    2,    4,
78 };
79
80 static encode_aux_threshmatch _vq_auxt_res_Zc_9 = {
81         _vq_quantthresh_res_Zc_9,
82         _vq_quantmap_res_Zc_9,
83         5,
84         5
85 };
86
87 static static_codebook _vq_book_res_Zc_9 = {
88         4, 625,
89         _vq_lengthlist_res_Zc_9,
90         1, -521093120, 1624293376, 3, 0,
91         _vq_quantlist_res_Zc_9,
92         NULL,
93         &_vq_auxt_res_Zc_9,
94         NULL,
95         0
96 };
97
98
99 #endif