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