setup_32.h 3.0 KB

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