vrshoot

view libs/vorbis/modes/setup_X.h @ 0:b2f14e535253

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 01 Feb 2014 19:58:19 +0200
parents
children
line source
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 ********************************************************************
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 $
16 ********************************************************************/
18 static const double rate_mapping_X[12]={
19 -1.,-1.,-1.,-1.,-1.,-1.,
20 -1.,-1.,-1.,-1.,-1.,-1.
21 };
23 static 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,
31 blocksize_short_44,
32 blocksize_long_44,
34 _psy_tone_masteratt_44,
35 _psy_tone_0dB,
36 _psy_tone_suppress,
38 _vp_tonemask_adj_otherblock,
39 _vp_tonemask_adj_longblock,
40 _vp_tonemask_adj_otherblock,
42 _psy_noiseguards_44,
43 _psy_noisebias_impulse,
44 _psy_noisebias_padding,
45 _psy_noisebias_trans,
46 _psy_noisebias_long,
47 _psy_noise_suppress,
49 _psy_compand_44,
50 _psy_compand_short_mapping,
51 _psy_compand_long_mapping,
53 {_noise_start_short_44,_noise_start_long_44},
54 {_noise_part_short_44,_noise_part_long_44},
55 _noise_thresh_44,
57 _psy_ath_floater,
58 _psy_ath_abs,
60 _psy_lowpass_44,
62 _psy_global_44,
63 _global_mapping_44,
64 _psy_stereo_modes_44,
66 _floor_books,
67 _floor,
68 2,
69 _floor_mapping_44,
71 _mapres_template_44_stereo
72 };
74 static 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,
82 blocksize_short_44,
83 blocksize_long_44,
85 _psy_tone_masteratt_44,
86 _psy_tone_0dB,
87 _psy_tone_suppress,
89 _vp_tonemask_adj_otherblock,
90 _vp_tonemask_adj_longblock,
91 _vp_tonemask_adj_otherblock,
93 _psy_noiseguards_44,
94 _psy_noisebias_impulse,
95 _psy_noisebias_padding,
96 _psy_noisebias_trans,
97 _psy_noisebias_long,
98 _psy_noise_suppress,
100 _psy_compand_44,
101 _psy_compand_short_mapping,
102 _psy_compand_long_mapping,
104 {_noise_start_short_44,_noise_start_long_44},
105 {_noise_part_short_44,_noise_part_long_44},
106 _noise_thresh_44,
108 _psy_ath_floater,
109 _psy_ath_abs,
111 _psy_lowpass_44,
113 _psy_global_44,
114 _global_mapping_44,
115 NULL,
117 _floor_books,
118 _floor,
119 2,
120 _floor_mapping_44,
122 _mapres_template_44_uncoupled
123 };
125 static 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,
133 blocksize_8,
134 blocksize_8,
136 _psy_tone_masteratt_8,
137 _psy_tone_0dB,
138 _psy_tone_suppress,
140 _vp_tonemask_adj_8,
141 NULL,
142 _vp_tonemask_adj_8,
144 _psy_noiseguards_8,
145 _psy_noisebias_8,
146 _psy_noisebias_8,
147 NULL,
148 NULL,
149 _psy_noise_suppress,
151 _psy_compand_8,
152 _psy_compand_8_mapping,
153 NULL,
155 {_noise_start_8,_noise_start_8},
156 {_noise_part_8,_noise_part_8},
157 _noise_thresh_5only,
159 _psy_ath_floater_8,
160 _psy_ath_abs_8,
162 _psy_lowpass_8,
164 _psy_global_44,
165 _global_mapping_8,
166 _psy_stereo_modes_8,
168 _floor_books,
169 _floor,
170 1,
171 _floor_mapping_8,
173 _mapres_template_8_stereo
174 };
176 static 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,
184 blocksize_8,
185 blocksize_8,
187 _psy_tone_masteratt_8,
188 _psy_tone_0dB,
189 _psy_tone_suppress,
191 _vp_tonemask_adj_8,
192 NULL,
193 _vp_tonemask_adj_8,
195 _psy_noiseguards_8,
196 _psy_noisebias_8,
197 _psy_noisebias_8,
198 NULL,
199 NULL,
200 _psy_noise_suppress,
202 _psy_compand_8,
203 _psy_compand_8_mapping,
204 NULL,
206 {_noise_start_8,_noise_start_8},
207 {_noise_part_8,_noise_part_8},
208 _noise_thresh_5only,
210 _psy_ath_floater_8,
211 _psy_ath_abs_8,
213 _psy_lowpass_8,
215 _psy_global_44,
216 _global_mapping_8,
217 _psy_stereo_modes_8,
219 _floor_books,
220 _floor,
221 1,
222 _floor_mapping_8,
224 _mapres_template_8_uncoupled
225 };