tuned out the knocking
[platform/upstream/libvorbis.git] / lib / books / res_Ac_7.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_7_VQH_
18 #define _V_res_Ac_7_VQH_
19 #include "codebook.h"
20
21 static long _vq_quantlist_res_Ac_7[] = {
22         3,
23         2,
24         4,
25         1,
26         5,
27         0,
28         6,
29 };
30
31 static long _vq_lengthlist_res_Ac_7[] = {
32          1, 4, 3, 7, 7, 9, 9, 5, 4, 4, 7, 7, 9, 9, 6, 5,
33          5, 8, 8,10,10, 0, 8, 8, 9, 9,11,10, 0, 9, 8, 9,
34          9,11,11, 0,13,13,10,10,11,11, 0,13,13,10,11,12,
35         12,
36 };
37
38 static float _vq_quantthresh_res_Ac_7[] = {
39         -12.5, -7.5, -2.5, 2.5, 7.5, 12.5, 
40 };
41
42 static long _vq_quantmap_res_Ac_7[] = {
43             5,    3,    1,    0,    2,    4,    6,
44 };
45
46 static encode_aux_threshmatch _vq_auxt_res_Ac_7 = {
47         _vq_quantthresh_res_Ac_7,
48         _vq_quantmap_res_Ac_7,
49         7,
50         7
51 };
52
53 static long _vq_pigeonmap_res_Ac_7[] = {
54             1,     1,     0,     0,     0,     1, 
55 };
56
57 static long _vq_fitlist_res_Ac_7[] = {
58             0,     1,     2,     3,     7,     8,     9,    10, 
59            14,    15,    22,     4,    11,    16,    23,     6, 
60            13,    18,    25,    17,    29,    30,    20,    32, 
61            31,    43,    44,    34,    46,     1,     3,     5, 
62             8,    10,    12,    17,    19,    24,    26,     0, 
63             7,    15,    22,     2,     4,     6,     9,    11, 
64            13,    18,    20,    25,    27,    31,    33,    14, 
65            29,    16,    32,    34,    45,    47,    43,    30, 
66            46,    48,     7,     8,    22,    23,    24,    36, 
67            37,    38,     9,    25,    39,    11,    27,    41, 
68             0,     1,    10,     2,     4,    13,    14,    15, 
69            29,    30,    31,    43,    44,    45,    16,    32, 
70            46,    18,    34,    48,    10,    12,    22,    24, 
71            26,    36,    38,    40,     8,    11,    13,    23, 
72            25,    27,    37,    39,    41,     3,     5,     1, 
73             7,     4,     6,     9,    17,    19,    29,    31, 
74            33,    43,    45,    47,    15,    18,    20,    30, 
75            32,    34,    44,    46,    48, 
76 };
77
78 static long _vq_fitmap_res_Ac_7[] = {
79             0,    29,    66,    66,   100,   141,   141,   141, 
80           141, 
81 };
82
83 static long _vq_fitlength_res_Ac_7[] = {
84            29,    37,     0,    34,    41,     0,     0,     0, 
85             0, 
86 };
87
88 static encode_aux_pigeonhole _vq_auxp_res_Ac_7 = {
89         -15, 5, 6, 3,
90         _vq_pigeonmap_res_Ac_7,
91         141,
92         _vq_fitlist_res_Ac_7,
93         _vq_fitmap_res_Ac_7,
94         _vq_fitlength_res_Ac_7
95 };
96
97 static static_codebook _vq_book_res_Ac_7 = {
98         2, 49,
99         _vq_lengthlist_res_Ac_7,
100         1, -528613376, 1616117760, 3, 0,
101         _vq_quantlist_res_Ac_7,
102         NULL,
103         &_vq_auxt_res_Ac_7,
104         &_vq_auxp_res_Ac_7,
105         0
106 };
107
108
109 #endif