72215cd49431cf1fe3df31d19ef3300e21877a2d
[platform/upstream/libvorbis.git] / include / vorbis / book / res0_128a_350_4.vqh
1 /********************************************************************
2  *                                                                  *
3  * THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE.  *
4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
5  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
6  * PLEASE READ THESE TERMS DISTRIBUTING.                            *
7  *                                                                  *
8  * THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-1999             *
9  * by 1999 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_128a_350_4_VQH_
19 #define _V_res0_128a_350_4_VQH_
20 #include "vorbis/codebook.h"
21
22 static long _vq_quantlist_res0_128a_350_4[] = {
23         23,
24         24,
25         25,
26         26,
27         27,
28         29,
29         31,
30         34,
31         39,
32         46,
33         22,
34         21,
35         20,
36         19,
37         17,
38         15,
39         12,
40         7,
41         0,
42 };
43
44 static long _vq_lengthlist_res0_128a_350_4[] = {
45          7, 8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8,
46          8, 8,10, 8, 8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8,
47          8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8, 8, 8, 9,10,
48          8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 9, 8, 8, 8,
49          8, 9,10, 8, 8, 9, 8, 8, 8, 8, 9,10, 8, 8, 8, 8,
50          8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8, 8, 8,10, 8,
51          8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8, 8,
52          8,10, 8, 9, 9, 9, 8, 8, 8, 8, 8,10, 9, 9, 9, 8,
53          8, 8, 8, 8,10, 9, 9, 9, 9, 9, 8, 8, 8, 9,10, 9,
54          9, 9, 9, 8, 8, 8, 9,10,10,10,10,10,10, 9, 9, 9,
55         10,11,10,10,10,10, 9, 9, 9,10,11,12,12,12,12,12,
56         12,12,12,12,13,12,12,12,12,12,12,12,12,13, 8, 8,
57          8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8, 8, 8,
58         10, 8, 8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8,
59          8, 8, 8,10, 8, 8, 8, 9, 8, 8, 8, 8, 9,10, 8, 8,
60          9, 8, 8, 8, 8, 9,10, 8, 8, 8, 8, 8, 8, 8, 8, 8,
61         10, 8, 8, 8, 8, 8, 8, 8, 8,10, 8, 8, 8, 8, 8, 8,
62          8, 8, 8,10, 8, 8, 8, 8, 8, 8, 8, 8,10, 8, 9, 9,
63          9, 8, 8, 8, 8, 8,10, 9, 9, 9, 8, 8, 8, 8, 8,10,
64          9, 9, 9, 9, 9, 8, 8, 8, 9,10, 9, 9, 9, 9, 8, 8,
65          8, 9,10,10,10,10,10,10, 9, 9, 9,10,11,10,10,10,
66         10,10, 9, 9,10,11,12,12,12,12,12,12,12,12,12,13,
67         12,12,12,12,12,12,12,12,13,
68 };
69
70 static float _vq_quantthresh_res0_128a_350_4[] = {
71         -19.5, -13.5, -9.5, -7, -5, -3.5, -2.5, -1.5, 
72         -0.5, 0.5, 1.5, 2.5, 3.5, 5, 7, 9.5, 
73         13.5, 19.5, 
74 };
75
76 static long _vq_quantmap_res0_128a_350_4[] = {
77            18,   17,   16,   15,   14,   13,   12,   11,
78            10,    0,    1,    2,    3,    4,    5,    6,
79             7,    8,    9,
80 };
81
82 static encode_aux_threshmatch _vq_auxt_res0_128a_350_4 = {
83         _vq_quantthresh_res0_128a_350_4,
84         _vq_quantmap_res0_128a_350_4,
85         19,
86         19
87 };
88
89 static static_codebook _vq_book_res0_128a_350_4 = {
90         2, 361,
91         _vq_lengthlist_res0_128a_350_4,
92         1, -526974976, 1611661312, 6, 0,
93         _vq_quantlist_res0_128a_350_4,
94         NULL,
95         &_vq_auxt_res0_128a_350_4,
96         NULL,
97 };
98
99
100 #endif