res0_128a_160_3.vqh 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
  5. * THE GNU LESSER/LIBRARY PUBLIC LICENSE, WHICH IS INCLUDED WITH *
  6. * THIS SOURCE. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2000 *
  9. * by Monty <monty@xiph.org> and the XIPHOPHORUS Company *
  10. * http://www.xiph.org/ *
  11. * *
  12. ********************************************************************
  13. function: static codebook autogenerated by vq/somethingorother
  14. ********************************************************************/
  15. #ifndef _V_res0_128a_160_3_VQH_
  16. #define _V_res0_128a_160_3_VQH_
  17. #include "codebook.h"
  18. static long _vq_quantlist_res0_128a_160_3[] = {
  19. 3,
  20. 4,
  21. 5,
  22. 6,
  23. 2,
  24. 1,
  25. 0,
  26. };
  27. static long _vq_lengthlist_res0_128a_160_3[] = {
  28. 4, 5, 7, 7, 5, 7, 7, 5, 7, 9, 9, 7, 9, 9, 7, 9,
  29. 11,11, 9,10,13, 8,10,12,15,10,12, 0, 6, 7, 9, 9,
  30. 7, 9, 9, 8, 9,11,11, 9,11,13, 8,10,12,14,10,11,
  31. 14, 6, 7, 9,10, 7, 9,10, 7, 8,10,11, 8,10,11, 9,
  32. 10,13,12,10,13,13,10,11,14,15,11,13,14, 7, 8,10,
  33. 11, 8,10,11, 9,10,12,12,10,13, 0,10,11,12,15,11,
  34. 13,15, 8, 9,11,13, 9,12,13, 9,10,13,14,10,14,13,
  35. 11,12,15, 0,12,15,14,13,13,15,15,13,15, 0, 9,10,
  36. 13,14,11,12,14,11,12,13,15,14,14, 0,13,14,14, 0,
  37. 15, 0, 0, 9,10,13,15,10,14,15,10,11,13, 0,12,14,
  38. 0,13,15, 0,15,13, 0, 0,15,15, 0, 0, 0, 0, 0,10,
  39. 11,14,15,11,14,14,12,14,15, 0,13,15, 0,15,15, 0,
  40. 0, 0, 0, 0, 6, 7, 9,10, 7, 9, 9, 7, 8,10,11, 8,
  41. 10,11, 9,11,12,13,10,12,13,10,11,13,14,11,14,14,
  42. 7, 8,10,11, 8,10,11, 9,10,13,13,10,12,13,10,11,
  43. 13,15,11,13,15, 8, 9,12,12, 9,11,13, 9,11,13,14,
  44. 11,12,14,11,12,14, 0,12,14, 0,12,14, 0, 0,14,14,
  45. 15, 9,10,14,15,10,13,14,12,13,15,15,13, 0, 0,12,
  46. 14, 0, 0,14,15,15, 9,10,13,14,10,13, 0,10,12,15,
  47. 0,11,13, 0,12,14, 0, 0,14,15, 0,15,15, 0, 0,14,
  48. 15, 0,10,12,14, 0,11,13, 0,12,13,15, 0,14,15,15,
  49. 0,15, 0, 0,14, 0, 0, 6, 7, 9,10, 7,10,10, 7, 8,
  50. 10,11, 8,11,11, 9,10,12,14,10,13,13,10,11,14,14,
  51. 11,13, 0, 7, 8,10,11, 8,10,11, 9,11,12,13,11,13,
  52. 13,10,11,15, 0,11,13, 0, 7, 8,10,12, 8,10,11, 8,
  53. 9,11,13, 9,12,13,10,12,14,13,12,12,15,12,12,15,
  54. 0,12,15,15, 8, 9,12,13, 9,12,12,11,12,14,14,11,
  55. 13,13,11,12, 0,14,12, 0,14, 9,11,12,14,10,13,13,
  56. 10,11,13,15,12,14, 0,13,13,15,15,13,14, 0,14,14,
  57. 14, 0, 0, 0, 0,10,11,13,15,12,13,15,13,14,15, 0,
  58. 0,15, 0,13, 0, 0, 0,15, 0, 0,10,11,14, 0,11,13,
  59. 15,11,12, 0, 0,12,15, 0,13,14, 0, 0,13, 0, 0, 0,
  60. 0, 0, 0,14, 0, 0,12,13,14, 0,13, 0, 0,15,14, 0,
  61. 0, 0,15, 0,14, 0, 0, 0, 0, 0, 0, 7, 8,11,11, 8,
  62. 11,11, 8,10,11,12,10,11,12,10,11,14,14,11,14,14,
  63. 11,13, 0, 0,12,14,15, 8, 9,12,13, 9,12,13,10,11,
  64. 13,15,12,13,15,11,12,14,14,12,13, 0,10,10,12,14,
  65. 10,15,14,10,11,13,14,11,14,14,12,13, 0, 0,13,15,
  66. 15,14,14, 0, 0,14, 0, 0,11,11,14,15,12,14,14,13,
  67. 13,15, 0,14, 0, 0,13,15, 0, 0,15,15, 0,10,12,15,
  68. 14,11,14,15,12,12, 0, 0,14,14, 0,13, 0, 0, 0,14,
  69. 0, 0,14, 0, 0, 0, 0, 0, 0,12,13,14, 0,13,15, 0,
  70. 13,14, 0, 0,15, 0, 0, 0, 0, 0, 0,15, 0, 0, 8,10,
  71. 13,13,10,11,14,10,11,14,14,11,13,13,12,12,14,14,
  72. 12,14, 0,13,15,14, 0,14,15, 0,10,10,12,13,11,13,
  73. 14,12,13,14,15,13,15, 0,14,15, 0, 0,14, 0, 0, 9,
  74. 11,13,14,11,12,13,11,12,13,15,12,15, 0,14,14, 0,
  75. 0, 0, 0, 0,12,14, 0, 0,15, 0, 0,11,12,14,14,11,
  76. 14,14,12,13,15, 0,13,14, 0,14,14, 0, 0,15, 0, 0,
  77. 12,12,13,15,12, 0,14,12,14, 0, 0,13,15, 0,14,15,
  78. 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,12,14,15, 0,
  79. 15,15, 0,15,14, 0, 0, 0,15, 0, 0,15,15, 0, 0, 0,
  80. 0,13,12, 0, 0,13,15, 0,14,14,15, 0,15, 0,15, 0,
  81. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,15, 0,15,
  82. 0, 0, 0, 0,14, 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0,
  83. 0, 0,10,11,13,15,11,12,15,11,12,13,14,12,13,14,
  84. 14, 0,15, 0,13, 0, 0,14, 0, 0, 0,15,14, 0,10,11,
  85. 12,14,11,14,14,14,14, 0, 0,14, 0, 0,13,15,15, 0,
  86. 0, 0, 0,12,13,14,15,12,15, 0,12,14,15, 0,14, 0,
  87. 0,14, 0, 0, 0,15, 0, 0, 0, 0, 0, 0,15, 0, 0,13,
  88. 15, 0,15,14, 0,15,13,15, 0, 0,15, 0, 0, 0, 0, 0,
  89. 0, 0, 0, 0,13, 0, 0, 0,14, 0, 0,14, 0, 0, 0,14,
  90. 0, 0,14, 0, 0,15,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  91. 14,14, 0, 0, 0, 0, 0,15, 0,15, 0, 0, 0, 0, 0, 0,
  92. 0, 0, 0, 0, 0, 9,10,13, 0,11,13, 0,10,12,14,14,
  93. 12,14, 0,12, 0,14, 0,14, 0, 0,14, 0, 0, 0,15, 0,
  94. 0,10,11,15,15,12,14,15,13,13, 0, 0, 0, 0, 0, 0,
  95. 15, 0, 0, 0, 0, 0,10,12,14, 0,11,14,15,11,13, 0,
  96. 15,13,14,15,13, 0, 0, 0, 0, 0,15, 0, 0, 0, 0, 0,
  97. 0, 0,12,12,15, 0,12,15, 0,13,15, 0,14,15, 0, 0,
  98. 15, 0, 0, 0, 0, 0, 0,13,13, 0, 0,13,15, 0,13,15,
  99. 0, 0, 0, 0, 0, 0, 0, 0, 0,14, 0, 0, 0, 0, 0, 0,
  100. 0, 0, 0,14,15,15, 0,15, 0, 0, 0,15, 0, 0, 0, 0,
  101. 0, 0, 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,15,
  102. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  103. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  104. 0, 0, 0, 0, 0, 0, 0, 0, 0,10,11,14, 0,12, 0, 0,
  105. 12,13,14,15,13, 0, 0,13, 0, 0, 0, 0,15, 0,15, 0,
  106. 0, 0, 0, 0, 0,12,13,14, 0,13, 0, 0,13,14, 0, 0,
  107. 0, 0, 0, 0, 0, 0, 0,15, 0, 0,13,14,15, 0,15, 0,
  108. 0,14,14,15, 0, 0, 0, 0, 0, 0,15, 0, 0, 0, 0, 0,
  109. 0, 0, 0, 0, 0, 0,15,14, 0, 0, 0, 0, 0, 0, 0, 0,
  110. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,15, 0, 0, 0,
  111. 0, 0,14, 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  112. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  113. 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7,10,10,
  114. 7, 9,10, 7, 8,11,11, 8,10,12, 9,10,12,13,10,12,
  115. 15,10,12,13,14,12,15, 0, 7, 8,10,11, 8,11,12, 9,
  116. 10,13,13,10,12,13,10,12,13,15,11,15, 0, 7, 8,11,
  117. 11, 8,11,11, 8, 9,11,12, 9,11,12,10,12,14,15,12,
  118. 13, 0,12,13,14,15,14, 0, 0, 8, 9,11,13, 9,12,13,
  119. 10,12,13,14,11,15,15,12,12,13,14,14,14, 0,10,11,
  120. 12,15,10,12,14,10,13,15,15,11,15,14,13,13,14, 0,
  121. 13,13, 0,13,15, 0, 0, 0, 0, 0,10,11,13,14,11,15,
  122. 14,12,15, 0, 0,14,15, 0,14,15,15, 0,14,15, 0,10,
  123. 12, 0, 0,11,14, 0,11,12, 0, 0,12,14, 0,15, 0,14,
  124. 0,14, 0, 0,15, 0, 0, 0, 0, 0, 0,12,13, 0, 0,13,
  125. 15, 0,13, 0,15, 0,14,15, 0,14,14, 0, 0, 0, 0, 0,
  126. 7, 8,11,11, 8,10,11, 8, 9,12,12,10,11,12,10,12,
  127. 13,13,12,15,14,11,12,15, 0,12,14, 0, 8, 9,12,14,
  128. 9,12,12,11,12,14,14,11,13,15,12,13,14,14,12,14,
  129. 0, 9,10,13,15,10,13,15,11,11,14,14,12,14,15,12,
  130. 14, 0,15,15, 0, 0,12,14, 0, 0,15, 0, 0,11,12,13,
  131. 0,11,14,13,13,13, 0,15,13,14, 0,15, 0, 0, 0,14,
  132. 15, 0,11,12, 0, 0,12,15, 0,12,14, 0,14,13, 0,15,
  133. 13,14, 0, 0,15, 0,15,15, 0, 0, 0, 0, 0, 0,12,14,
  134. 14,15,13,14, 0,14, 0, 0, 0,13, 0, 0, 0, 0, 0, 0,
  135. 0, 0, 0, 8, 9,12,14, 9,11,13, 9,10,13,15,10,13,
  136. 13,12,13,15, 0,13, 0, 0,14,13, 0, 0,15,15,15, 9,
  137. 11,13,14,10,13,13,11,13,14,15,13,15, 0,13,13, 0,
  138. 15,15,15, 0,10,11,12,14,11,13,15,11,12,15,15,12,
  139. 14, 0,12,15,15, 0,15,15, 0,13,14, 0, 0,15,15, 0,
  140. 11,11, 0, 0,12,14, 0,14,13,15, 0,15,15, 0,14,14,
  141. 0, 0, 0, 0, 0,12,13, 0, 0,15,14,14,12,14, 0, 0,
  142. 14,15, 0,14,15, 0, 0,15,14, 0,15,15, 0, 0, 0, 0,
  143. 0,14,13,14, 0,14, 0, 0,14,15, 0, 0, 0, 0, 0,15,
  144. 0, 0, 0,15, 0, 0,12,15, 0, 0,13,15, 0,15, 0, 0,
  145. 0,13, 0, 0,14, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  146. 0, 0,14,15, 0, 0,13,15, 0,15,14, 0, 0, 0, 0, 0,
  147. 0, 0, 0, 0, 0, 0, 0,10,11,13, 0,11,13,15,11,12,
  148. 13, 0,12,14, 0,12,14,15, 0,13, 0,15,13, 0, 0, 0,
  149. 15, 0, 0,11,12,13,14,12,14, 0,13,14,14, 0,13,14,
  150. 0, 0,15, 0,15, 0, 0, 0,12,13,14, 0,12, 0, 0,12,
  151. 0,15, 0,14,15, 0,14,15, 0, 0,15, 0, 0, 0, 0, 0,
  152. 0,15, 0, 0,13,14,15, 0,13,15,15,14,14, 0, 0,15,
  153. 0, 0, 0, 0, 0, 0, 0, 0, 0,13, 0, 0, 0,14, 0, 0,
  154. 14, 0, 0, 0,14, 0, 0, 0, 0, 0, 0, 0,15, 0, 0, 0,
  155. 0, 0, 0, 0, 0,13,15, 0, 0,14, 0, 0,14, 0, 0, 0,
  156. 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9,11,14, 0,10,13,
  157. 0,10,12,14, 0,11,14, 0,14,15,15,14,14, 0, 0,14,
  158. 0, 0, 0,15, 0, 0,10,11,14,14,12,14,14,13,14,15,
  159. 0,14,15, 0,15, 0, 0, 0,14, 0, 0,10,12,14, 0,12,
  160. 14, 0,12,13,15, 0,13,15, 0,13, 0, 0, 0, 0, 0, 0,
  161. 14, 0, 0, 0, 0, 0, 0,14,12, 0, 0,13,15, 0,14, 0,
  162. 0, 0,14, 0, 0, 0, 0, 0, 0, 0, 0, 0,12,14, 0, 0,
  163. 14,15, 0,13,14, 0, 0,15, 0, 0,15,15, 0, 0,15, 0,
  164. 0, 0, 0, 0, 0, 0, 0, 0,14,14, 0, 0, 0, 0, 0, 0,
  165. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,15, 0,
  166. 0,14, 0, 0, 0,15, 0, 0,14, 0, 0, 0, 0, 0, 0, 0,
  167. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  168. 15, 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,11,12,
  169. 15, 0,12,14,15,12,13,15, 0,12, 0, 0,14,15, 0, 0,
  170. 14, 0, 0,15, 0, 0, 0, 0, 0, 0,12,13,15, 0,13,15,
  171. 15,14, 0, 0, 0, 0,15, 0,14, 0, 0, 0,15, 0, 0,14,
  172. 13,15, 0,13, 0, 0,15,14, 0, 0,15, 0, 0, 0, 0, 0,
  173. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,13,14, 0, 0,14,
  174. 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0,15, 0, 0, 0,
  175. 15,15, 0, 0,15, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0,
  176. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  177. 0, 0, 0,15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  178. 0,
  179. };
  180. static float _vq_quantthresh_res0_128a_160_3[] = {
  181. -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
  182. };
  183. static long _vq_quantmap_res0_128a_160_3[] = {
  184. 6, 5, 4, 0, 1, 2, 3,
  185. };
  186. static encode_aux_threshmatch _vq_auxt_res0_128a_160_3 = {
  187. _vq_quantthresh_res0_128a_160_3,
  188. _vq_quantmap_res0_128a_160_3,
  189. 7,
  190. 7
  191. };
  192. static static_codebook _vq_book_res0_128a_160_3 = {
  193. 4, 2401,
  194. _vq_lengthlist_res0_128a_160_3,
  195. 1, -533200896, 1611661312, 3, 0,
  196. _vq_quantlist_res0_128a_160_3,
  197. NULL,
  198. &_vq_auxt_res0_128a_160_3,
  199. NULL,
  200. };
  201. #endif