dbf-halloween2015
diff libs/vorbis/modes/setup_X.h @ 1:c3f5c32cb210
barfed all the libraries in the source tree to make porting easier
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 00:36:56 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libs/vorbis/modes/setup_X.h Sun Nov 01 00:36:56 2015 +0200 1.3 @@ -0,0 +1,225 @@ 1.4 +/******************************************************************** 1.5 + * * 1.6 + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 1.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 1.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 1.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 1.10 + * * 1.11 + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * 1.12 + * by the Xiph.Org Foundation http://www.xiph.org/ * 1.13 + * * 1.14 + ******************************************************************** 1.15 + 1.16 + function: catch-all toplevel settings for q modes only 1.17 + last mod: $Id: setup_X.h 16894 2010-02-12 20:32:12Z xiphmont $ 1.18 + 1.19 + ********************************************************************/ 1.20 + 1.21 +static const double rate_mapping_X[12]={ 1.22 + -1.,-1.,-1.,-1.,-1.,-1., 1.23 + -1.,-1.,-1.,-1.,-1.,-1. 1.24 +}; 1.25 + 1.26 +static const ve_setup_data_template ve_setup_X_stereo={ 1.27 + 11, 1.28 + rate_mapping_X, 1.29 + quality_mapping_44, 1.30 + 2, 1.31 + 50000, 1.32 + 200000, 1.33 + 1.34 + blocksize_short_44, 1.35 + blocksize_long_44, 1.36 + 1.37 + _psy_tone_masteratt_44, 1.38 + _psy_tone_0dB, 1.39 + _psy_tone_suppress, 1.40 + 1.41 + _vp_tonemask_adj_otherblock, 1.42 + _vp_tonemask_adj_longblock, 1.43 + _vp_tonemask_adj_otherblock, 1.44 + 1.45 + _psy_noiseguards_44, 1.46 + _psy_noisebias_impulse, 1.47 + _psy_noisebias_padding, 1.48 + _psy_noisebias_trans, 1.49 + _psy_noisebias_long, 1.50 + _psy_noise_suppress, 1.51 + 1.52 + _psy_compand_44, 1.53 + _psy_compand_short_mapping, 1.54 + _psy_compand_long_mapping, 1.55 + 1.56 + {_noise_start_short_44,_noise_start_long_44}, 1.57 + {_noise_part_short_44,_noise_part_long_44}, 1.58 + _noise_thresh_44, 1.59 + 1.60 + _psy_ath_floater, 1.61 + _psy_ath_abs, 1.62 + 1.63 + _psy_lowpass_44, 1.64 + 1.65 + _psy_global_44, 1.66 + _global_mapping_44, 1.67 + _psy_stereo_modes_44, 1.68 + 1.69 + _floor_books, 1.70 + _floor, 1.71 + 2, 1.72 + _floor_mapping_44, 1.73 + 1.74 + _mapres_template_44_stereo 1.75 +}; 1.76 + 1.77 +static const ve_setup_data_template ve_setup_X_uncoupled={ 1.78 + 11, 1.79 + rate_mapping_X, 1.80 + quality_mapping_44, 1.81 + -1, 1.82 + 50000, 1.83 + 200000, 1.84 + 1.85 + blocksize_short_44, 1.86 + blocksize_long_44, 1.87 + 1.88 + _psy_tone_masteratt_44, 1.89 + _psy_tone_0dB, 1.90 + _psy_tone_suppress, 1.91 + 1.92 + _vp_tonemask_adj_otherblock, 1.93 + _vp_tonemask_adj_longblock, 1.94 + _vp_tonemask_adj_otherblock, 1.95 + 1.96 + _psy_noiseguards_44, 1.97 + _psy_noisebias_impulse, 1.98 + _psy_noisebias_padding, 1.99 + _psy_noisebias_trans, 1.100 + _psy_noisebias_long, 1.101 + _psy_noise_suppress, 1.102 + 1.103 + _psy_compand_44, 1.104 + _psy_compand_short_mapping, 1.105 + _psy_compand_long_mapping, 1.106 + 1.107 + {_noise_start_short_44,_noise_start_long_44}, 1.108 + {_noise_part_short_44,_noise_part_long_44}, 1.109 + _noise_thresh_44, 1.110 + 1.111 + _psy_ath_floater, 1.112 + _psy_ath_abs, 1.113 + 1.114 + _psy_lowpass_44, 1.115 + 1.116 + _psy_global_44, 1.117 + _global_mapping_44, 1.118 + NULL, 1.119 + 1.120 + _floor_books, 1.121 + _floor, 1.122 + 2, 1.123 + _floor_mapping_44, 1.124 + 1.125 + _mapres_template_44_uncoupled 1.126 +}; 1.127 + 1.128 +static const ve_setup_data_template ve_setup_XX_stereo={ 1.129 + 2, 1.130 + rate_mapping_X, 1.131 + quality_mapping_8, 1.132 + 2, 1.133 + 0, 1.134 + 8000, 1.135 + 1.136 + blocksize_8, 1.137 + blocksize_8, 1.138 + 1.139 + _psy_tone_masteratt_8, 1.140 + _psy_tone_0dB, 1.141 + _psy_tone_suppress, 1.142 + 1.143 + _vp_tonemask_adj_8, 1.144 + NULL, 1.145 + _vp_tonemask_adj_8, 1.146 + 1.147 + _psy_noiseguards_8, 1.148 + _psy_noisebias_8, 1.149 + _psy_noisebias_8, 1.150 + NULL, 1.151 + NULL, 1.152 + _psy_noise_suppress, 1.153 + 1.154 + _psy_compand_8, 1.155 + _psy_compand_8_mapping, 1.156 + NULL, 1.157 + 1.158 + {_noise_start_8,_noise_start_8}, 1.159 + {_noise_part_8,_noise_part_8}, 1.160 + _noise_thresh_5only, 1.161 + 1.162 + _psy_ath_floater_8, 1.163 + _psy_ath_abs_8, 1.164 + 1.165 + _psy_lowpass_8, 1.166 + 1.167 + _psy_global_44, 1.168 + _global_mapping_8, 1.169 + _psy_stereo_modes_8, 1.170 + 1.171 + _floor_books, 1.172 + _floor, 1.173 + 1, 1.174 + _floor_mapping_8, 1.175 + 1.176 + _mapres_template_8_stereo 1.177 +}; 1.178 + 1.179 +static const ve_setup_data_template ve_setup_XX_uncoupled={ 1.180 + 2, 1.181 + rate_mapping_X, 1.182 + quality_mapping_8, 1.183 + -1, 1.184 + 0, 1.185 + 8000, 1.186 + 1.187 + blocksize_8, 1.188 + blocksize_8, 1.189 + 1.190 + _psy_tone_masteratt_8, 1.191 + _psy_tone_0dB, 1.192 + _psy_tone_suppress, 1.193 + 1.194 + _vp_tonemask_adj_8, 1.195 + NULL, 1.196 + _vp_tonemask_adj_8, 1.197 + 1.198 + _psy_noiseguards_8, 1.199 + _psy_noisebias_8, 1.200 + _psy_noisebias_8, 1.201 + NULL, 1.202 + NULL, 1.203 + _psy_noise_suppress, 1.204 + 1.205 + _psy_compand_8, 1.206 + _psy_compand_8_mapping, 1.207 + NULL, 1.208 + 1.209 + {_noise_start_8,_noise_start_8}, 1.210 + {_noise_part_8,_noise_part_8}, 1.211 + _noise_thresh_5only, 1.212 + 1.213 + _psy_ath_floater_8, 1.214 + _psy_ath_abs_8, 1.215 + 1.216 + _psy_lowpass_8, 1.217 + 1.218 + _psy_global_44, 1.219 + _global_mapping_8, 1.220 + _psy_stereo_modes_8, 1.221 + 1.222 + _floor_books, 1.223 + _floor, 1.224 + 1, 1.225 + _floor_mapping_8, 1.226 + 1.227 + _mapres_template_8_uncoupled 1.228 +};