8a915e45e304a513e082fbbf98a11d977530260d
[platform/upstream/libvorbis.git] / lib / books / res0_256_128_3.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_256_128_3_VQH_
17 #define _V_res0_256_128_3_VQH_
18 #include "codebook.h"
19
20 static long _vq_quantlist_res0_256_128_3[] = {
21         6,
22         5,
23         7,
24         4,
25         8,
26         3,
27         9,
28         2,
29         10,
30         1,
31         11,
32         0,
33         12,
34 };
35
36 static long _vq_lengthlist_res0_256_128_3[] = {
37          3, 4, 4, 5, 5, 6, 6, 8, 8,10,10,11,11, 4, 5, 4,
38          6, 6, 7, 7, 9, 9,11,11,13,13, 4, 4, 5, 6, 6, 7,
39          7,10, 9,11,11,12,12, 5, 6, 6, 8, 8, 9, 9,11,11,
40         13,13,14,14, 5, 6, 6, 8, 8, 9, 9,11,11,12,13,14,
41         14, 7, 7, 7, 9, 9,12,11,13,13,14,15,16,16, 6, 7,
42          7, 9, 9,12,12,14,13,15,15,17,16, 9,10,10,12,12,
43         14,14,15,15,16,16,16,18, 9,10,10,12,12,14,14,16,
44         15,16,16,17,17,10,12,12,13,14,16,16,15,19,17,18,
45         18,17,10,12,12,14,14,17,15,17,16,17,16,19,17,12,
46         13,13,15,15,16,16,17,18,18,17,18,19,11,13,13,15,
47         14,17,16,19,16,19,17,19,18,
48 };
49
50 static float _vq_quantthresh_res0_256_128_3[] = {
51         -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 
52         2.5, 3.5, 4.5, 5.5, 
53 };
54
55 static long _vq_quantmap_res0_256_128_3[] = {
56            11,    9,    7,    5,    3,    1,    0,    2,
57             4,    6,    8,   10,   12,
58 };
59
60 static encode_aux_threshmatch _vq_auxt_res0_256_128_3 = {
61         _vq_quantthresh_res0_256_128_3,
62         _vq_quantmap_res0_256_128_3,
63         13,
64         13
65 };
66
67 static static_codebook _vq_book_res0_256_128_3 = {
68         2, 169,
69         _vq_lengthlist_res0_256_128_3,
70         1, -531103744, 1611661312, 4, 0,
71         _vq_quantlist_res0_256_128_3,
72         NULL,
73         &_vq_auxt_res0_256_128_3,
74         NULL,
75         0
76 };
77
78
79 #endif