more automation work
[platform/upstream/libvorbis.git] / lib / books / res0_128a_256_1.vqh
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH    *
6  * THIS SOURCE. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.        *
7  *                                                                  *
8  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2000             *
9  * by 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_256_1_VQH_
19 #define _V_res0_128a_256_1_VQH_
20 #include "codebook.h"
21
22 static long _vq_quantlist_res0_128a_256_1[] = {
23         2,
24         3,
25         4,
26         1,
27         0,
28 };
29
30 static long _vq_lengthlist_res0_128a_256_1[] = {
31          2, 3, 6, 3, 6, 5, 6, 8, 6, 8, 9, 9,11, 9,11, 5,
32          6, 8, 6, 8, 9, 9,10, 9,10, 6, 7, 9, 7, 8, 7, 8,
33          9, 8,10,10,11,11,10,12, 7, 8, 9, 8,10,10,10,12,
34         11,13,10,11,12,10,12,11,11,12,11,12,12,13,14,13,
35         16,11,12,13,11,13,12,12,14,12,14, 6, 7, 8, 7, 9,
36          7, 8,10, 8, 9,10,11,12,10,12, 7, 8,10, 8,10,10,
37         10,12,10,11,10,11,12,11,12,10,11,13,12,12,13,13,
38         13,13, 0,11,12,12,11,12,12,13,13,14,14, 7, 8,11,
39          8,10, 9, 9,11, 9,11,12,12,13,12,13, 8, 9,11, 9,
40         10,12,11,13,12,12, 9,10,12,10,11,10, 9,11,11,12,
41         12,12,12,14,14,10,11,12,10,11,13,12,13,13,13,12,
42         12,13,13,14,13,13,14,12,14, 0,14,13,16,16,13,13,
43         15,13,14,14,16,15,13,14, 9,10,11,10,12,10,11,12,
44         10,11,12,13,13,12,13,10,10,11,11,12,13,15,13,12,
45         15,12,12,13,12,13,12,13,14,13,14,14,14, 0,14,14,
46         13,13,14,13,14,14,14,16,16,15,11,13,15,14,13,13,
47         13,16,12,16,14,16,16,14,16,13,15,16,13,14,16,16,
48         15,15, 0,13,13,15,13,16,13,14,15,16,14, 0,15, 0,
49          0, 0,15,14,15,15,15,14,16, 0,15,16,15,16,16,16,
50         16,16,15,16, 0,16,16,16,14,15, 0,16, 0, 0, 0, 0,
51          0, 0, 0, 0, 0,13,13,15,13,15,14,14,16,14, 0, 0,
52         16, 0, 0,16,14,13,15,14,15,14,16, 0, 0, 0,14,14,
53          0, 0,15,16,16,15,16, 0, 0,15, 0,15,16, 0, 0,16,
54         16, 0, 0, 0, 0, 0,16, 7, 8,10, 8,10, 9,10,11, 9,
55         11,11,12,12,12,12, 9,10,11,10,11,11,12,14,12,12,
56          9,10,11, 9,11,10,11,12,11,12,13,12,13,12,13,10,
57         10,12,11,13,13,12,13,14,14,12,12,14,12,14,12,13,
58         14,12,14,14,16,15,15,16,12,13,16,12,16,13,13,14,
59         14,16, 9,10,11,10,11,10,11,12,10,12,12,13,14,13,
60         13,10,11,12, 9,10,12,13,14,12,12,14,12,13,12,16,
61         12,13,14,13,14,13,16,14,15, 0,13,14,14,13,15,14,
62         14,16,13,14,11,12,16,13,14,13,14,13,13,14,15,14,
63         16,15,15,13,13,14,13,14,15, 0, 0,15, 0,13,14,15,
64         16,15,13,15,16,13,15,16,14, 0,16,15,14,14,16,15,
65          0,16,16, 0,16, 0,16,14, 0,15, 0,16, 0, 0,15,15,
66          0, 0,15,16, 0,16, 0, 0,15, 0,16,16, 0, 0, 0,12,
67         14,16,13, 0,13,14,13,16, 0, 0,16, 0,14, 0,16,14,
68          0,16,16,16, 0, 0,16, 0,16,16, 0,16, 0,16,15, 0,
69          0, 0,15, 0, 0, 0, 0,16,15, 0,15, 0, 0, 0, 0,14,
70         14,
71 };
72
73 static float _vq_quantthresh_res0_128a_256_1[] = {
74         -1.5, -0.5, 0.5, 1.5, 
75 };
76
77 static long _vq_quantmap_res0_128a_256_1[] = {
78             4,    3,    0,    1,    2,
79 };
80
81 static encode_aux_threshmatch _vq_auxt_res0_128a_256_1 = {
82         _vq_quantthresh_res0_128a_256_1,
83         _vq_quantmap_res0_128a_256_1,
84         5,
85         5
86 };
87
88 static static_codebook _vq_book_res0_128a_256_1 = {
89         4, 625,
90         _vq_lengthlist_res0_128a_256_1,
91         1, -533725184, 1611661312, 3, 0,
92         _vq_quantlist_res0_128a_256_1,
93         NULL,
94         &_vq_auxt_res0_128a_256_1,
95         NULL,
96 };
97
98
99 #endif