vrshoot
diff libs/vorbis/modes/setup_8.h @ 0:b2f14e535253
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 01 Feb 2014 19:58:19 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libs/vorbis/modes/setup_8.h Sat Feb 01 19:58:19 2014 +0200 1.3 @@ -0,0 +1,149 @@ 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: 8kHz settings 1.17 + last mod: $Id: setup_8.h 16894 2010-02-12 20:32:12Z xiphmont $ 1.18 + 1.19 + ********************************************************************/ 1.20 + 1.21 +#include "psych_8.h" 1.22 +#include "residue_8.h" 1.23 + 1.24 +static const int blocksize_8[2]={ 1.25 + 512,512 1.26 +}; 1.27 + 1.28 +static const int _floor_mapping_8a[]={ 1.29 + 6,6 1.30 +}; 1.31 + 1.32 +static const int *_floor_mapping_8[]={ 1.33 + _floor_mapping_8a 1.34 +}; 1.35 + 1.36 +static const double rate_mapping_8[3]={ 1.37 + 6000.,9000.,32000., 1.38 +}; 1.39 + 1.40 +static const double rate_mapping_8_uncoupled[3]={ 1.41 + 8000.,14000.,42000., 1.42 +}; 1.43 + 1.44 +static const double quality_mapping_8[3]={ 1.45 + -.1,.0,1. 1.46 +}; 1.47 + 1.48 +static const double _psy_compand_8_mapping[3]={ 0., 1., 1.}; 1.49 + 1.50 +static const double _global_mapping_8[3]={ 1., 2., 3. }; 1.51 + 1.52 +static const ve_setup_data_template ve_setup_8_stereo={ 1.53 + 2, 1.54 + rate_mapping_8, 1.55 + quality_mapping_8, 1.56 + 2, 1.57 + 8000, 1.58 + 9000, 1.59 + 1.60 + blocksize_8, 1.61 + blocksize_8, 1.62 + 1.63 + _psy_tone_masteratt_8, 1.64 + _psy_tone_0dB, 1.65 + _psy_tone_suppress, 1.66 + 1.67 + _vp_tonemask_adj_8, 1.68 + NULL, 1.69 + _vp_tonemask_adj_8, 1.70 + 1.71 + _psy_noiseguards_8, 1.72 + _psy_noisebias_8, 1.73 + _psy_noisebias_8, 1.74 + NULL, 1.75 + NULL, 1.76 + _psy_noise_suppress, 1.77 + 1.78 + _psy_compand_8, 1.79 + _psy_compand_8_mapping, 1.80 + NULL, 1.81 + 1.82 + {_noise_start_8,_noise_start_8}, 1.83 + {_noise_part_8,_noise_part_8}, 1.84 + _noise_thresh_5only, 1.85 + 1.86 + _psy_ath_floater_8, 1.87 + _psy_ath_abs_8, 1.88 + 1.89 + _psy_lowpass_8, 1.90 + 1.91 + _psy_global_44, 1.92 + _global_mapping_8, 1.93 + _psy_stereo_modes_8, 1.94 + 1.95 + _floor_books, 1.96 + _floor, 1.97 + 1, 1.98 + _floor_mapping_8, 1.99 + 1.100 + _mapres_template_8_stereo 1.101 +}; 1.102 + 1.103 +static const ve_setup_data_template ve_setup_8_uncoupled={ 1.104 + 2, 1.105 + rate_mapping_8_uncoupled, 1.106 + quality_mapping_8, 1.107 + -1, 1.108 + 8000, 1.109 + 9000, 1.110 + 1.111 + blocksize_8, 1.112 + blocksize_8, 1.113 + 1.114 + _psy_tone_masteratt_8, 1.115 + _psy_tone_0dB, 1.116 + _psy_tone_suppress, 1.117 + 1.118 + _vp_tonemask_adj_8, 1.119 + NULL, 1.120 + _vp_tonemask_adj_8, 1.121 + 1.122 + _psy_noiseguards_8, 1.123 + _psy_noisebias_8, 1.124 + _psy_noisebias_8, 1.125 + NULL, 1.126 + NULL, 1.127 + _psy_noise_suppress, 1.128 + 1.129 + _psy_compand_8, 1.130 + _psy_compand_8_mapping, 1.131 + NULL, 1.132 + 1.133 + {_noise_start_8,_noise_start_8}, 1.134 + {_noise_part_8,_noise_part_8}, 1.135 + _noise_thresh_5only, 1.136 + 1.137 + _psy_ath_floater_8, 1.138 + _psy_ath_abs_8, 1.139 + 1.140 + _psy_lowpass_8, 1.141 + 1.142 + _psy_global_44, 1.143 + _global_mapping_8, 1.144 + _psy_stereo_modes_8, 1.145 + 1.146 + _floor_books, 1.147 + _floor, 1.148 + 1, 1.149 + _floor_mapping_8, 1.150 + 1.151 + _mapres_template_8_uncoupled 1.152 +};