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