1/********************************************************************
2 *                                                                  *
3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
7 *                                                                  *
8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009             *
9 * by the Xiph.Org Foundation http://www.xiph.org/                  *
10 *                                                                  *
11 ********************************************************************
12
13 function: catch-all toplevel settings for q modes only
14 last mod: $Id: setup_X.h 16894 2010-02-12 20:32:12Z xiphmont $
15
16 ********************************************************************/
17
18static const double rate_mapping_X[12]={
19  -1.,-1.,-1.,-1.,-1.,-1.,
20  -1.,-1.,-1.,-1.,-1.,-1.
21};
22
23static const ve_setup_data_template ve_setup_X_stereo={
24  11,
25  rate_mapping_X,
26  quality_mapping_44,
27  2,
28  50000,
29  200000,
30
31  blocksize_short_44,
32  blocksize_long_44,
33
34  _psy_tone_masteratt_44,
35  _psy_tone_0dB,
36  _psy_tone_suppress,
37
38  _vp_tonemask_adj_otherblock,
39  _vp_tonemask_adj_longblock,
40  _vp_tonemask_adj_otherblock,
41
42  _psy_noiseguards_44,
43  _psy_noisebias_impulse,
44  _psy_noisebias_padding,
45  _psy_noisebias_trans,
46  _psy_noisebias_long,
47  _psy_noise_suppress,
48
49  _psy_compand_44,
50  _psy_compand_short_mapping,
51  _psy_compand_long_mapping,
52
53  {_noise_start_short_44,_noise_start_long_44},
54  {_noise_part_short_44,_noise_part_long_44},
55  _noise_thresh_44,
56
57  _psy_ath_floater,
58  _psy_ath_abs,
59
60  _psy_lowpass_44,
61
62  _psy_global_44,
63  _global_mapping_44,
64  _psy_stereo_modes_44,
65
66  _floor_books,
67  _floor,
68  2,
69  _floor_mapping_44,
70
71  _mapres_template_44_stereo
72};
73
74static const ve_setup_data_template ve_setup_X_uncoupled={
75  11,
76  rate_mapping_X,
77  quality_mapping_44,
78  -1,
79  50000,
80  200000,
81
82  blocksize_short_44,
83  blocksize_long_44,
84
85  _psy_tone_masteratt_44,
86  _psy_tone_0dB,
87  _psy_tone_suppress,
88
89  _vp_tonemask_adj_otherblock,
90  _vp_tonemask_adj_longblock,
91  _vp_tonemask_adj_otherblock,
92
93  _psy_noiseguards_44,
94  _psy_noisebias_impulse,
95  _psy_noisebias_padding,
96  _psy_noisebias_trans,
97  _psy_noisebias_long,
98  _psy_noise_suppress,
99
100  _psy_compand_44,
101  _psy_compand_short_mapping,
102  _psy_compand_long_mapping,
103
104  {_noise_start_short_44,_noise_start_long_44},
105  {_noise_part_short_44,_noise_part_long_44},
106  _noise_thresh_44,
107
108  _psy_ath_floater,
109  _psy_ath_abs,
110
111  _psy_lowpass_44,
112
113  _psy_global_44,
114  _global_mapping_44,
115  NULL,
116
117  _floor_books,
118  _floor,
119  2,
120  _floor_mapping_44,
121
122  _mapres_template_44_uncoupled
123};
124
125static const ve_setup_data_template ve_setup_XX_stereo={
126  2,
127  rate_mapping_X,
128  quality_mapping_8,
129  2,
130  0,
131  8000,
132
133  blocksize_8,
134  blocksize_8,
135
136  _psy_tone_masteratt_8,
137  _psy_tone_0dB,
138  _psy_tone_suppress,
139
140  _vp_tonemask_adj_8,
141  NULL,
142  _vp_tonemask_adj_8,
143
144  _psy_noiseguards_8,
145  _psy_noisebias_8,
146  _psy_noisebias_8,
147  NULL,
148  NULL,
149  _psy_noise_suppress,
150
151  _psy_compand_8,
152  _psy_compand_8_mapping,
153  NULL,
154
155  {_noise_start_8,_noise_start_8},
156  {_noise_part_8,_noise_part_8},
157  _noise_thresh_5only,
158
159  _psy_ath_floater_8,
160  _psy_ath_abs_8,
161
162  _psy_lowpass_8,
163
164  _psy_global_44,
165  _global_mapping_8,
166  _psy_stereo_modes_8,
167
168  _floor_books,
169  _floor,
170  1,
171  _floor_mapping_8,
172
173  _mapres_template_8_stereo
174};
175
176static const ve_setup_data_template ve_setup_XX_uncoupled={
177  2,
178  rate_mapping_X,
179  quality_mapping_8,
180  -1,
181  0,
182  8000,
183
184  blocksize_8,
185  blocksize_8,
186
187  _psy_tone_masteratt_8,
188  _psy_tone_0dB,
189  _psy_tone_suppress,
190
191  _vp_tonemask_adj_8,
192  NULL,
193  _vp_tonemask_adj_8,
194
195  _psy_noiseguards_8,
196  _psy_noisebias_8,
197  _psy_noisebias_8,
198  NULL,
199  NULL,
200  _psy_noise_suppress,
201
202  _psy_compand_8,
203  _psy_compand_8_mapping,
204  NULL,
205
206  {_noise_start_8,_noise_start_8},
207  {_noise_part_8,_noise_part_8},
208  _noise_thresh_5only,
209
210  _psy_ath_floater_8,
211  _psy_ath_abs_8,
212
213  _psy_lowpass_8,
214
215  _psy_global_44,
216  _global_mapping_8,
217  _psy_stereo_modes_8,
218
219  _floor_books,
220  _floor,
221  1,
222  _floor_mapping_8,
223
224  _mapres_template_8_uncoupled
225};
226