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 http://www.xiph.org/ * 10 * * 11 ******************************************************************** 12 13 function: 11kHz settings 14 last mod: $Id: setup_11.h 16227 2009-07-08 06:58:46Z xiphmont $ 15 16 ********************************************************************/ 17 18#include "psych_11.h" 19 20static const int blocksize_11[2]={ 21 512,512 22}; 23 24static const int _floor_mapping_11[2]={ 25 6,6, 26}; 27 28static const double rate_mapping_11[3]={ 29 8000.,13000.,44000., 30}; 31 32static const double rate_mapping_11_uncoupled[3]={ 33 12000.,20000.,50000., 34}; 35 36static const double quality_mapping_11[3]={ 37 -.1,.0,1. 38}; 39 40static const ve_setup_data_template ve_setup_11_stereo={ 41 2, 42 rate_mapping_11, 43 quality_mapping_11, 44 2, 45 9000, 46 15000, 47 48 blocksize_11, 49 blocksize_11, 50 51 _psy_tone_masteratt_11, 52 _psy_tone_0dB, 53 _psy_tone_suppress, 54 55 _vp_tonemask_adj_11, 56 NULL, 57 _vp_tonemask_adj_11, 58 59 _psy_noiseguards_8, 60 _psy_noisebias_11, 61 _psy_noisebias_11, 62 NULL, 63 NULL, 64 _psy_noise_suppress, 65 66 _psy_compand_8, 67 _psy_compand_8_mapping, 68 NULL, 69 70 {_noise_start_8,_noise_start_8}, 71 {_noise_part_8,_noise_part_8}, 72 _noise_thresh_11, 73 74 _psy_ath_floater_8, 75 _psy_ath_abs_8, 76 77 _psy_lowpass_11, 78 79 _psy_global_44, 80 _global_mapping_8, 81 _psy_stereo_modes_8, 82 83 _floor_books, 84 _floor, 85 _floor_mapping_11, 86 NULL, 87 88 _mapres_template_8_stereo 89}; 90 91static const ve_setup_data_template ve_setup_11_uncoupled={ 92 2, 93 rate_mapping_11_uncoupled, 94 quality_mapping_11, 95 -1, 96 9000, 97 15000, 98 99 blocksize_11, 100 blocksize_11, 101 102 _psy_tone_masteratt_11, 103 _psy_tone_0dB, 104 _psy_tone_suppress, 105 106 _vp_tonemask_adj_11, 107 NULL, 108 _vp_tonemask_adj_11, 109 110 _psy_noiseguards_8, 111 _psy_noisebias_11, 112 _psy_noisebias_11, 113 NULL, 114 NULL, 115 _psy_noise_suppress, 116 117 _psy_compand_8, 118 _psy_compand_8_mapping, 119 NULL, 120 121 {_noise_start_8,_noise_start_8}, 122 {_noise_part_8,_noise_part_8}, 123 _noise_thresh_11, 124 125 _psy_ath_floater_8, 126 _psy_ath_abs_8, 127 128 _psy_lowpass_11, 129 130 _psy_global_44, 131 _global_mapping_8, 132 _psy_stereo_modes_8, 133 134 _floor_books, 135 _floor, 136 _floor_mapping_11, 137 NULL, 138 139 _mapres_template_8_uncoupled 140}; 141