setup_X.h 4.2 KB

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