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