setup_44u.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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-2002 *
  9. * by the XIPHOPHORUS Company http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function: toplevel settings for 44.1/48kHz uncoupled modes
  13. last mod: $Id: setup_44u.h,v 1.3 2002/07/11 06:41:05 xiphmont Exp $
  14. ********************************************************************/
  15. #include "modes/residue_44u.h"
  16. static double rate_mapping_44_un[11]={
  17. 48000.,60000.,70000.,80000.,86000.,
  18. 96000.,110000.,120000.,140000.,160000.,240001.
  19. };
  20. static double rate_mapping_44_un_low[2]={
  21. 32000.,48000.
  22. };
  23. ve_setup_data_template ve_setup_44_uncoupled={
  24. 10,
  25. rate_mapping_44_un,
  26. quality_mapping_44,
  27. -1,
  28. 40000,
  29. 50000,
  30. blocksize_short_44,
  31. blocksize_long_44,
  32. _psy_tone_masteratt_44,
  33. _psy_tone_0dB,
  34. _psy_tone_suppress,
  35. _vp_tonemask_adj_otherblock,
  36. _vp_tonemask_adj_longblock,
  37. _vp_tonemask_adj_otherblock,
  38. _psy_noiseguards_44,
  39. _psy_noisebias_impulse,
  40. _psy_noisebias_padding,
  41. _psy_noisebias_trans,
  42. _psy_noisebias_long,
  43. _psy_noise_suppress,
  44. _psy_compand_44,
  45. _psy_compand_short_mapping,
  46. _psy_compand_long_mapping,
  47. {_noise_start_short_44,_noise_start_long_44},
  48. {_noise_part_short_44,_noise_part_long_44},
  49. _noise_thresh_44_2,
  50. _psy_ath_floater,
  51. _psy_ath_abs,
  52. _psy_lowpass_44,
  53. _psy_global_44,
  54. _global_mapping_44,
  55. NULL,
  56. _floor_books,
  57. _floor,
  58. _floor_short_mapping_44,
  59. _floor_long_mapping_44,
  60. _mapres_template_44_uncoupled
  61. };
  62. ve_setup_data_template ve_setup_44_uncoupled_low={
  63. 1,
  64. rate_mapping_44_un_low,
  65. quality_mapping_44_stereo_low,
  66. -1,
  67. 40000,
  68. 50000,
  69. blocksize_short_44_low,
  70. blocksize_long_44_low,
  71. _psy_tone_masteratt_44_low,
  72. _psy_tone_0dB,
  73. _psy_tone_suppress,
  74. _vp_tonemask_adj_otherblock,
  75. _vp_tonemask_adj_longblock,
  76. _vp_tonemask_adj_otherblock,
  77. _psy_noiseguards_44,
  78. _psy_noisebias_trans_low,
  79. _psy_noisebias_trans_low,
  80. _psy_noisebias_trans_low,
  81. _psy_noisebias_long_low,
  82. _psy_noise_suppress,
  83. _psy_compand_44,
  84. _psy_compand_short_mapping,
  85. _psy_compand_long_mapping,
  86. {_noise_start_short_44_low,_noise_start_long_44_low},
  87. {_noise_part_short_44,_noise_part_long_44},
  88. _noise_thresh_44_2,
  89. _psy_ath_floater,
  90. _psy_ath_abs,
  91. _psy_lowpass_44_low,
  92. _psy_global_44,
  93. _global_mapping_44_low,
  94. NULL,
  95. _floor_books,
  96. _floor,
  97. _floor_short_mapping_44_low,
  98. _floor_long_mapping_44_low,
  99. _mapres_template_44_uncoupled
  100. };