vrshoot

diff libs/vorbis/modes/setup_32.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_32.h	Sat Feb 01 19:58:19 2014 +0200
     1.3 @@ -0,0 +1,132 @@
     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: toplevel settings for 32kHz
    1.17 + last mod: $Id: setup_32.h 16894 2010-02-12 20:32:12Z xiphmont $
    1.18 +
    1.19 + ********************************************************************/
    1.20 +
    1.21 +static const double rate_mapping_32[12]={
    1.22 +  18000.,28000.,35000.,45000.,56000.,60000.,
    1.23 +  75000.,90000.,100000.,115000.,150000.,190000.,
    1.24 +};
    1.25 +
    1.26 +static const double rate_mapping_32_un[12]={
    1.27 +  30000.,42000.,52000.,64000.,72000.,78000.,
    1.28 +  86000.,92000.,110000.,120000.,140000.,190000.,
    1.29 +};
    1.30 +
    1.31 +static const double _psy_lowpass_32[12]={
    1.32 +  12.3,13.,13.,14.,15.,99.,99.,99.,99.,99.,99.,99.
    1.33 +};
    1.34 +
    1.35 +static const ve_setup_data_template ve_setup_32_stereo={
    1.36 +  11,
    1.37 +  rate_mapping_32,
    1.38 +  quality_mapping_44,
    1.39 +  2,
    1.40 +  26000,
    1.41 +  40000,
    1.42 +
    1.43 +  blocksize_short_44,
    1.44 +  blocksize_long_44,
    1.45 +
    1.46 +  _psy_tone_masteratt_44,
    1.47 +  _psy_tone_0dB,
    1.48 +  _psy_tone_suppress,
    1.49 +
    1.50 +  _vp_tonemask_adj_otherblock,
    1.51 +  _vp_tonemask_adj_longblock,
    1.52 +  _vp_tonemask_adj_otherblock,
    1.53 +
    1.54 +  _psy_noiseguards_44,
    1.55 +  _psy_noisebias_impulse,
    1.56 +  _psy_noisebias_padding,
    1.57 +  _psy_noisebias_trans,
    1.58 +  _psy_noisebias_long,
    1.59 +  _psy_noise_suppress,
    1.60 +
    1.61 +  _psy_compand_44,
    1.62 +  _psy_compand_short_mapping,
    1.63 +  _psy_compand_long_mapping,
    1.64 +
    1.65 +  {_noise_start_short_44,_noise_start_long_44},
    1.66 +  {_noise_part_short_44,_noise_part_long_44},
    1.67 +  _noise_thresh_44,
    1.68 +
    1.69 +  _psy_ath_floater,
    1.70 +  _psy_ath_abs,
    1.71 +
    1.72 +  _psy_lowpass_32,
    1.73 +
    1.74 +  _psy_global_44,
    1.75 +  _global_mapping_44,
    1.76 +  _psy_stereo_modes_44,
    1.77 +
    1.78 +  _floor_books,
    1.79 +  _floor,
    1.80 +  2,
    1.81 +  _floor_mapping_44,
    1.82 +
    1.83 +  _mapres_template_44_stereo
    1.84 +};
    1.85 +
    1.86 +static const ve_setup_data_template ve_setup_32_uncoupled={
    1.87 +  11,
    1.88 +  rate_mapping_32_un,
    1.89 +  quality_mapping_44,
    1.90 +  -1,
    1.91 +  26000,
    1.92 +  40000,
    1.93 +
    1.94 +  blocksize_short_44,
    1.95 +  blocksize_long_44,
    1.96 +
    1.97 +  _psy_tone_masteratt_44,
    1.98 +  _psy_tone_0dB,
    1.99 +  _psy_tone_suppress,
   1.100 +
   1.101 +  _vp_tonemask_adj_otherblock,
   1.102 +  _vp_tonemask_adj_longblock,
   1.103 +  _vp_tonemask_adj_otherblock,
   1.104 +
   1.105 +  _psy_noiseguards_44,
   1.106 +  _psy_noisebias_impulse,
   1.107 +  _psy_noisebias_padding,
   1.108 +  _psy_noisebias_trans,
   1.109 +  _psy_noisebias_long,
   1.110 +  _psy_noise_suppress,
   1.111 +
   1.112 +  _psy_compand_44,
   1.113 +  _psy_compand_short_mapping,
   1.114 +  _psy_compand_long_mapping,
   1.115 +
   1.116 +  {_noise_start_short_44,_noise_start_long_44},
   1.117 +  {_noise_part_short_44,_noise_part_long_44},
   1.118 +  _noise_thresh_44,
   1.119 +
   1.120 +  _psy_ath_floater,
   1.121 +  _psy_ath_abs,
   1.122 +
   1.123 +  _psy_lowpass_32,
   1.124 +
   1.125 +  _psy_global_44,
   1.126 +  _global_mapping_44,
   1.127 +  NULL,
   1.128 +
   1.129 +  _floor_books,
   1.130 +  _floor,
   1.131 +  2,
   1.132 +  _floor_mapping_44,
   1.133 +
   1.134 +  _mapres_template_44_uncoupled
   1.135 +};