L2tables.h
上传用户:yisoukefu
上传日期:2020-08-09
资源大小:39506k
文件大小:8k
源码类别:

其他游戏

开发平台:

Visual C++

  1. /*
  2.  * Modified for use with MPlayer, for details see the changelog at
  3.  * http://svn.mplayerhq.hu/mplayer/trunk/
  4.  * $Id: l2tables.h 18786 2006-06-22 13:34:00Z diego $
  5.  */
  6. /*
  7.  * Layer 2 Alloc tables .. 
  8.  * most other tables are calculated on program start (which is (of course)
  9.  * not ISO-conform) .. 
  10.  * Layer-3 huffman table is in huffman.h
  11.  */
  12. static struct al_table alloc_0[] = {
  13. {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
  14. {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
  15. {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
  16. {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
  17. {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
  18. {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
  19. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  20. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  21. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  22. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  23. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  24. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  25. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  26. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  27. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  28. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  29. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  30. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  31. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  32. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  33. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  34. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  35. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  36. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  37. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  38. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  39. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  40. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  41. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  42. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  43. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  44. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  45. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  46. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  47. {2,0},{5,3},{7,5},{16,-32767},
  48. {2,0},{5,3},{7,5},{16,-32767},
  49. {2,0},{5,3},{7,5},{16,-32767},
  50. {2,0},{5,3},{7,5},{16,-32767} };
  51. static struct al_table alloc_1[] = {
  52. {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
  53. {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
  54. {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
  55. {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
  56. {4,0},{5,3},{3,-3},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},{10,-511},
  57. {11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},{16,-32767},
  58. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  59. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  60. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  61. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  62. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  63. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  64. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  65. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  66. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  67. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  68. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  69. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  70. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  71. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  72. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  73. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{16,-32767},
  74. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  75. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  76. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  77. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  78. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  79. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  80. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  81. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  82. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  83. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  84. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  85. {3,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{16,-32767},
  86. {2,0},{5,3},{7,5},{16,-32767},
  87. {2,0},{5,3},{7,5},{16,-32767},
  88. {2,0},{5,3},{7,5},{16,-32767},
  89. {2,0},{5,3},{7,5},{16,-32767},
  90. {2,0},{5,3},{7,5},{16,-32767},
  91. {2,0},{5,3},{7,5},{16,-32767},
  92. {2,0},{5,3},{7,5},{16,-32767} };
  93. static struct al_table alloc_2[] = {
  94. {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
  95. {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
  96. {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
  97. {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
  98. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  99. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  100. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  101. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  102. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  103. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63} };
  104. static struct al_table alloc_3[] = {
  105. {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
  106. {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
  107. {4,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},{9,-255},
  108. {10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},{15,-16383},
  109. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  110. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  111. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  112. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  113. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  114. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  115. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  116. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  117. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  118. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63} };
  119. static struct al_table alloc_4[] = {
  120. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  121. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},
  122. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  123. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},
  124. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  125. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},
  126. {4,0},{5,3},{7,5},{3,-3},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},{8,-127},
  127. {9,-255},{10,-511},{11,-1023},{12,-2047},{13,-4095},{14,-8191},
  128. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  129. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  130. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  131. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  132. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  133. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  134. {3,0},{5,3},{7,5},{10,9},{4,-7},{5,-15},{6,-31},{7,-63},
  135. {2,0},{5,3},{7,5},{10,9},
  136. {2,0},{5,3},{7,5},{10,9},
  137. {2,0},{5,3},{7,5},{10,9},
  138. {2,0},{5,3},{7,5},{10,9},
  139. {2,0},{5,3},{7,5},{10,9},
  140. {2,0},{5,3},{7,5},{10,9},
  141. {2,0},{5,3},{7,5},{10,9},
  142. {2,0},{5,3},{7,5},{10,9},
  143. {2,0},{5,3},{7,5},{10,9},
  144. {2,0},{5,3},{7,5},{10,9},
  145. {2,0},{5,3},{7,5},{10,9},
  146.     {2,0},{5,3},{7,5},{10,9},
  147.     {2,0},{5,3},{7,5},{10,9},
  148.     {2,0},{5,3},{7,5},{10,9},
  149.     {2,0},{5,3},{7,5},{10,9},
  150.     {2,0},{5,3},{7,5},{10,9},
  151.     {2,0},{5,3},{7,5},{10,9},
  152.     {2,0},{5,3},{7,5},{10,9},
  153.     {2,0},{5,3},{7,5},{10,9}  };