90fd6c5b0bcf8b5011808778d38883da082b8c2b
[platform/upstream/libvorbis.git] / lib / books / res0_192_1024_3.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_192_1024_3_VQH_
19 #define _V_res0_192_1024_3_VQH_
20 #include "codebook.h"
21
22 static long _vq_quantlist_res0_192_1024_3[] = {
23         5,
24         6,
25         7,
26         8,
27         10,
28         4,
29         3,
30         2,
31         0,
32 };
33
34 static long _vq_lengthlist_res0_192_1024_3[] = {
35          3, 4, 5, 6, 8, 4, 5, 6, 8, 4, 5, 6, 7, 8, 5, 6,
36          7, 9, 5, 6, 7, 8, 9, 6, 7, 8, 9, 6, 7, 8, 9,10,
37          7, 8, 9,10, 8, 9,10,10,11, 9,10,10,11, 4, 5, 6,
38          7, 9, 5, 6, 7, 9, 5, 6, 7, 8, 9, 6, 7, 8, 9, 6,
39          7, 8, 9,10, 7, 8, 9,10, 8, 9,10,10,11, 9,10,10,
40         11,
41 };
42
43 static float _vq_quantthresh_res0_192_1024_3[] = {
44         -4, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 4, 
45 };
46
47 static long _vq_quantmap_res0_192_1024_3[] = {
48             8,    7,    6,    5,    0,    1,    2,    3,
49             4,
50 };
51
52 static encode_aux_threshmatch _vq_auxt_res0_192_1024_3 = {
53         _vq_quantthresh_res0_192_1024_3,
54         _vq_quantmap_res0_192_1024_3,
55         9,
56         9
57 };
58
59 static static_codebook _vq_book_res0_192_1024_3 = {
60         2, 81,
61         _vq_lengthlist_res0_192_1024_3,
62         1, -531365888, 1611661312, 4, 0,
63         _vq_quantlist_res0_192_1024_3,
64         NULL,
65         &_vq_auxt_res0_192_1024_3,
66         NULL,
67         0
68 };
69
70
71 #endif