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