res0_128_1024_8.vqh 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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_res0_128_1024_8_VQH_
  15. #define _V_res0_128_1024_8_VQH_
  16. #include "codebook.h"
  17. static long _vq_quantlist_res0_128_1024_8[] = {
  18. 4,
  19. 3,
  20. 5,
  21. 2,
  22. 6,
  23. 1,
  24. 7,
  25. 0,
  26. 8,
  27. };
  28. static long _vq_lengthlist_res0_128_1024_8[] = {
  29. 1, 4, 4, 7, 7, 9,10,11,11, 5, 4, 4, 7, 7,10,10,
  30. 11,11, 6, 5, 5, 7, 6, 9, 9,10,10, 0, 8, 7, 7, 7,
  31. 9, 9,12,11, 0, 8, 8, 8, 8, 9, 9,10,10, 0,13,14,
  32. 9, 9, 9, 9,10,10, 0,14,13,10,11,11,11,10,10, 0,
  33. 0, 0,12,12,10,11,10,10, 0, 0, 0,12,13,12,12,12,
  34. 12,
  35. };
  36. static float _vq_quantthresh_res0_128_1024_8[] = {
  37. -17.5, -12.5, -7.5, -2.5, 2.5, 7.5, 12.5, 17.5,
  38. };
  39. static long _vq_quantmap_res0_128_1024_8[] = {
  40. 7, 5, 3, 1, 0, 2, 4, 6,
  41. 8,
  42. };
  43. static encode_aux_threshmatch _vq_auxt_res0_128_1024_8 = {
  44. _vq_quantthresh_res0_128_1024_8,
  45. _vq_quantmap_res0_128_1024_8,
  46. 9,
  47. 9
  48. };
  49. static long _vq_pigeonmap_res0_128_1024_8[] = {
  50. 2, 1, 1, 0, 0, 0, 1, 2,
  51. };
  52. static long _vq_fitlist_res0_128_1024_8[] = {
  53. 0, 1, 2, 3, 9, 10, 11, 12,
  54. 18, 19, 28, 4, 13, 20, 29, 6,
  55. 15, 22, 31, 21, 37, 38, 24, 40,
  56. 39, 55, 56, 42, 58, 1, 3, 5,
  57. 7, 10, 12, 14, 16, 21, 23, 30,
  58. 32, 0, 9, 19, 28, 2, 4, 6,
  59. 8, 11, 13, 15, 17, 22, 24, 31,
  60. 33, 25, 39, 41, 18, 37, 20, 26,
  61. 40, 42, 43, 57, 59, 55, 38, 44,
  62. 58, 60, 3, 5, 7, 12, 14, 16,
  63. 23, 25, 32, 34, 4, 6, 8, 13,
  64. 15, 17, 24, 26, 33, 35, 21, 41,
  65. 43, 22, 42, 44, 39, 59, 61, 40,
  66. 60, 62, 9, 10, 28, 29, 30, 46,
  67. 47, 48, 11, 31, 49, 13, 33, 51,
  68. 67, 0, 1, 12, 2, 4, 15, 18,
  69. 19, 37, 38, 39, 55, 56, 57, 20,
  70. 40, 58, 22, 42, 60, 76, 12, 14,
  71. 28, 30, 32, 34, 46, 48, 50, 52,
  72. 66, 68, 10, 13, 15, 29, 31, 33,
  73. 35, 47, 49, 51, 53, 67, 69, 3,
  74. 5, 16, 1, 9, 4, 6, 11, 17,
  75. 21, 23, 37, 39, 41, 43, 55, 57,
  76. 59, 61, 75, 77, 19, 22, 24, 38,
  77. 40, 42, 44, 56, 58, 60, 62, 76,
  78. 78, 14, 16, 30, 32, 34, 48, 50,
  79. 52, 68, 70, 15, 17, 31, 33, 35,
  80. 49, 51, 53, 69, 71, 5, 7, 12,
  81. 6, 8, 13, 23, 25, 39, 41, 43,
  82. 57, 59, 61, 77, 79, 24, 26, 40,
  83. 42, 44, 58, 60, 62, 78, 80, 30,
  84. 32, 46, 48, 50, 52, 66, 68, 70,
  85. 28, 31, 33, 47, 49, 51, 53, 67,
  86. 69, 71, 39, 41, 55, 57, 59, 61,
  87. 75, 77, 79, 37, 40, 42, 56, 58,
  88. 60, 62, 76, 78, 80, 32, 34, 48,
  89. 50, 52, 66, 68, 70, 33, 35, 49,
  90. 51, 53, 67, 69, 71, 41, 43, 57,
  91. 59, 61, 75, 77, 79, 42, 44, 58,
  92. 60, 62, 76, 78, 80,
  93. };
  94. static long _vq_fitmap_res0_128_1024_8[] = {
  95. 0, 29, 74, 106, 142, 201, 142, 247,
  96. 285,
  97. };
  98. static long _vq_fitlength_res0_128_1024_8[] = {
  99. 29, 45, 32, 36, 59, 46, 59, 38,
  100. 32,
  101. };
  102. static encode_aux_pigeonhole _vq_auxp_res0_128_1024_8 = {
  103. -20, 5, 8, 3,
  104. _vq_pigeonmap_res0_128_1024_8,
  105. 317,
  106. _vq_fitlist_res0_128_1024_8,
  107. _vq_fitmap_res0_128_1024_8,
  108. _vq_fitlength_res0_128_1024_8
  109. };
  110. static static_codebook _vq_book_res0_128_1024_8 = {
  111. 2, 81,
  112. _vq_lengthlist_res0_128_1024_8,
  113. 1, -527171584, 1616117760, 4, 0,
  114. _vq_quantlist_res0_128_1024_8,
  115. NULL,
  116. &_vq_auxt_res0_128_1024_8,
  117. &_vq_auxp_res0_128_1024_8,
  118. 0
  119. };
  120. #endif