vrshoot

diff libs/vorbis/modes/setup_11.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_11.h	Sat Feb 01 19:58:19 2014 +0200
     1.3 @@ -0,0 +1,143 @@
     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: 11kHz settings
    1.17 + last mod: $Id: setup_11.h 16894 2010-02-12 20:32:12Z xiphmont $
    1.18 +
    1.19 + ********************************************************************/
    1.20 +
    1.21 +#include "psych_11.h"
    1.22 +
    1.23 +static const int blocksize_11[2]={
    1.24 +  512,512
    1.25 +};
    1.26 +
    1.27 +static const int _floor_mapping_11a[]={
    1.28 +  6,6
    1.29 +};
    1.30 +static const int *_floor_mapping_11[]={
    1.31 +  _floor_mapping_11a
    1.32 +};
    1.33 +
    1.34 +static const double rate_mapping_11[3]={
    1.35 +  8000.,13000.,44000.,
    1.36 +};
    1.37 +
    1.38 +static const double rate_mapping_11_uncoupled[3]={
    1.39 +  12000.,20000.,50000.,
    1.40 +};
    1.41 +
    1.42 +static const double quality_mapping_11[3]={
    1.43 +  -.1,.0,1.
    1.44 +};
    1.45 +
    1.46 +static const ve_setup_data_template ve_setup_11_stereo={
    1.47 +  2,
    1.48 +  rate_mapping_11,
    1.49 +  quality_mapping_11,
    1.50 +  2,
    1.51 +  9000,
    1.52 +  15000,
    1.53 +
    1.54 +  blocksize_11,
    1.55 +  blocksize_11,
    1.56 +
    1.57 +  _psy_tone_masteratt_11,
    1.58 +  _psy_tone_0dB,
    1.59 +  _psy_tone_suppress,
    1.60 +
    1.61 +  _vp_tonemask_adj_11,
    1.62 +  NULL,
    1.63 +  _vp_tonemask_adj_11,
    1.64 +
    1.65 +  _psy_noiseguards_8,
    1.66 +  _psy_noisebias_11,
    1.67 +  _psy_noisebias_11,
    1.68 +  NULL,
    1.69 +  NULL,
    1.70 +  _psy_noise_suppress,
    1.71 +
    1.72 +  _psy_compand_8,
    1.73 +  _psy_compand_8_mapping,
    1.74 +  NULL,
    1.75 +
    1.76 +  {_noise_start_8,_noise_start_8},
    1.77 +  {_noise_part_8,_noise_part_8},
    1.78 +  _noise_thresh_11,
    1.79 +
    1.80 +  _psy_ath_floater_8,
    1.81 +  _psy_ath_abs_8,
    1.82 +
    1.83 +  _psy_lowpass_11,
    1.84 +
    1.85 +  _psy_global_44,
    1.86 +  _global_mapping_8,
    1.87 +  _psy_stereo_modes_8,
    1.88 +
    1.89 +  _floor_books,
    1.90 +  _floor,
    1.91 +  1,
    1.92 +  _floor_mapping_11,
    1.93 +
    1.94 +  _mapres_template_8_stereo
    1.95 +};
    1.96 +
    1.97 +static const ve_setup_data_template ve_setup_11_uncoupled={
    1.98 +  2,
    1.99 +  rate_mapping_11_uncoupled,
   1.100 +  quality_mapping_11,
   1.101 +  -1,
   1.102 +  9000,
   1.103 +  15000,
   1.104 +
   1.105 +  blocksize_11,
   1.106 +  blocksize_11,
   1.107 +
   1.108 +  _psy_tone_masteratt_11,
   1.109 +  _psy_tone_0dB,
   1.110 +  _psy_tone_suppress,
   1.111 +
   1.112 +  _vp_tonemask_adj_11,
   1.113 +  NULL,
   1.114 +  _vp_tonemask_adj_11,
   1.115 +
   1.116 +  _psy_noiseguards_8,
   1.117 +  _psy_noisebias_11,
   1.118 +  _psy_noisebias_11,
   1.119 +  NULL,
   1.120 +  NULL,
   1.121 +  _psy_noise_suppress,
   1.122 +
   1.123 +  _psy_compand_8,
   1.124 +  _psy_compand_8_mapping,
   1.125 +  NULL,
   1.126 +
   1.127 +  {_noise_start_8,_noise_start_8},
   1.128 +  {_noise_part_8,_noise_part_8},
   1.129 +  _noise_thresh_11,
   1.130 +
   1.131 +  _psy_ath_floater_8,
   1.132 +  _psy_ath_abs_8,
   1.133 +
   1.134 +  _psy_lowpass_11,
   1.135 +
   1.136 +  _psy_global_44,
   1.137 +  _global_mapping_8,
   1.138 +  _psy_stereo_modes_8,
   1.139 +
   1.140 +  _floor_books,
   1.141 +  _floor,
   1.142 +  1,
   1.143 +  _floor_mapping_11,
   1.144 +
   1.145 +  _mapres_template_8_uncoupled
   1.146 +};