setup_X.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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: catch-all toplevel settings for q modes only
  13. last mod: $Id: setup_X.h 16894 2010-02-12 20:32:12Z xiphmont $
  14. ********************************************************************/
  15. static const double rate_mapping_X[12]={
  16. -1.,-1.,-1.,-1.,-1.,-1.,
  17. -1.,-1.,-1.,-1.,-1.,-1.
  18. };
  19. static const ve_setup_data_template ve_setup_X_stereo={
  20. 11,
  21. rate_mapping_X,
  22. quality_mapping_44,
  23. 2,
  24. 50000,
  25. 200000,
  26. blocksize_short_44,
  27. blocksize_long_44,
  28. _psy_tone_masteratt_44,
  29. _psy_tone_0dB,
  30. _psy_tone_suppress,
  31. _vp_tonemask_adj_otherblock,
  32. _vp_tonemask_adj_longblock,
  33. _vp_tonemask_adj_otherblock,
  34. _psy_noiseguards_44,
  35. _psy_noisebias_impulse,
  36. _psy_noisebias_padding,
  37. _psy_noisebias_trans,
  38. _psy_noisebias_long,
  39. _psy_noise_suppress,
  40. _psy_compand_44,
  41. _psy_compand_short_mapping,
  42. _psy_compand_long_mapping,
  43. {_noise_start_short_44,_noise_start_long_44},
  44. {_noise_part_short_44,_noise_part_long_44},
  45. _noise_thresh_44,
  46. _psy_ath_floater,
  47. _psy_ath_abs,
  48. _psy_lowpass_44,
  49. _psy_global_44,
  50. _global_mapping_44,
  51. _psy_stereo_modes_44,
  52. _floor_books,
  53. _floor,
  54. 2,
  55. _floor_mapping_44,
  56. _mapres_template_44_stereo
  57. };
  58. static const ve_setup_data_template ve_setup_X_uncoupled={
  59. 11,
  60. rate_mapping_X,
  61. quality_mapping_44,
  62. -1,
  63. 50000,
  64. 200000,
  65. blocksize_short_44,
  66. blocksize_long_44,
  67. _psy_tone_masteratt_44,
  68. _psy_tone_0dB,
  69. _psy_tone_suppress,
  70. _vp_tonemask_adj_otherblock,
  71. _vp_tonemask_adj_longblock,
  72. _vp_tonemask_adj_otherblock,
  73. _psy_noiseguards_44,
  74. _psy_noisebias_impulse,
  75. _psy_noisebias_padding,
  76. _psy_noisebias_trans,
  77. _psy_noisebias_long,
  78. _psy_noise_suppress,
  79. _psy_compand_44,
  80. _psy_compand_short_mapping,
  81. _psy_compand_long_mapping,
  82. {_noise_start_short_44,_noise_start_long_44},
  83. {_noise_part_short_44,_noise_part_long_44},
  84. _noise_thresh_44,
  85. _psy_ath_floater,
  86. _psy_ath_abs,
  87. _psy_lowpass_44,
  88. _psy_global_44,
  89. _global_mapping_44,
  90. NULL,
  91. _floor_books,
  92. _floor,
  93. 2,
  94. _floor_mapping_44,
  95. _mapres_template_44_uncoupled
  96. };
  97. static const ve_setup_data_template ve_setup_XX_stereo={
  98. 2,
  99. rate_mapping_X,
  100. quality_mapping_8,
  101. 2,
  102. 0,
  103. 8000,
  104. blocksize_8,
  105. blocksize_8,
  106. _psy_tone_masteratt_8,
  107. _psy_tone_0dB,
  108. _psy_tone_suppress,
  109. _vp_tonemask_adj_8,
  110. NULL,
  111. _vp_tonemask_adj_8,
  112. _psy_noiseguards_8,
  113. _psy_noisebias_8,
  114. _psy_noisebias_8,
  115. NULL,
  116. NULL,
  117. _psy_noise_suppress,
  118. _psy_compand_8,
  119. _psy_compand_8_mapping,
  120. NULL,
  121. {_noise_start_8,_noise_start_8},
  122. {_noise_part_8,_noise_part_8},
  123. _noise_thresh_5only,
  124. _psy_ath_floater_8,
  125. _psy_ath_abs_8,
  126. _psy_lowpass_8,
  127. _psy_global_44,
  128. _global_mapping_8,
  129. _psy_stereo_modes_8,
  130. _floor_books,
  131. _floor,
  132. 1,
  133. _floor_mapping_8,
  134. _mapres_template_8_stereo
  135. };
  136. static const ve_setup_data_template ve_setup_XX_uncoupled={
  137. 2,
  138. rate_mapping_X,
  139. quality_mapping_8,
  140. -1,
  141. 0,
  142. 8000,
  143. blocksize_8,
  144. blocksize_8,
  145. _psy_tone_masteratt_8,
  146. _psy_tone_0dB,
  147. _psy_tone_suppress,
  148. _vp_tonemask_adj_8,
  149. NULL,
  150. _vp_tonemask_adj_8,
  151. _psy_noiseguards_8,
  152. _psy_noisebias_8,
  153. _psy_noisebias_8,
  154. NULL,
  155. NULL,
  156. _psy_noise_suppress,
  157. _psy_compand_8,
  158. _psy_compand_8_mapping,
  159. NULL,
  160. {_noise_start_8,_noise_start_8},
  161. {_noise_part_8,_noise_part_8},
  162. _noise_thresh_5only,
  163. _psy_ath_floater_8,
  164. _psy_ath_abs_8,
  165. _psy_lowpass_8,
  166. _psy_global_44,
  167. _global_mapping_8,
  168. _psy_stereo_modes_8,
  169. _floor_books,
  170. _floor,
  171. 1,
  172. _floor_mapping_8,
  173. _mapres_template_8_uncoupled
  174. };