res_Zc_3.vqh 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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-2001 *
  9. * by the XIPHOPHORUS Company, http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function: static codebook autogenerated by vq/somethingorother
  13. ********************************************************************/
  14. #ifndef _V_res_Zc_3_VQH_
  15. #define _V_res_Zc_3_VQH_
  16. #include "codebook.h"
  17. static long _vq_quantlist_res_Zc_3[] = {
  18. 7,
  19. 6,
  20. 8,
  21. 5,
  22. 9,
  23. 4,
  24. 10,
  25. 3,
  26. 11,
  27. 2,
  28. 12,
  29. 1,
  30. 13,
  31. 0,
  32. 14,
  33. };
  34. static long _vq_lengthlist_res_Zc_3[] = {
  35. 1, 5, 5, 7, 7, 8, 8, 9, 9,11,10,12,11,12,13, 0,
  36. 4, 4, 7, 7, 8, 8, 9, 9,11,11,11,11,12,12, 0, 4,
  37. 4, 7, 7, 8, 8, 9,10,11,11,12,12,12,13, 0, 7, 7,
  38. 8, 8, 8, 8,10,10,11,11,12,12,13,13, 0, 0, 0, 8,
  39. 8, 9, 9,10,10,11,11,12,12,13,13, 0, 0, 0, 8, 8,
  40. 9, 9,10,10,12,11,12,12,13,13, 0, 0, 0, 8, 8, 9,
  41. 9,11,10,12,11,13,13,13,14, 0, 0, 0, 9, 9,10,10,
  42. 11,11,12,12,12,13,13,14, 0, 0, 0, 0, 0,10,10,12,
  43. 11,12,12,13,13,14,14, 0, 0, 0, 0, 0,11,11,11,11,
  44. 12,12,13,13,14,14, 0, 0, 0, 0, 0,11,11,12,12,14,
  45. 13,15,13,15,15, 0, 0, 0, 0, 0,12,12,12,12,12,13,
  46. 13,13,15,14, 0, 0, 0, 0, 0, 0, 0,12,12,14,13,14,
  47. 15,15,16, 0, 0, 0, 0, 0, 0, 0,13,12,13,13,14,14,
  48. 15,15, 0, 0, 0, 0, 0, 0, 0,13,13,15,14,14,15,16,
  49. 15,
  50. };
  51. static float _vq_quantthresh_res_Zc_3[] = {
  52. -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5,
  53. 1.5, 2.5, 3.5, 4.5, 5.5, 6.5,
  54. };
  55. static long _vq_quantmap_res_Zc_3[] = {
  56. 13, 11, 9, 7, 5, 3, 1, 0,
  57. 2, 4, 6, 8, 10, 12, 14,
  58. };
  59. static encode_aux_threshmatch _vq_auxt_res_Zc_3 = {
  60. _vq_quantthresh_res_Zc_3,
  61. _vq_quantmap_res_Zc_3,
  62. 15,
  63. 15
  64. };
  65. static long _vq_pigeonmap_res_Zc_3[] = {
  66. 4, 3, 3, 2, 1, 1, 0, 0,
  67. 0, 1, 2, 2, 3, 4,
  68. };
  69. static long _vq_fitlist_res_Zc_3[] = {
  70. 0, 1, 2, 3, 16, 17, 18, 31,
  71. 46, 4, 19, 32, 47, 6, 21, 34,
  72. 49, 33, 36, 64, 63, 66, 94, 1,
  73. 3, 5, 7, 16, 18, 20, 22, 33,
  74. 35, 48, 50, 0, 31, 46, 2, 4,
  75. 6, 8, 17, 19, 21, 23, 34, 36,
  76. 49, 51, 37, 63, 65, 32, 38, 64,
  77. 66, 67, 93, 95, 68, 94, 96, 3,
  78. 5, 7, 9, 18, 20, 22, 24, 35,
  79. 37, 50, 52, 4, 6, 8, 10, 19,
  80. 21, 23, 25, 36, 38, 51, 53, 12,
  81. 27, 40, 55, 33, 39, 65, 67, 34,
  82. 66, 68, 42, 70, 63, 69, 95, 97,
  83. 64, 96, 98, 72, 100, 7, 9, 11,
  84. 13, 22, 24, 26, 28, 39, 41, 54,
  85. 56, 5, 20, 37, 52, 8, 10, 12,
  86. 14, 23, 25, 27, 29, 40, 42, 55,
  87. 57, 43, 69, 71, 35, 67, 38, 44,
  88. 70, 72, 73, 99, 101, 65, 97, 68,
  89. 74, 100, 102, 9, 11, 13, 24, 26,
  90. 28, 41, 43, 56, 58, 10, 12, 14,
  91. 25, 27, 29, 42, 44, 57, 59, 39,
  92. 71, 73, 40, 72, 74, 69, 101, 103,
  93. 70, 102, 104, 16, 46, 47, 48, 78,
  94. 17, 49, 79, 19, 51, 81, 109, 0,
  95. 1, 18, 2, 4, 21, 31, 32, 33,
  96. 63, 64, 65, 93, 94, 95, 34, 66,
  97. 96, 18, 20, 46, 48, 50, 52, 78,
  98. 80, 82, 108, 110, 16, 19, 21, 47,
  99. 49, 51, 53, 79, 81, 83, 109, 111,
  100. 3, 5, 22, 1, 4, 6, 17, 23,
  101. 33, 35, 63, 65, 67, 93, 95, 97,
  102. 125, 31, 34, 36, 64, 66, 68, 94,
  103. 96, 98, 126, 20, 22, 48, 50, 52,
  104. 54, 78, 80, 82, 84, 110, 112, 21,
  105. 23, 49, 51, 53, 55, 79, 81, 83,
  106. 85, 111, 113, 25, 57, 87, 115, 5,
  107. 7, 18, 24, 6, 8, 19, 10, 27,
  108. 35, 37, 63, 65, 67, 69, 93, 95,
  109. 97, 99, 125, 127, 36, 38, 64, 66,
  110. 68, 70, 94, 96, 98, 100, 126, 128,
  111. 40, 72, 102, 130, 24, 26, 52, 54,
  112. 56, 58, 82, 84, 86, 88, 114, 116,
  113. 22, 50, 80, 112, 25, 27, 53, 55,
  114. 57, 59, 83, 85, 87, 89, 115, 117,
  115. 9, 11, 28, 7, 20, 10, 12, 23,
  116. 29, 39, 41, 67, 69, 71, 73, 97,
  117. 99, 101, 103, 129, 131, 37, 65, 95,
  118. 127, 40, 42, 68, 70, 72, 74, 98,
  119. 100, 102, 104, 130, 132, 26, 28, 54,
  120. 56, 58, 84, 86, 88, 116, 118, 27,
  121. 29, 55, 57, 59, 85, 87, 89, 117,
  122. 119, 11, 13, 24, 12, 14, 25, 41,
  123. 43, 69, 71, 73, 99, 101, 103, 131,
  124. 133, 42, 44, 70, 72, 74, 100, 102,
  125. 104, 132, 134, 16, 46, 47, 48, 78,
  126. 79, 80, 108, 109, 110, 17, 49, 81,
  127. 111, 31, 63, 93, 94, 95, 125, 32,
  128. 64, 96, 126, 155, 156, 128, 158, 48,
  129. 50, 78, 80, 82, 108, 110, 112, 140,
  130. 46, 49, 51, 79, 81, 83, 109, 111,
  131. 113, 141, 63, 65, 93, 95, 97, 125,
  132. 127, 155, 64, 66, 94, 96, 98, 126,
  133. 128, 156, 157, 158, 50, 52, 78, 80,
  134. 82, 84, 108, 110, 112, 114, 140, 142,
  135. 51, 53, 79, 81, 83, 85, 109, 111,
  136. 113, 115, 141, 143, 55, 87, 117, 145,
  137. 65, 67, 93, 95, 97, 99, 125, 127,
  138. 129, 155, 157, 66, 68, 94, 96, 98,
  139. 100, 126, 128, 130, 156, 158, 70, 102,
  140. 132, 160, 159, 187, 188, 162, 190, 54,
  141. 56, 82, 84, 86, 88, 112, 114, 116,
  142. 118, 144, 146, 52, 80, 110, 142, 55,
  143. 57, 83, 85, 87, 89, 113, 115, 117,
  144. 119, 145, 147, 69, 71, 97, 99, 101,
  145. 103, 127, 129, 131, 133, 159, 161, 67,
  146. 95, 125, 157, 70, 72, 98, 100, 102,
  147. 104, 128, 130, 132, 134, 160, 162, 163,
  148. 189, 191, 155, 187, 158, 164, 190, 192,
  149. 56, 58, 84, 86, 88, 114, 116, 118,
  150. 146, 148, 57, 59, 85, 87, 89, 115,
  151. 117, 119, 147, 149, 71, 73, 99, 101,
  152. 103, 129, 131, 133, 161, 163, 72, 74,
  153. 100, 102, 104, 130, 132, 134, 162, 164,
  154. 159, 191, 193, 160, 192, 194, 78, 108,
  155. 109, 110, 140, 170, 79, 111, 141, 171,
  156. 143, 173, 46, 47, 93, 94, 95, 125,
  157. 155, 156, 157, 187, 96, 126, 158, 188,
  158. 108, 110, 140, 142, 170, 172, 78, 109,
  159. 111, 141, 143, 171, 173, 80, 112, 79,
  160. 81, 113, 125, 155, 157, 187, 93, 126,
  161. 156, 158, 188, 110, 112, 140, 142, 144,
  162. 170, 172, 174, 202, 111, 113, 141, 143,
  163. 145, 171, 173, 175, 203, 115, 147, 177,
  164. 205, 80, 82, 108, 114, 81, 83, 109,
  165. 85, 117, 125, 127, 155, 157, 159, 187,
  166. 189, 217, 126, 128, 156, 158, 160, 188,
  167. 190, 218, 130, 162, 192, 220, 114, 116,
  168. 142, 144, 146, 148, 172, 174, 176, 178,
  169. 204, 206, 112, 140, 170, 202, 115, 117,
  170. 143, 145, 147, 149, 173, 175, 177, 179,
  171. 205, 207, 84, 86, 118, 82, 110, 85,
  172. 87, 113, 119, 129, 131, 157, 159, 161,
  173. 163, 187, 189, 191, 193, 219, 221, 127,
  174. 155, 217, 130, 132, 158, 160, 162, 164,
  175. 188, 190, 192, 194, 220, 222, 116, 118,
  176. 144, 146, 148, 174, 176, 178, 206, 208,
  177. 117, 119, 145, 147, 149, 175, 177, 179,
  178. 207, 209, 86, 88, 114, 87, 89, 115,
  179. 131, 133, 159, 161, 163, 189, 191, 193,
  180. 221, 223, 132, 134, 160, 162, 164, 190,
  181. 192, 194, 222, 224, 108, 109, 110, 140,
  182. 170, 171, 172, 202, 111, 141, 173, 203,
  183. 93, 125, 155, 156, 157, 187, 217, 94,
  184. 126, 158, 188, 218, 140, 170, 172, 202,
  185. 108, 141, 171, 173, 203, 125, 155, 157,
  186. 187, 189, 217, 219, 126, 156, 158, 188,
  187. 190, 218, 220, 140, 142, 170, 172, 174,
  188. 202, 204, 141, 143, 171, 173, 175, 203,
  189. 205, 145, 177, 207, 155, 157, 187, 189,
  190. 217, 219, 156, 158, 188, 190, 218, 220,
  191. 160, 192, 222, 144, 146, 172, 174, 176,
  192. 178, 202, 204, 206, 208, 142, 170, 145,
  193. 147, 173, 175, 177, 179, 203, 205, 207,
  194. 209, 159, 161, 187, 189, 191, 193, 217,
  195. 219, 221, 223, 157, 160, 162, 188, 190,
  196. 192, 194, 218, 220, 222, 224, 146, 148,
  197. 174, 176, 178, 204, 206, 208, 147, 149,
  198. 175, 177, 179, 205, 207, 209, 161, 163,
  199. 189, 191, 193, 219, 221, 223, 162, 164,
  200. 190, 192, 194, 220, 222, 224,
  201. };
  202. static long _vq_fitmap_res_Zc_3[] = {
  203. 0, 23, 63, 109, 155, 187, 217, 267,
  204. 332, 397, 443, 471, 508, 567, 632, 678,
  205. 704, 731, 782, 846, 892, 916, 939, 971,
  206. 1014,
  207. };
  208. static long _vq_fitlength_res_Zc_3[] = {
  209. 23, 40, 46, 46, 32, 30, 50, 65,
  210. 65, 46, 28, 37, 59, 65, 46, 26,
  211. 27, 51, 64, 46, 24, 23, 32, 43,
  212. 32,
  213. };
  214. static encode_aux_pigeonhole _vq_auxp_res_Zc_3 = {
  215. -7, 1, 14, 5,
  216. _vq_pigeonmap_res_Zc_3,
  217. 1046,
  218. _vq_fitlist_res_Zc_3,
  219. _vq_fitmap_res_Zc_3,
  220. _vq_fitlength_res_Zc_3
  221. };
  222. static static_codebook _vq_book_res_Zc_3 = {
  223. 2, 225,
  224. _vq_lengthlist_res_Zc_3,
  225. 1, -530841600, 1611661312, 4, 0,
  226. _vq_quantlist_res_Zc_3,
  227. NULL,
  228. &_vq_auxt_res_Zc_3,
  229. &_vq_auxp_res_Zc_3,
  230. 0
  231. };
  232. #endif