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