Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  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 https://xiph.org/                     *
  10.  *                                                                  *
  11.  ********************************************************************
  12.  
  13.  function: toplevel settings for 32kHz
  14.  
  15.  ********************************************************************/
  16.  
  17. static const double rate_mapping_32[12]={
  18.   18000.,28000.,35000.,45000.,56000.,60000.,
  19.   75000.,90000.,100000.,115000.,150000.,190000.,
  20. };
  21.  
  22. static const double rate_mapping_32_un[12]={
  23.   30000.,42000.,52000.,64000.,72000.,78000.,
  24.   86000.,92000.,110000.,120000.,140000.,190000.,
  25. };
  26.  
  27. static const double _psy_lowpass_32[12]={
  28.   12.3,13.,13.,14.,15.,99.,99.,99.,99.,99.,99.,99.
  29. };
  30.  
  31. static const ve_setup_data_template ve_setup_32_stereo={
  32.   11,
  33.   rate_mapping_32,
  34.   quality_mapping_44,
  35.   2,
  36.   26000,
  37.   40000,
  38.  
  39.   blocksize_short_44,
  40.   blocksize_long_44,
  41.  
  42.   _psy_tone_masteratt_44,
  43.   _psy_tone_0dB,
  44.   _psy_tone_suppress,
  45.  
  46.   _vp_tonemask_adj_otherblock,
  47.   _vp_tonemask_adj_longblock,
  48.   _vp_tonemask_adj_otherblock,
  49.  
  50.   _psy_noiseguards_44,
  51.   _psy_noisebias_impulse,
  52.   _psy_noisebias_padding,
  53.   _psy_noisebias_trans,
  54.   _psy_noisebias_long,
  55.   _psy_noise_suppress,
  56.  
  57.   _psy_compand_44,
  58.   _psy_compand_short_mapping,
  59.   _psy_compand_long_mapping,
  60.  
  61.   {_noise_start_short_44,_noise_start_long_44},
  62.   {_noise_part_short_44,_noise_part_long_44},
  63.   _noise_thresh_44,
  64.  
  65.   _psy_ath_floater,
  66.   _psy_ath_abs,
  67.  
  68.   _psy_lowpass_32,
  69.  
  70.   _psy_global_44,
  71.   _global_mapping_44,
  72.   _psy_stereo_modes_44,
  73.  
  74.   _floor_books,
  75.   _floor,
  76.   2,
  77.   _floor_mapping_44,
  78.  
  79.   _mapres_template_44_stereo
  80. };
  81.  
  82. static const ve_setup_data_template ve_setup_32_uncoupled={
  83.   11,
  84.   rate_mapping_32_un,
  85.   quality_mapping_44,
  86.   -1,
  87.   26000,
  88.   40000,
  89.  
  90.   blocksize_short_44,
  91.   blocksize_long_44,
  92.  
  93.   _psy_tone_masteratt_44,
  94.   _psy_tone_0dB,
  95.   _psy_tone_suppress,
  96.  
  97.   _vp_tonemask_adj_otherblock,
  98.   _vp_tonemask_adj_longblock,
  99.   _vp_tonemask_adj_otherblock,
  100.  
  101.   _psy_noiseguards_44,
  102.   _psy_noisebias_impulse,
  103.   _psy_noisebias_padding,
  104.   _psy_noisebias_trans,
  105.   _psy_noisebias_long,
  106.   _psy_noise_suppress,
  107.  
  108.   _psy_compand_44,
  109.   _psy_compand_short_mapping,
  110.   _psy_compand_long_mapping,
  111.  
  112.   {_noise_start_short_44,_noise_start_long_44},
  113.   {_noise_part_short_44,_noise_part_long_44},
  114.   _noise_thresh_44,
  115.  
  116.   _psy_ath_floater,
  117.   _psy_ath_abs,
  118.  
  119.   _psy_lowpass_32,
  120.  
  121.   _psy_global_44,
  122.   _global_mapping_44,
  123.   NULL,
  124.  
  125.   _floor_books,
  126.   _floor,
  127.   2,
  128.   _floor_mapping_44,
  129.  
  130.   _mapres_template_44_uncoupled
  131. };
  132.