vrshoot

diff libs/vorbis/modes/setup_22.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_22.h	Sat Feb 01 19:58:19 2014 +0200
     1.3 @@ -0,0 +1,128 @@
     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: 22kHz settings
    1.17 + last mod: $Id: setup_22.h 17026 2010-03-25 05:00:27Z xiphmont $
    1.18 +
    1.19 + ********************************************************************/
    1.20 +
    1.21 +static const double rate_mapping_22[4]={
    1.22 +  15000.,20000.,44000.,86000.
    1.23 +};
    1.24 +
    1.25 +static const double rate_mapping_22_uncoupled[4]={
    1.26 +  16000.,28000.,50000.,90000.
    1.27 +};
    1.28 +
    1.29 +static const double _psy_lowpass_22[4]={9.5,11.,30.,99.};
    1.30 +
    1.31 +static const ve_setup_data_template ve_setup_22_stereo={
    1.32 +  3,
    1.33 +  rate_mapping_22,
    1.34 +  quality_mapping_16,
    1.35 +  2,
    1.36 +  19000,
    1.37 +  26000,
    1.38 +
    1.39 +  blocksize_16_short,
    1.40 +  blocksize_16_long,
    1.41 +
    1.42 +  _psy_tone_masteratt_16,
    1.43 +  _psy_tone_0dB,
    1.44 +  _psy_tone_suppress,
    1.45 +
    1.46 +  _vp_tonemask_adj_16,
    1.47 +  _vp_tonemask_adj_16,
    1.48 +  _vp_tonemask_adj_16,
    1.49 +
    1.50 +  _psy_noiseguards_16,
    1.51 +  _psy_noisebias_16_impulse,
    1.52 +  _psy_noisebias_16_short,
    1.53 +  _psy_noisebias_16_short,
    1.54 +  _psy_noisebias_16,
    1.55 +  _psy_noise_suppress,
    1.56 +
    1.57 +  _psy_compand_8,
    1.58 +  _psy_compand_16_mapping,
    1.59 +  _psy_compand_16_mapping,
    1.60 +
    1.61 +  {_noise_start_16,_noise_start_16},
    1.62 +  { _noise_part_16, _noise_part_16},
    1.63 +  _noise_thresh_16,
    1.64 +
    1.65 +  _psy_ath_floater_16,
    1.66 +  _psy_ath_abs_16,
    1.67 +
    1.68 +  _psy_lowpass_22,
    1.69 +
    1.70 +  _psy_global_44,
    1.71 +  _global_mapping_16,
    1.72 +  _psy_stereo_modes_16,
    1.73 +
    1.74 +  _floor_books,
    1.75 +  _floor,
    1.76 +  2,
    1.77 +  _floor_mapping_16,
    1.78 +
    1.79 +  _mapres_template_16_stereo
    1.80 +};
    1.81 +
    1.82 +static const ve_setup_data_template ve_setup_22_uncoupled={
    1.83 +  3,
    1.84 +  rate_mapping_22_uncoupled,
    1.85 +  quality_mapping_16,
    1.86 +  -1,
    1.87 +  19000,
    1.88 +  26000,
    1.89 +
    1.90 +  blocksize_16_short,
    1.91 +  blocksize_16_long,
    1.92 +
    1.93 +  _psy_tone_masteratt_16,
    1.94 +  _psy_tone_0dB,
    1.95 +  _psy_tone_suppress,
    1.96 +
    1.97 +  _vp_tonemask_adj_16,
    1.98 +  _vp_tonemask_adj_16,
    1.99 +  _vp_tonemask_adj_16,
   1.100 +
   1.101 +  _psy_noiseguards_16,
   1.102 +  _psy_noisebias_16_impulse,
   1.103 +  _psy_noisebias_16_short,
   1.104 +  _psy_noisebias_16_short,
   1.105 +  _psy_noisebias_16,
   1.106 +  _psy_noise_suppress,
   1.107 +
   1.108 +  _psy_compand_8,
   1.109 +  _psy_compand_16_mapping,
   1.110 +  _psy_compand_16_mapping,
   1.111 +
   1.112 +  {_noise_start_16,_noise_start_16},
   1.113 +  { _noise_part_16, _noise_part_16},
   1.114 +  _noise_thresh_16,
   1.115 +
   1.116 +  _psy_ath_floater_16,
   1.117 +  _psy_ath_abs_16,
   1.118 +
   1.119 +  _psy_lowpass_22,
   1.120 +
   1.121 +  _psy_global_44,
   1.122 +  _global_mapping_16,
   1.123 +  _psy_stereo_modes_16,
   1.124 +
   1.125 +  _floor_books,
   1.126 +  _floor,
   1.127 +  2,
   1.128 +  _floor_mapping_16,
   1.129 +
   1.130 +  _mapres_template_16_uncoupled
   1.131 +};