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: 22kHz settings
  14.  
  15.  ********************************************************************/
  16.  
  17. static const double rate_mapping_22[4]={
  18.   15000.,20000.,44000.,86000.
  19. };
  20.  
  21. static const double rate_mapping_22_uncoupled[4]={
  22.   16000.,28000.,50000.,90000.
  23. };
  24.  
  25. static const double _psy_lowpass_22[4]={9.5,11.,30.,99.};
  26.  
  27. static const ve_setup_data_template ve_setup_22_stereo={
  28.   3,
  29.   rate_mapping_22,
  30.   quality_mapping_16,
  31.   2,
  32.   19000,
  33.   26000,
  34.  
  35.   blocksize_16_short,
  36.   blocksize_16_long,
  37.  
  38.   _psy_tone_masteratt_16,
  39.   _psy_tone_0dB,
  40.   _psy_tone_suppress,
  41.  
  42.   _vp_tonemask_adj_16,
  43.   _vp_tonemask_adj_16,
  44.   _vp_tonemask_adj_16,
  45.  
  46.   _psy_noiseguards_16,
  47.   _psy_noisebias_16_impulse,
  48.   _psy_noisebias_16_short,
  49.   _psy_noisebias_16_short,
  50.   _psy_noisebias_16,
  51.   _psy_noise_suppress,
  52.  
  53.   _psy_compand_8,
  54.   _psy_compand_16_mapping,
  55.   _psy_compand_16_mapping,
  56.  
  57.   {_noise_start_16,_noise_start_16},
  58.   { _noise_part_16, _noise_part_16},
  59.   _noise_thresh_16,
  60.  
  61.   _psy_ath_floater_16,
  62.   _psy_ath_abs_16,
  63.  
  64.   _psy_lowpass_22,
  65.  
  66.   _psy_global_44,
  67.   _global_mapping_16,
  68.   _psy_stereo_modes_16,
  69.  
  70.   _floor_books,
  71.   _floor,
  72.   2,
  73.   _floor_mapping_16,
  74.  
  75.   _mapres_template_16_stereo
  76. };
  77.  
  78. static const ve_setup_data_template ve_setup_22_uncoupled={
  79.   3,
  80.   rate_mapping_22_uncoupled,
  81.   quality_mapping_16,
  82.   -1,
  83.   19000,
  84.   26000,
  85.  
  86.   blocksize_16_short,
  87.   blocksize_16_long,
  88.  
  89.   _psy_tone_masteratt_16,
  90.   _psy_tone_0dB,
  91.   _psy_tone_suppress,
  92.  
  93.   _vp_tonemask_adj_16,
  94.   _vp_tonemask_adj_16,
  95.   _vp_tonemask_adj_16,
  96.  
  97.   _psy_noiseguards_16,
  98.   _psy_noisebias_16_impulse,
  99.   _psy_noisebias_16_short,
  100.   _psy_noisebias_16_short,
  101.   _psy_noisebias_16,
  102.   _psy_noise_suppress,
  103.  
  104.   _psy_compand_8,
  105.   _psy_compand_16_mapping,
  106.   _psy_compand_16_mapping,
  107.  
  108.   {_noise_start_16,_noise_start_16},
  109.   { _noise_part_16, _noise_part_16},
  110.   _noise_thresh_16,
  111.  
  112.   _psy_ath_floater_16,
  113.   _psy_ath_abs_16,
  114.  
  115.   _psy_lowpass_22,
  116.  
  117.   _psy_global_44,
  118.   _global_mapping_16,
  119.   _psy_stereo_modes_16,
  120.  
  121.   _floor_books,
  122.   _floor,
  123.   2,
  124.   _floor_mapping_16,
  125.  
  126.   _mapres_template_16_uncoupled
  127. };
  128.