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: 8kHz settings michael@0: last mod: $Id: setup_8.h 16894 2010-02-12 20:32:12Z xiphmont $ michael@0: michael@0: ********************************************************************/ michael@0: michael@0: #include "psych_8.h" michael@0: #include "residue_8.h" michael@0: michael@0: static const int blocksize_8[2]={ michael@0: 512,512 michael@0: }; michael@0: michael@0: static const int _floor_mapping_8a[]={ michael@0: 6,6 michael@0: }; michael@0: michael@0: static const int *_floor_mapping_8[]={ michael@0: _floor_mapping_8a michael@0: }; michael@0: michael@0: static const double rate_mapping_8[3]={ michael@0: 6000.,9000.,32000., michael@0: }; michael@0: michael@0: static const double rate_mapping_8_uncoupled[3]={ michael@0: 8000.,14000.,42000., michael@0: }; michael@0: michael@0: static const double quality_mapping_8[3]={ michael@0: -.1,.0,1. michael@0: }; michael@0: michael@0: static const double _psy_compand_8_mapping[3]={ 0., 1., 1.}; michael@0: michael@0: static const double _global_mapping_8[3]={ 1., 2., 3. }; michael@0: michael@0: static const ve_setup_data_template ve_setup_8_stereo={ michael@0: 2, michael@0: rate_mapping_8, michael@0: quality_mapping_8, michael@0: 2, michael@0: 8000, michael@0: 9000, michael@0: michael@0: blocksize_8, michael@0: blocksize_8, michael@0: michael@0: _psy_tone_masteratt_8, michael@0: _psy_tone_0dB, michael@0: _psy_tone_suppress, michael@0: michael@0: _vp_tonemask_adj_8, michael@0: NULL, michael@0: _vp_tonemask_adj_8, michael@0: michael@0: _psy_noiseguards_8, michael@0: _psy_noisebias_8, michael@0: _psy_noisebias_8, michael@0: NULL, michael@0: NULL, michael@0: _psy_noise_suppress, michael@0: michael@0: _psy_compand_8, michael@0: _psy_compand_8_mapping, michael@0: NULL, michael@0: michael@0: {_noise_start_8,_noise_start_8}, michael@0: {_noise_part_8,_noise_part_8}, michael@0: _noise_thresh_5only, michael@0: michael@0: _psy_ath_floater_8, michael@0: _psy_ath_abs_8, michael@0: michael@0: _psy_lowpass_8, michael@0: michael@0: _psy_global_44, michael@0: _global_mapping_8, michael@0: _psy_stereo_modes_8, michael@0: michael@0: _floor_books, michael@0: _floor, michael@0: 1, michael@0: _floor_mapping_8, michael@0: michael@0: _mapres_template_8_stereo michael@0: }; michael@0: michael@0: static const ve_setup_data_template ve_setup_8_uncoupled={ michael@0: 2, michael@0: rate_mapping_8_uncoupled, michael@0: quality_mapping_8, michael@0: -1, michael@0: 8000, michael@0: 9000, michael@0: michael@0: blocksize_8, michael@0: blocksize_8, michael@0: michael@0: _psy_tone_masteratt_8, michael@0: _psy_tone_0dB, michael@0: _psy_tone_suppress, michael@0: michael@0: _vp_tonemask_adj_8, michael@0: NULL, michael@0: _vp_tonemask_adj_8, michael@0: michael@0: _psy_noiseguards_8, michael@0: _psy_noisebias_8, michael@0: _psy_noisebias_8, michael@0: NULL, michael@0: NULL, michael@0: _psy_noise_suppress, michael@0: michael@0: _psy_compand_8, michael@0: _psy_compand_8_mapping, michael@0: NULL, michael@0: michael@0: {_noise_start_8,_noise_start_8}, michael@0: {_noise_part_8,_noise_part_8}, michael@0: _noise_thresh_5only, michael@0: michael@0: _psy_ath_floater_8, michael@0: _psy_ath_abs_8, michael@0: michael@0: _psy_lowpass_8, michael@0: michael@0: _psy_global_44, michael@0: _global_mapping_8, michael@0: _psy_stereo_modes_8, michael@0: michael@0: _floor_books, michael@0: _floor, michael@0: 1, michael@0: _floor_mapping_8, michael@0: michael@0: _mapres_template_8_uncoupled michael@0: };