Thoughts-in-progress: new noise metrics, cleaned up stereo. There's a
[platform/upstream/libvorbis.git] / lib / books / res_Ac_8a.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
13  function: static codebook autogenerated by vq/somethingorother
14
15  ********************************************************************/
16
17 #ifndef _V_res_Ac_8a_VQH_
18 #define _V_res_Ac_8a_VQH_
19 #include "codebook.h"
20
21 static long _vq_quantlist_res_Ac_8a[] = {
22         6,
23         5,
24         7,
25         4,
26         8,
27         3,
28         9,
29         2,
30         10,
31         1,
32         11,
33         0,
34         12,
35 };
36
37 static long _vq_lengthlist_res_Ac_8a[] = {
38          3, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 9, 6, 6,
39          6, 7, 7, 7, 7, 7, 7, 7, 8, 7, 9, 6, 6, 6, 6, 7,
40          7, 7, 7, 7, 7, 7, 7, 9, 7, 7, 7, 7, 7, 7, 8, 8,
41          8, 8, 8, 8, 9, 9, 9, 7, 7, 7, 7, 8, 8, 8, 8, 8,
42          8, 9, 9, 9, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9,
43          9, 8, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 8, 8,
44          8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 8, 8, 8,
45          8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8,
46          8, 8, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 9,
47          9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9,
48          9, 9, 9, 8, 8, 8, 8, 8, 8,
49 };
50
51 static float _vq_quantthresh_res_Ac_8a[] = {
52         -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 
53         2.5, 3.5, 4.5, 5.5, 
54 };
55
56 static long _vq_quantmap_res_Ac_8a[] = {
57            11,    9,    7,    5,    3,    1,    0,    2,
58             4,    6,    8,   10,   12,
59 };
60
61 static encode_aux_threshmatch _vq_auxt_res_Ac_8a = {
62         _vq_quantthresh_res_Ac_8a,
63         _vq_quantmap_res_Ac_8a,
64         13,
65         13
66 };
67
68 static static_codebook _vq_book_res_Ac_8a = {
69         2, 169,
70         _vq_lengthlist_res_Ac_8a,
71         1, -531103744, 1611661312, 4, 0,
72         _vq_quantlist_res_Ac_8a,
73         NULL,
74         &_vq_auxt_res_Ac_8a,
75         NULL,
76         0
77 };
78
79
80 #endif