res_Zc_7.vqh 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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_7_VQH_
  15. #define _V_res_Zc_7_VQH_
  16. #include "codebook.h"
  17. static long _vq_quantlist_res_Zc_7[] = {
  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_7[] = {
  35. 1, 3, 3, 5, 4, 4, 4, 7, 6, 8, 0, 0, 8, 0, 0, 0,
  36. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  37. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  38. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  39. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  40. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  41. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  42. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  43. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  44. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  45. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  46. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  47. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  48. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  49. 0,
  50. };
  51. static float _vq_quantthresh_res_Zc_7[] = {
  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_7[] = {
  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_7 = {
  60. _vq_quantthresh_res_Zc_7,
  61. _vq_quantmap_res_Zc_7,
  62. 15,
  63. 15
  64. };
  65. static long _vq_pigeonmap_res_Zc_7[] = {
  66. 4, 3, 3, 2, 1, 1, 0, 0,
  67. 0, 1, 2, 2, 3, 4,
  68. };
  69. static long _vq_fitlist_res_Zc_7[] = {
  70. 0, 1, 2, 3, 4, 6, 5, 7,
  71. 8, 9, 12,
  72. };
  73. static long _vq_fitmap_res_Zc_7[] = {
  74. 0, 0, 0, 0, 0, 0, 0, 0,
  75. 0, 0, 0, 0, 0, 0, 0, 0,
  76. 0, 0, 0, 0, 0, 0, 0, 0,
  77. 0,
  78. };
  79. static long _vq_fitlength_res_Zc_7[] = {
  80. 11, 11, 11, 11, 11, 11, 11, 11,
  81. 11, 11, 11, 11, 11, 11, 11, 11,
  82. 11, 11, 11, 11, 11, 11, 11, 11,
  83. 11,
  84. };
  85. static encode_aux_pigeonhole _vq_auxp_res_Zc_7 = {
  86. -7, 1, 14, 5,
  87. _vq_pigeonmap_res_Zc_7,
  88. 11,
  89. _vq_fitlist_res_Zc_7,
  90. _vq_fitmap_res_Zc_7,
  91. _vq_fitlength_res_Zc_7
  92. };
  93. static static_codebook _vq_book_res_Zc_7 = {
  94. 2, 225,
  95. _vq_lengthlist_res_Zc_7,
  96. 1, -530841600, 1611661312, 4, 0,
  97. _vq_quantlist_res_Zc_7,
  98. NULL,
  99. &_vq_auxt_res_Zc_7,
  100. &_vq_auxp_res_Zc_7,
  101. 0
  102. };
  103. #endif