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