bugfix/speed improvement to envelope.c
[platform/upstream/libvorbis.git] / lib / books / res0_192_1024_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-2001             *
9  * by the XIPHOPHORUS Company, http://www.xiph.org/                 *
10  *                                                                  *
11  ********************************************************************
12
13  function: static codebook autogenerated by vq/somethingorother
14
15  ********************************************************************/
16
17 #ifndef _V_res0_192_1024_3_VQH_
18 #define _V_res0_192_1024_3_VQH_
19 #include "codebook.h"
20
21 static long _vq_quantlist_res0_192_1024_3[] = {
22         2,
23         1,
24         3,
25         0,
26         4,
27 };
28
29 static long _vq_lengthlist_res0_192_1024_3[] = {
30          3, 5, 5, 7, 7, 5, 6, 6, 9, 9, 5, 6, 6, 9, 9, 7,
31          9, 9,12,12, 7, 9, 9,12,12, 5, 7, 6, 9, 9, 7, 8,
32          8,10,10, 7, 8, 8,10,10, 9,11,11,14,14, 9,11,11,
33         14,14, 5, 6, 6, 9, 9, 7, 8, 8,10,10, 7, 8, 8,10,
34         10, 9,11,11,14,13, 9,11,11,14,14, 8, 9, 9,12,12,
35          9,11,11,14,14, 9,11,11,14,14,13,14,14,17,18,13,
36         14,14,17,18, 8, 9, 9,12,12, 9,11,11,14,14, 9,11,
37         11,14,14,12,14,14,17,17,12,14,14,17,18, 5, 7, 7,
38          9, 9, 7, 8, 8,11,11, 7, 8, 8,10,11, 9,11,11,14,
39         14, 9,11,11,14,14, 7, 8, 8,11,11, 8, 9,10,12,12,
40          8,10, 9,12,12,11,12,12,15,15,11,12,12,15,16, 7,
41          8, 8,11,11, 8,10, 9,12,12, 8, 9, 9,12,12,11,12,
42         12,15,15,11,12,12,16,16, 9,11,11,14,14,11,12,13,
43         16,15,11,12,12,16,16,14,16,15,20,19,14,16,15,19,
44         18, 9,11,11,14,14,11,12,12,16,16,11,12,13,15,16,
45         14,16,15,19,18,14,16,16,19,19, 5, 7, 7, 9, 9, 7,
46          8, 8,10,10, 7, 8, 8,10,11, 9,11,11,14,14, 9,11,
47         11,14,14, 7, 8, 8,11,10, 8,10, 9,12,12, 8, 9, 9,
48         12,12,11,12,12,15,15,11,12,12,15,15, 7, 8, 8,11,
49         10, 8, 9,10,12,12, 8, 9, 9,12,12,11,12,12,16,16,
50         11,12,12,16,15, 9,11,11,14,14,11,12,12,15,15,11,
51         12,12,16,15,14,16,15,19,18,14,15,16,19,18, 9,11,
52         11,14,14,11,12,13,16,15,11,12,12,16,15,14,16,16,
53         19,19,14,16,15,19,18, 7, 9, 9,12,12, 9,11,11,14,
54         14, 9,11,11,14,14,12,14,14,17,17,12,14,14,17,17,
55          9,11,11,14,14,11,12,12,16,15,11,12,12,16,15,14,
56         15,16,19,19,14,17,15,21,19, 9,11,11,14,14,11,12,
57         12,16,15,11,12,12,15,16,14,16,16,19,18,14,16,16,
58         19,18,12,14,14,17,18,14,15,16,19,18,14,16,16,19,
59         18,18,19,18,20,20,17,19,19,20,21,12,14,14,17,17,
60         14,15,15,21,18,14,16,16,18,18,17,18,19,20,21,18,
61         20,18,21,21, 7, 9, 9,12,12, 9,11,11,14,14, 9,11,
62         11,14,14,12,14,14,17,17,12,14,14,17,18, 9,11,11,
63         14,14,11,12,12,16,16,11,12,12,15,16,14,16,15,19,
64         19,14,15,15,18,19, 9,11,11,14,14,11,12,12,16,15,
65         11,12,12,15,15,14,16,16,18,19,14,16,15,18,19,12,
66         14,14,17,17,14,16,15,18,20,14,16,16,18,18,16,18,
67         19,21,21,18,17,19,21,21,12,14,14,17,17,14,16,16,
68         18,20,14,16,15,18,18,17,18,20,19,21,17,18,19,21,
69         20,
70 };
71
72 static float _vq_quantthresh_res0_192_1024_3[] = {
73         -1.5, -0.5, 0.5, 1.5, 
74 };
75
76 static long _vq_quantmap_res0_192_1024_3[] = {
77             3,    1,    0,    2,    4,
78 };
79
80 static encode_aux_threshmatch _vq_auxt_res0_192_1024_3 = {
81         _vq_quantthresh_res0_192_1024_3,
82         _vq_quantmap_res0_192_1024_3,
83         5,
84         5
85 };
86
87 static static_codebook _vq_book_res0_192_1024_3 = {
88         4, 625,
89         _vq_lengthlist_res0_192_1024_3,
90         1, -533725184, 1611661312, 3, 0,
91         _vq_quantlist_res0_192_1024_3,
92         NULL,
93         &_vq_auxt_res0_192_1024_3,
94         NULL,
95         0
96 };
97
98
99 #endif