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