Merging the postbeta2 branch onto the mainline.
[platform/upstream/libvorbis.git] / include / vorbis / book / res0_1024a_160_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/somethingorother
15
16  ********************************************************************/
17
18 #ifndef _V_res0_1024a_160_3_VQH_
19 #define _V_res0_1024a_160_3_VQH_
20 #include "vorbis/codebook.h"
21
22 static long _vq_quantlist_res0_1024a_160_3[] = {
23         2,
24         3,
25         4,
26         1,
27         0,
28 };
29
30 static long _vq_lengthlist_res0_1024a_160_3[] = {
31          2, 5, 7, 5, 7, 5, 6, 9, 7, 9, 7, 9,13, 9,13, 5,
32          6, 9, 7, 9, 7, 9,13, 9,13, 5, 7, 9, 7, 9, 7, 8,
33         11, 8,11, 9,11,15,11,15, 7, 8,11, 8,11,10,11,14,
34         11,15, 7, 9,13, 9,13, 9,12,15,11,15,13,15,18,15,
35         18,10,11,15,12,15,13,16,19,16,18, 5, 7, 9, 7, 9,
36          7, 8,11, 8,11,10,11,15,11,15, 7, 9,11, 8,11,10,
37         11,15,11,15, 7, 9,13, 9,13,10,11,15,11,15,13,16,
38         18,15,18,10,11,15,12,15,13,15,19,15,18, 5, 7, 9,
39          7, 9, 7, 8,11, 9,11, 9,11,15,11,15, 7, 9,11, 9,
40         11, 9,11,15,11,15, 7, 9,11, 9,11, 8,10,13,10,13,
41         11,13,17,13,17, 9,11,13,10,13,12,14,18,13,17, 9,
42         11,15,12,15,11,13,17,13,17,15,17,19,18, 0,12,14,
43         18,13,17,16,17, 0,18,20, 7, 9,11, 9,11, 9,10,13,
44         10,13,11,13,18,13,16, 9,11,13,11,13,11,13,19,13,
45         17, 9,11,15,12,15,12,14,17,13,18,15,17,20,17,19,
46         12,13,17,14,17,16,18,19,18, 0, 7, 9,13, 9,13, 9,
47         12,15,11,15,13,16, 0,15,19, 9,12,15,12,15,13,15,
48         19,15,20, 9,11,16,11,15,11,13,18,13,19,15,17, 0,
49         17, 0,11,14,18,14,17,15,17, 0,17, 0,13,15,20,15,
50         19,15,18,19,17,20,19,19, 0,20, 0,15,18,19,18,20,
51         18, 0, 0, 0,20, 9,12,15,11,15,11,13,18,13,16,15,
52         18, 0,17, 0,12,13,18,14,18,16,17, 0,17, 0,13,16,
53         18,15,19,15,18, 0,18, 0,18, 0, 0,20, 0,16,18, 0,
54         19, 0,19, 0, 0,20, 0, 5, 7, 9, 7, 9, 7, 8,11, 9,
55         11, 9,11,15,12,15, 7, 9,11, 9,11, 9,12,15,11,15,
56          7, 9,11, 9,11, 9,10,13,10,13,11,13,17,13,17, 9,
57         10,13,11,13,11,13,17,14,18, 9,12,16,12,15,12,14,
58         17,13,18,15,18, 0,17, 0,12,13,18,14,17,15,17, 0,
59         17,20, 7, 9,11, 9,11, 9,10,13,11,13,12,13,17,14,
60         17, 9,11,13,10,13,12,13,17,13,16,10,11,15,12,16,
61         12,14,17,14,17,15,18,20,18, 0,11,14,17,14,18,16,
62         18,20,17,20, 7, 9,13,10,13, 9,11,15,11,15,13,15,
63         19,15, 0, 9,11,16,12,16,13,16, 0,16,18, 9,11,15,
64         11,16,11,13,18,13,18,16,18, 0,17, 0,11,13,17,14,
65         17,15,18,20,17, 0,13,16,20,16,18,15,19, 0,18, 0,
66         19, 0, 0, 0, 0,15,17,20,16, 0,19,19, 0,20, 0, 9,
67         11,15,11,16,11,13,17,14,19,16,17,20,18, 0,11,14,
68         17,13,17,15,17,20,18,20,13,15,18,16,20,15,17, 0,
69         18, 0, 0,20, 0, 0, 0,15,18, 0,17,19,19,20, 0,20,
70         20,
71 };
72
73 static float _vq_quantthresh_res0_1024a_160_3[] = {
74         -1.5, -0.5, 0.5, 1.5, 
75 };
76
77 static long _vq_quantmap_res0_1024a_160_3[] = {
78             4,    3,    0,    1,    2,
79 };
80
81 static encode_aux_threshmatch _vq_auxt_res0_1024a_160_3 = {
82         _vq_quantthresh_res0_1024a_160_3,
83         _vq_quantmap_res0_1024a_160_3,
84         5,
85         5
86 };
87
88 static static_codebook _vq_book_res0_1024a_160_3 = {
89         4, 625,
90         _vq_lengthlist_res0_1024a_160_3,
91         1, -533725184, 1611661312, 3, 0,
92         _vq_quantlist_res0_1024a_160_3,
93         NULL,
94         &_vq_auxt_res0_1024a_160_3,
95         NULL,
96 };
97
98
99 #endif