Merge of the current Monty branch; this brings in new psychoacoustic
[platform/upstream/libvorbis.git] / include / vorbis / book / res0a_11.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/latticebuild
15
16  ********************************************************************/
17
18 #ifndef _V_res0a_11_VQH_
19 #define _V_res0a_11_VQH_
20 #include "vorbis/codebook.h"
21
22 static long _vq_quantlist_res0a_11[] = {
23         0,
24         3,
25         6,
26         8,
27         10,
28         12,
29         13,
30         14,
31         15,
32         16,
33         17,
34         18,
35         19,
36         20,
37         22,
38         24,
39         26,
40         29,
41         32,
42 };
43
44 static long _vq_lengthlist_res0a_11[] = {
45         20,20,18,18,18,17,17,16,14,12,14,16,17,18,17,19,
46         20,20,20,20,19,18,16,15,17,15,14,12,11,12,14,15,
47         15,15,16,16,18,20,18,17,15,15,14,14,13,12,11, 9,
48         11,12,13,14,14,15,16,17,20,18,17,14,15,14,13,13,
49         12,11, 9,11,12,13,14,14,15,14,15,18,16,15,13,14,
50         13,13,12,11,10, 8,10,11,12,13,13,14,14,15,17,16,
51         15,13,13,12,12,12,11, 9, 7, 9,11,12,12,12,13,13,
52         15,17,16,14,12,13,12,11,11,10, 8, 7, 8,10,11,11,
53         12,13,12,14,15,14,13,11,11,11,10,10, 9, 7, 6, 7,
54          9,10,10,11,12,11,13,15,12,11, 9,10, 9, 8, 8, 7,
55          6, 4, 6, 7, 8, 8, 9,10, 9,11,13,10, 9, 8, 8, 7,
56          7, 6, 5, 4, 2, 4, 5, 6, 7, 7, 8, 8, 9,11,13,11,
57          9,10, 9, 8, 8, 7, 6, 4, 5, 7, 8, 8, 9,10, 9,11,
58         13,15,13,11,11,11,10,10, 9, 7, 6, 7, 9,10,10,11,
59         11,11,13,14,17,14,12,13,12,11,11,10, 9, 7, 8,10,
60         11,11,12,13,12,14,16,17,15,13,13,12,12,12,10, 9,
61          7, 9,10,11,12,12,13,13,15,16,18,16,14,14,13,13,
62         12,11,10, 8,10,11,12,12,13,14,14,15,17,18,16,15,
63         15,14,13,13,12,11, 9,11,12,13,14,14,15,15,16,19,
64         19,16,16,15,14,13,13,12,11, 9,11,12,13,14,14,14,
65         15,17,19,20,19,17,17,16,15,15,14,12,11,12,14,15,
66         16,16,17,16,17,19,20,18,19,19,18,17,17,16,14,13,
67         14,15,17,17,18,18,18,19,19,
68 };
69
70 static double _vq_quantthresh_res0a_11[] = {
71         -14.5, -11.5, -9, -7, -5, -3.5, -2.5, -1.5, 
72         -0.5, 0.5, 1.5, 2.5, 3.5, 5, 7, 9, 
73         11.5, 14.5, 
74 };
75
76 static long _vq_quantmap_res0a_11[] = {
77             0,    1,    2,    3,    4,    5,    6,    7,
78             8,    9,   10,   11,   12,   13,   14,   15,
79            16,   17,   18,
80 };
81
82 static encode_aux_threshmatch _vq_aux_res0a_11 = {
83         _vq_quantthresh_res0a_11,
84         _vq_quantmap_res0a_11,
85         19,
86         19
87 };
88
89 static static_codebook _vq_book_res0a_11 = {
90         2, 361,
91         _vq_lengthlist_res0a_11,
92         1, -527433728, 1611661312, 6, 0,
93         _vq_quantlist_res0a_11,
94         NULL,
95         &_vq_aux_res0a_11
96 };
97
98
99 #endif