tuned out the knocking
[platform/upstream/libvorbis.git] / lib / books / res_Ec_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
13  function: static codebook autogenerated by vq/somethingorother
14
15  ********************************************************************/
16
17 #ifndef _V_res_Ec_3_VQH_
18 #define _V_res_Ec_3_VQH_
19 #include "codebook.h"
20
21 static long _vq_quantlist_res_Ec_3[] = {
22         4,
23         3,
24         5,
25         2,
26         6,
27         1,
28         7,
29         0,
30         8,
31 };
32
33 static long _vq_lengthlist_res_Ec_3[] = {
34          3, 4, 4, 6, 5, 7, 7, 9, 9, 0, 4, 4, 5, 6, 7, 7,
35          9, 9, 0, 4, 4, 5, 5, 7, 7, 9, 9, 0, 5, 5, 6, 6,
36          7, 7, 9, 9, 0, 0, 0, 6, 6, 7, 7, 9, 9, 0, 0, 0,
37          6, 6, 8, 8,10,10, 0, 0, 0, 6, 6, 8, 7, 9, 9, 0,
38          0, 0, 7, 7, 8, 9,10,10, 0, 0, 0, 0, 0, 8, 8,10,
39         10,
40 };
41
42 static float _vq_quantthresh_res_Ec_3[] = {
43         -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 
44 };
45
46 static long _vq_quantmap_res_Ec_3[] = {
47             7,    5,    3,    1,    0,    2,    4,    6,
48             8,
49 };
50
51 static encode_aux_threshmatch _vq_auxt_res_Ec_3 = {
52         _vq_quantthresh_res_Ec_3,
53         _vq_quantmap_res_Ec_3,
54         9,
55         9
56 };
57
58 static long _vq_pigeonmap_res_Ec_3[] = {
59             2,     1,     1,     0,     0,     0,     1,     2, 
60 };
61
62 static long _vq_fitlist_res_Ec_3[] = {
63             0,     1,     2,     3,    10,    11,    12,    19, 
64            28,     4,    13,    20,    29,     6,    15,    22, 
65            31,    21,    24,    40,    39,    42,    58,     1, 
66             3,     5,     7,    10,    12,    14,    16,    21, 
67            23,    30,    32,     0,    19,    28,     2,     4, 
68             6,     8,    11,    13,    15,    17,    22,    24, 
69            31,    33,    25,    39,    41,    20,    26,    40, 
70            42,    43,    57,    59,    44,    58,    60,     3, 
71             5,     7,    12,    14,    16,    23,    25,    32, 
72            34,     4,     6,     8,    13,    15,    17,    24, 
73            26,    33,    35,    21,    41,    43,    22,    42, 
74            44,    39,    59,    61,    40,    60,    62,    10, 
75            28,    29,    30,    48,    11,    31,    49,    13, 
76            33,    51,    67,     0,     1,    12,     2,     4, 
77            15,    19,    20,    21,    39,    40,    41,    57, 
78            58,    59,    22,    42,    60,    12,    14,    28, 
79            30,    32,    34,    48,    50,    52,    66,    68, 
80            10,    13,    15,    29,    31,    33,    35,    49, 
81            51,    53,    67,    69,     3,     5,    16,     1, 
82             4,     6,    11,    17,    21,    23,    39,    41, 
83            43,    57,    59,    61,    77,    19,    22,    24, 
84            40,    42,    44,    58,    60,    62,    78,    14, 
85            16,    30,    32,    34,    48,    50,    52,    68, 
86            70,    15,    17,    31,    33,    35,    49,    51, 
87            53,    69,    71,     5,     7,    12,     6,     8, 
88            13,    23,    25,    39,    41,    43,    57,    59, 
89            61,    77,    79,    24,    26,    40,    42,    44, 
90            58,    60,    62,    78,    80,    10,    28,    29, 
91            30,    48,    49,    50,    66,    67,    68,    11, 
92            31,    51,    69,    19,    39,    57,    58,    59, 
93            77,    20,    40,    60,    78,    30,    32,    48, 
94            50,    52,    66,    68,    70,    28,    31,    33, 
95            49,    51,    53,    67,    69,    71,    39,    41, 
96            57,    59,    61,    77,    79,    40,    42,    58, 
97            60,    62,    78,    80,    32,    34,    48,    50, 
98            52,    66,    68,    70,    33,    35,    49,    51, 
99            53,    67,    69,    71,    41,    43,    57,    59, 
100            61,    77,    79,    42,    44,    58,    60,    62, 
101            78,    80, 
102 };
103
104 static long _vq_fitmap_res_Ec_3[] = {
105             0,    23,    63,    95,   125,   175,   221,   245, 
106           276, 
107 };
108
109 static long _vq_fitlength_res_Ec_3[] = {
110            23,    40,    32,    30,    50,    46,    24,    31, 
111            30, 
112 };
113
114 static encode_aux_pigeonhole _vq_auxp_res_Ec_3 = {
115         -4, 1, 8, 3,
116         _vq_pigeonmap_res_Ec_3,
117         306,
118         _vq_fitlist_res_Ec_3,
119         _vq_fitmap_res_Ec_3,
120         _vq_fitlength_res_Ec_3
121 };
122
123 static static_codebook _vq_book_res_Ec_3 = {
124         2, 81,
125         _vq_lengthlist_res_Ec_3,
126         1, -531628032, 1611661312, 4, 0,
127         _vq_quantlist_res_Ec_3,
128         NULL,
129         &_vq_auxt_res_Ec_3,
130         &_vq_auxp_res_Ec_3,
131         0
132 };
133
134
135 #endif