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