michael@0: /******************************************************************** michael@0: * * michael@0: * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * michael@0: * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * michael@0: * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * michael@0: * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * michael@0: * * michael@0: * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * michael@0: * by the Xiph.Org Foundation http://www.xiph.org/ * michael@0: * * michael@0: ******************************************************************** michael@0: michael@0: function: 22kHz settings michael@0: last mod: $Id: setup_22.h 17026 2010-03-25 05:00:27Z xiphmont $ michael@0: michael@0: ********************************************************************/ michael@0: michael@0: static const double rate_mapping_22[4]={ michael@0: 15000.,20000.,44000.,86000. michael@0: }; michael@0: michael@0: static const double rate_mapping_22_uncoupled[4]={ michael@0: 16000.,28000.,50000.,90000. michael@0: }; michael@0: michael@0: static const double _psy_lowpass_22[4]={9.5,11.,30.,99.}; michael@0: michael@0: static const ve_setup_data_template ve_setup_22_stereo={ michael@0: 3, michael@0: rate_mapping_22, michael@0: quality_mapping_16, michael@0: 2, michael@0: 19000, michael@0: 26000, michael@0: michael@0: blocksize_16_short, michael@0: blocksize_16_long, michael@0: michael@0: _psy_tone_masteratt_16, michael@0: _psy_tone_0dB, michael@0: _psy_tone_suppress, michael@0: michael@0: _vp_tonemask_adj_16, michael@0: _vp_tonemask_adj_16, michael@0: _vp_tonemask_adj_16, michael@0: michael@0: _psy_noiseguards_16, michael@0: _psy_noisebias_16_impulse, michael@0: _psy_noisebias_16_short, michael@0: _psy_noisebias_16_short, michael@0: _psy_noisebias_16, michael@0: _psy_noise_suppress, michael@0: michael@0: _psy_compand_8, michael@0: _psy_compand_16_mapping, michael@0: _psy_compand_16_mapping, michael@0: michael@0: {_noise_start_16,_noise_start_16}, michael@0: { _noise_part_16, _noise_part_16}, michael@0: _noise_thresh_16, michael@0: michael@0: _psy_ath_floater_16, michael@0: _psy_ath_abs_16, michael@0: michael@0: _psy_lowpass_22, michael@0: michael@0: _psy_global_44, michael@0: _global_mapping_16, michael@0: _psy_stereo_modes_16, michael@0: michael@0: _floor_books, michael@0: _floor, michael@0: 2, michael@0: _floor_mapping_16, michael@0: michael@0: _mapres_template_16_stereo michael@0: }; michael@0: michael@0: static const ve_setup_data_template ve_setup_22_uncoupled={ michael@0: 3, michael@0: rate_mapping_22_uncoupled, michael@0: quality_mapping_16, michael@0: -1, michael@0: 19000, michael@0: 26000, michael@0: michael@0: blocksize_16_short, michael@0: blocksize_16_long, michael@0: michael@0: _psy_tone_masteratt_16, michael@0: _psy_tone_0dB, michael@0: _psy_tone_suppress, michael@0: michael@0: _vp_tonemask_adj_16, michael@0: _vp_tonemask_adj_16, michael@0: _vp_tonemask_adj_16, michael@0: michael@0: _psy_noiseguards_16, michael@0: _psy_noisebias_16_impulse, michael@0: _psy_noisebias_16_short, michael@0: _psy_noisebias_16_short, michael@0: _psy_noisebias_16, michael@0: _psy_noise_suppress, michael@0: michael@0: _psy_compand_8, michael@0: _psy_compand_16_mapping, michael@0: _psy_compand_16_mapping, michael@0: michael@0: {_noise_start_16,_noise_start_16}, michael@0: { _noise_part_16, _noise_part_16}, michael@0: _noise_thresh_16, michael@0: michael@0: _psy_ath_floater_16, michael@0: _psy_ath_abs_16, michael@0: michael@0: _psy_lowpass_22, michael@0: michael@0: _psy_global_44, michael@0: _global_mapping_16, michael@0: _psy_stereo_modes_16, michael@0: michael@0: _floor_books, michael@0: _floor, michael@0: 2, michael@0: _floor_mapping_16, michael@0: michael@0: _mapres_template_16_uncoupled michael@0: };