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