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