prefix_dec.go 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723
  1. package brotli
  2. /* Copyright 2013 Google Inc. All Rights Reserved.
  3. Distributed under MIT license.
  4. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
  5. */
  6. type cmdLutElement struct {
  7. insert_len_extra_bits byte
  8. copy_len_extra_bits byte
  9. distance_code int8
  10. context byte
  11. insert_len_offset uint16
  12. copy_len_offset uint16
  13. }
  14. var kCmdLut = [numCommandSymbols]cmdLutElement{
  15. cmdLutElement{0x00, 0x00, 0, 0x00, 0x0000, 0x0002},
  16. cmdLutElement{0x00, 0x00, 0, 0x01, 0x0000, 0x0003},
  17. cmdLutElement{0x00, 0x00, 0, 0x02, 0x0000, 0x0004},
  18. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0000, 0x0005},
  19. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0000, 0x0006},
  20. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0000, 0x0007},
  21. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0000, 0x0008},
  22. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0000, 0x0009},
  23. cmdLutElement{0x00, 0x00, 0, 0x00, 0x0001, 0x0002},
  24. cmdLutElement{0x00, 0x00, 0, 0x01, 0x0001, 0x0003},
  25. cmdLutElement{0x00, 0x00, 0, 0x02, 0x0001, 0x0004},
  26. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0001, 0x0005},
  27. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0001, 0x0006},
  28. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0001, 0x0007},
  29. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0001, 0x0008},
  30. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0001, 0x0009},
  31. cmdLutElement{0x00, 0x00, 0, 0x00, 0x0002, 0x0002},
  32. cmdLutElement{0x00, 0x00, 0, 0x01, 0x0002, 0x0003},
  33. cmdLutElement{0x00, 0x00, 0, 0x02, 0x0002, 0x0004},
  34. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0002, 0x0005},
  35. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0002, 0x0006},
  36. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0002, 0x0007},
  37. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0002, 0x0008},
  38. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0002, 0x0009},
  39. cmdLutElement{0x00, 0x00, 0, 0x00, 0x0003, 0x0002},
  40. cmdLutElement{0x00, 0x00, 0, 0x01, 0x0003, 0x0003},
  41. cmdLutElement{0x00, 0x00, 0, 0x02, 0x0003, 0x0004},
  42. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0003, 0x0005},
  43. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0003, 0x0006},
  44. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0003, 0x0007},
  45. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0003, 0x0008},
  46. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0003, 0x0009},
  47. cmdLutElement{0x00, 0x00, 0, 0x00, 0x0004, 0x0002},
  48. cmdLutElement{0x00, 0x00, 0, 0x01, 0x0004, 0x0003},
  49. cmdLutElement{0x00, 0x00, 0, 0x02, 0x0004, 0x0004},
  50. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0004, 0x0005},
  51. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0004, 0x0006},
  52. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0004, 0x0007},
  53. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0004, 0x0008},
  54. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0004, 0x0009},
  55. cmdLutElement{0x00, 0x00, 0, 0x00, 0x0005, 0x0002},
  56. cmdLutElement{0x00, 0x00, 0, 0x01, 0x0005, 0x0003},
  57. cmdLutElement{0x00, 0x00, 0, 0x02, 0x0005, 0x0004},
  58. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0005, 0x0005},
  59. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0005, 0x0006},
  60. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0005, 0x0007},
  61. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0005, 0x0008},
  62. cmdLutElement{0x00, 0x00, 0, 0x03, 0x0005, 0x0009},
  63. cmdLutElement{0x01, 0x00, 0, 0x00, 0x0006, 0x0002},
  64. cmdLutElement{0x01, 0x00, 0, 0x01, 0x0006, 0x0003},
  65. cmdLutElement{0x01, 0x00, 0, 0x02, 0x0006, 0x0004},
  66. cmdLutElement{0x01, 0x00, 0, 0x03, 0x0006, 0x0005},
  67. cmdLutElement{0x01, 0x00, 0, 0x03, 0x0006, 0x0006},
  68. cmdLutElement{0x01, 0x00, 0, 0x03, 0x0006, 0x0007},
  69. cmdLutElement{0x01, 0x00, 0, 0x03, 0x0006, 0x0008},
  70. cmdLutElement{0x01, 0x00, 0, 0x03, 0x0006, 0x0009},
  71. cmdLutElement{0x01, 0x00, 0, 0x00, 0x0008, 0x0002},
  72. cmdLutElement{0x01, 0x00, 0, 0x01, 0x0008, 0x0003},
  73. cmdLutElement{0x01, 0x00, 0, 0x02, 0x0008, 0x0004},
  74. cmdLutElement{0x01, 0x00, 0, 0x03, 0x0008, 0x0005},
  75. cmdLutElement{0x01, 0x00, 0, 0x03, 0x0008, 0x0006},
  76. cmdLutElement{0x01, 0x00, 0, 0x03, 0x0008, 0x0007},
  77. cmdLutElement{0x01, 0x00, 0, 0x03, 0x0008, 0x0008},
  78. cmdLutElement{0x01, 0x00, 0, 0x03, 0x0008, 0x0009},
  79. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0000, 0x000a},
  80. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0000, 0x000c},
  81. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0000, 0x000e},
  82. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0000, 0x0012},
  83. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0000, 0x0016},
  84. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0000, 0x001e},
  85. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0000, 0x0026},
  86. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0000, 0x0036},
  87. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0001, 0x000a},
  88. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0001, 0x000c},
  89. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0001, 0x000e},
  90. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0001, 0x0012},
  91. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0001, 0x0016},
  92. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0001, 0x001e},
  93. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0001, 0x0026},
  94. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0001, 0x0036},
  95. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0002, 0x000a},
  96. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0002, 0x000c},
  97. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0002, 0x000e},
  98. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0002, 0x0012},
  99. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0002, 0x0016},
  100. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0002, 0x001e},
  101. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0002, 0x0026},
  102. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0002, 0x0036},
  103. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0003, 0x000a},
  104. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0003, 0x000c},
  105. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0003, 0x000e},
  106. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0003, 0x0012},
  107. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0003, 0x0016},
  108. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0003, 0x001e},
  109. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0003, 0x0026},
  110. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0003, 0x0036},
  111. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0004, 0x000a},
  112. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0004, 0x000c},
  113. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0004, 0x000e},
  114. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0004, 0x0012},
  115. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0004, 0x0016},
  116. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0004, 0x001e},
  117. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0004, 0x0026},
  118. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0004, 0x0036},
  119. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0005, 0x000a},
  120. cmdLutElement{0x00, 0x01, 0, 0x03, 0x0005, 0x000c},
  121. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0005, 0x000e},
  122. cmdLutElement{0x00, 0x02, 0, 0x03, 0x0005, 0x0012},
  123. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0005, 0x0016},
  124. cmdLutElement{0x00, 0x03, 0, 0x03, 0x0005, 0x001e},
  125. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0005, 0x0026},
  126. cmdLutElement{0x00, 0x04, 0, 0x03, 0x0005, 0x0036},
  127. cmdLutElement{0x01, 0x01, 0, 0x03, 0x0006, 0x000a},
  128. cmdLutElement{0x01, 0x01, 0, 0x03, 0x0006, 0x000c},
  129. cmdLutElement{0x01, 0x02, 0, 0x03, 0x0006, 0x000e},
  130. cmdLutElement{0x01, 0x02, 0, 0x03, 0x0006, 0x0012},
  131. cmdLutElement{0x01, 0x03, 0, 0x03, 0x0006, 0x0016},
  132. cmdLutElement{0x01, 0x03, 0, 0x03, 0x0006, 0x001e},
  133. cmdLutElement{0x01, 0x04, 0, 0x03, 0x0006, 0x0026},
  134. cmdLutElement{0x01, 0x04, 0, 0x03, 0x0006, 0x0036},
  135. cmdLutElement{0x01, 0x01, 0, 0x03, 0x0008, 0x000a},
  136. cmdLutElement{0x01, 0x01, 0, 0x03, 0x0008, 0x000c},
  137. cmdLutElement{0x01, 0x02, 0, 0x03, 0x0008, 0x000e},
  138. cmdLutElement{0x01, 0x02, 0, 0x03, 0x0008, 0x0012},
  139. cmdLutElement{0x01, 0x03, 0, 0x03, 0x0008, 0x0016},
  140. cmdLutElement{0x01, 0x03, 0, 0x03, 0x0008, 0x001e},
  141. cmdLutElement{0x01, 0x04, 0, 0x03, 0x0008, 0x0026},
  142. cmdLutElement{0x01, 0x04, 0, 0x03, 0x0008, 0x0036},
  143. cmdLutElement{0x00, 0x00, -1, 0x00, 0x0000, 0x0002},
  144. cmdLutElement{0x00, 0x00, -1, 0x01, 0x0000, 0x0003},
  145. cmdLutElement{0x00, 0x00, -1, 0x02, 0x0000, 0x0004},
  146. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0000, 0x0005},
  147. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0000, 0x0006},
  148. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0000, 0x0007},
  149. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0000, 0x0008},
  150. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0000, 0x0009},
  151. cmdLutElement{0x00, 0x00, -1, 0x00, 0x0001, 0x0002},
  152. cmdLutElement{0x00, 0x00, -1, 0x01, 0x0001, 0x0003},
  153. cmdLutElement{0x00, 0x00, -1, 0x02, 0x0001, 0x0004},
  154. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0001, 0x0005},
  155. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0001, 0x0006},
  156. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0001, 0x0007},
  157. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0001, 0x0008},
  158. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0001, 0x0009},
  159. cmdLutElement{0x00, 0x00, -1, 0x00, 0x0002, 0x0002},
  160. cmdLutElement{0x00, 0x00, -1, 0x01, 0x0002, 0x0003},
  161. cmdLutElement{0x00, 0x00, -1, 0x02, 0x0002, 0x0004},
  162. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0002, 0x0005},
  163. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0002, 0x0006},
  164. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0002, 0x0007},
  165. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0002, 0x0008},
  166. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0002, 0x0009},
  167. cmdLutElement{0x00, 0x00, -1, 0x00, 0x0003, 0x0002},
  168. cmdLutElement{0x00, 0x00, -1, 0x01, 0x0003, 0x0003},
  169. cmdLutElement{0x00, 0x00, -1, 0x02, 0x0003, 0x0004},
  170. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0003, 0x0005},
  171. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0003, 0x0006},
  172. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0003, 0x0007},
  173. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0003, 0x0008},
  174. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0003, 0x0009},
  175. cmdLutElement{0x00, 0x00, -1, 0x00, 0x0004, 0x0002},
  176. cmdLutElement{0x00, 0x00, -1, 0x01, 0x0004, 0x0003},
  177. cmdLutElement{0x00, 0x00, -1, 0x02, 0x0004, 0x0004},
  178. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0004, 0x0005},
  179. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0004, 0x0006},
  180. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0004, 0x0007},
  181. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0004, 0x0008},
  182. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0004, 0x0009},
  183. cmdLutElement{0x00, 0x00, -1, 0x00, 0x0005, 0x0002},
  184. cmdLutElement{0x00, 0x00, -1, 0x01, 0x0005, 0x0003},
  185. cmdLutElement{0x00, 0x00, -1, 0x02, 0x0005, 0x0004},
  186. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0005, 0x0005},
  187. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0005, 0x0006},
  188. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0005, 0x0007},
  189. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0005, 0x0008},
  190. cmdLutElement{0x00, 0x00, -1, 0x03, 0x0005, 0x0009},
  191. cmdLutElement{0x01, 0x00, -1, 0x00, 0x0006, 0x0002},
  192. cmdLutElement{0x01, 0x00, -1, 0x01, 0x0006, 0x0003},
  193. cmdLutElement{0x01, 0x00, -1, 0x02, 0x0006, 0x0004},
  194. cmdLutElement{0x01, 0x00, -1, 0x03, 0x0006, 0x0005},
  195. cmdLutElement{0x01, 0x00, -1, 0x03, 0x0006, 0x0006},
  196. cmdLutElement{0x01, 0x00, -1, 0x03, 0x0006, 0x0007},
  197. cmdLutElement{0x01, 0x00, -1, 0x03, 0x0006, 0x0008},
  198. cmdLutElement{0x01, 0x00, -1, 0x03, 0x0006, 0x0009},
  199. cmdLutElement{0x01, 0x00, -1, 0x00, 0x0008, 0x0002},
  200. cmdLutElement{0x01, 0x00, -1, 0x01, 0x0008, 0x0003},
  201. cmdLutElement{0x01, 0x00, -1, 0x02, 0x0008, 0x0004},
  202. cmdLutElement{0x01, 0x00, -1, 0x03, 0x0008, 0x0005},
  203. cmdLutElement{0x01, 0x00, -1, 0x03, 0x0008, 0x0006},
  204. cmdLutElement{0x01, 0x00, -1, 0x03, 0x0008, 0x0007},
  205. cmdLutElement{0x01, 0x00, -1, 0x03, 0x0008, 0x0008},
  206. cmdLutElement{0x01, 0x00, -1, 0x03, 0x0008, 0x0009},
  207. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0000, 0x000a},
  208. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0000, 0x000c},
  209. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0000, 0x000e},
  210. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0000, 0x0012},
  211. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0000, 0x0016},
  212. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0000, 0x001e},
  213. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0000, 0x0026},
  214. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0000, 0x0036},
  215. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0001, 0x000a},
  216. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0001, 0x000c},
  217. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0001, 0x000e},
  218. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0001, 0x0012},
  219. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0001, 0x0016},
  220. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0001, 0x001e},
  221. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0001, 0x0026},
  222. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0001, 0x0036},
  223. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0002, 0x000a},
  224. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0002, 0x000c},
  225. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0002, 0x000e},
  226. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0002, 0x0012},
  227. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0002, 0x0016},
  228. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0002, 0x001e},
  229. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0002, 0x0026},
  230. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0002, 0x0036},
  231. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0003, 0x000a},
  232. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0003, 0x000c},
  233. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0003, 0x000e},
  234. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0003, 0x0012},
  235. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0003, 0x0016},
  236. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0003, 0x001e},
  237. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0003, 0x0026},
  238. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0003, 0x0036},
  239. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0004, 0x000a},
  240. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0004, 0x000c},
  241. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0004, 0x000e},
  242. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0004, 0x0012},
  243. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0004, 0x0016},
  244. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0004, 0x001e},
  245. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0004, 0x0026},
  246. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0004, 0x0036},
  247. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0005, 0x000a},
  248. cmdLutElement{0x00, 0x01, -1, 0x03, 0x0005, 0x000c},
  249. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0005, 0x000e},
  250. cmdLutElement{0x00, 0x02, -1, 0x03, 0x0005, 0x0012},
  251. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0005, 0x0016},
  252. cmdLutElement{0x00, 0x03, -1, 0x03, 0x0005, 0x001e},
  253. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0005, 0x0026},
  254. cmdLutElement{0x00, 0x04, -1, 0x03, 0x0005, 0x0036},
  255. cmdLutElement{0x01, 0x01, -1, 0x03, 0x0006, 0x000a},
  256. cmdLutElement{0x01, 0x01, -1, 0x03, 0x0006, 0x000c},
  257. cmdLutElement{0x01, 0x02, -1, 0x03, 0x0006, 0x000e},
  258. cmdLutElement{0x01, 0x02, -1, 0x03, 0x0006, 0x0012},
  259. cmdLutElement{0x01, 0x03, -1, 0x03, 0x0006, 0x0016},
  260. cmdLutElement{0x01, 0x03, -1, 0x03, 0x0006, 0x001e},
  261. cmdLutElement{0x01, 0x04, -1, 0x03, 0x0006, 0x0026},
  262. cmdLutElement{0x01, 0x04, -1, 0x03, 0x0006, 0x0036},
  263. cmdLutElement{0x01, 0x01, -1, 0x03, 0x0008, 0x000a},
  264. cmdLutElement{0x01, 0x01, -1, 0x03, 0x0008, 0x000c},
  265. cmdLutElement{0x01, 0x02, -1, 0x03, 0x0008, 0x000e},
  266. cmdLutElement{0x01, 0x02, -1, 0x03, 0x0008, 0x0012},
  267. cmdLutElement{0x01, 0x03, -1, 0x03, 0x0008, 0x0016},
  268. cmdLutElement{0x01, 0x03, -1, 0x03, 0x0008, 0x001e},
  269. cmdLutElement{0x01, 0x04, -1, 0x03, 0x0008, 0x0026},
  270. cmdLutElement{0x01, 0x04, -1, 0x03, 0x0008, 0x0036},
  271. cmdLutElement{0x02, 0x00, -1, 0x00, 0x000a, 0x0002},
  272. cmdLutElement{0x02, 0x00, -1, 0x01, 0x000a, 0x0003},
  273. cmdLutElement{0x02, 0x00, -1, 0x02, 0x000a, 0x0004},
  274. cmdLutElement{0x02, 0x00, -1, 0x03, 0x000a, 0x0005},
  275. cmdLutElement{0x02, 0x00, -1, 0x03, 0x000a, 0x0006},
  276. cmdLutElement{0x02, 0x00, -1, 0x03, 0x000a, 0x0007},
  277. cmdLutElement{0x02, 0x00, -1, 0x03, 0x000a, 0x0008},
  278. cmdLutElement{0x02, 0x00, -1, 0x03, 0x000a, 0x0009},
  279. cmdLutElement{0x02, 0x00, -1, 0x00, 0x000e, 0x0002},
  280. cmdLutElement{0x02, 0x00, -1, 0x01, 0x000e, 0x0003},
  281. cmdLutElement{0x02, 0x00, -1, 0x02, 0x000e, 0x0004},
  282. cmdLutElement{0x02, 0x00, -1, 0x03, 0x000e, 0x0005},
  283. cmdLutElement{0x02, 0x00, -1, 0x03, 0x000e, 0x0006},
  284. cmdLutElement{0x02, 0x00, -1, 0x03, 0x000e, 0x0007},
  285. cmdLutElement{0x02, 0x00, -1, 0x03, 0x000e, 0x0008},
  286. cmdLutElement{0x02, 0x00, -1, 0x03, 0x000e, 0x0009},
  287. cmdLutElement{0x03, 0x00, -1, 0x00, 0x0012, 0x0002},
  288. cmdLutElement{0x03, 0x00, -1, 0x01, 0x0012, 0x0003},
  289. cmdLutElement{0x03, 0x00, -1, 0x02, 0x0012, 0x0004},
  290. cmdLutElement{0x03, 0x00, -1, 0x03, 0x0012, 0x0005},
  291. cmdLutElement{0x03, 0x00, -1, 0x03, 0x0012, 0x0006},
  292. cmdLutElement{0x03, 0x00, -1, 0x03, 0x0012, 0x0007},
  293. cmdLutElement{0x03, 0x00, -1, 0x03, 0x0012, 0x0008},
  294. cmdLutElement{0x03, 0x00, -1, 0x03, 0x0012, 0x0009},
  295. cmdLutElement{0x03, 0x00, -1, 0x00, 0x001a, 0x0002},
  296. cmdLutElement{0x03, 0x00, -1, 0x01, 0x001a, 0x0003},
  297. cmdLutElement{0x03, 0x00, -1, 0x02, 0x001a, 0x0004},
  298. cmdLutElement{0x03, 0x00, -1, 0x03, 0x001a, 0x0005},
  299. cmdLutElement{0x03, 0x00, -1, 0x03, 0x001a, 0x0006},
  300. cmdLutElement{0x03, 0x00, -1, 0x03, 0x001a, 0x0007},
  301. cmdLutElement{0x03, 0x00, -1, 0x03, 0x001a, 0x0008},
  302. cmdLutElement{0x03, 0x00, -1, 0x03, 0x001a, 0x0009},
  303. cmdLutElement{0x04, 0x00, -1, 0x00, 0x0022, 0x0002},
  304. cmdLutElement{0x04, 0x00, -1, 0x01, 0x0022, 0x0003},
  305. cmdLutElement{0x04, 0x00, -1, 0x02, 0x0022, 0x0004},
  306. cmdLutElement{0x04, 0x00, -1, 0x03, 0x0022, 0x0005},
  307. cmdLutElement{0x04, 0x00, -1, 0x03, 0x0022, 0x0006},
  308. cmdLutElement{0x04, 0x00, -1, 0x03, 0x0022, 0x0007},
  309. cmdLutElement{0x04, 0x00, -1, 0x03, 0x0022, 0x0008},
  310. cmdLutElement{0x04, 0x00, -1, 0x03, 0x0022, 0x0009},
  311. cmdLutElement{0x04, 0x00, -1, 0x00, 0x0032, 0x0002},
  312. cmdLutElement{0x04, 0x00, -1, 0x01, 0x0032, 0x0003},
  313. cmdLutElement{0x04, 0x00, -1, 0x02, 0x0032, 0x0004},
  314. cmdLutElement{0x04, 0x00, -1, 0x03, 0x0032, 0x0005},
  315. cmdLutElement{0x04, 0x00, -1, 0x03, 0x0032, 0x0006},
  316. cmdLutElement{0x04, 0x00, -1, 0x03, 0x0032, 0x0007},
  317. cmdLutElement{0x04, 0x00, -1, 0x03, 0x0032, 0x0008},
  318. cmdLutElement{0x04, 0x00, -1, 0x03, 0x0032, 0x0009},
  319. cmdLutElement{0x05, 0x00, -1, 0x00, 0x0042, 0x0002},
  320. cmdLutElement{0x05, 0x00, -1, 0x01, 0x0042, 0x0003},
  321. cmdLutElement{0x05, 0x00, -1, 0x02, 0x0042, 0x0004},
  322. cmdLutElement{0x05, 0x00, -1, 0x03, 0x0042, 0x0005},
  323. cmdLutElement{0x05, 0x00, -1, 0x03, 0x0042, 0x0006},
  324. cmdLutElement{0x05, 0x00, -1, 0x03, 0x0042, 0x0007},
  325. cmdLutElement{0x05, 0x00, -1, 0x03, 0x0042, 0x0008},
  326. cmdLutElement{0x05, 0x00, -1, 0x03, 0x0042, 0x0009},
  327. cmdLutElement{0x05, 0x00, -1, 0x00, 0x0062, 0x0002},
  328. cmdLutElement{0x05, 0x00, -1, 0x01, 0x0062, 0x0003},
  329. cmdLutElement{0x05, 0x00, -1, 0x02, 0x0062, 0x0004},
  330. cmdLutElement{0x05, 0x00, -1, 0x03, 0x0062, 0x0005},
  331. cmdLutElement{0x05, 0x00, -1, 0x03, 0x0062, 0x0006},
  332. cmdLutElement{0x05, 0x00, -1, 0x03, 0x0062, 0x0007},
  333. cmdLutElement{0x05, 0x00, -1, 0x03, 0x0062, 0x0008},
  334. cmdLutElement{0x05, 0x00, -1, 0x03, 0x0062, 0x0009},
  335. cmdLutElement{0x02, 0x01, -1, 0x03, 0x000a, 0x000a},
  336. cmdLutElement{0x02, 0x01, -1, 0x03, 0x000a, 0x000c},
  337. cmdLutElement{0x02, 0x02, -1, 0x03, 0x000a, 0x000e},
  338. cmdLutElement{0x02, 0x02, -1, 0x03, 0x000a, 0x0012},
  339. cmdLutElement{0x02, 0x03, -1, 0x03, 0x000a, 0x0016},
  340. cmdLutElement{0x02, 0x03, -1, 0x03, 0x000a, 0x001e},
  341. cmdLutElement{0x02, 0x04, -1, 0x03, 0x000a, 0x0026},
  342. cmdLutElement{0x02, 0x04, -1, 0x03, 0x000a, 0x0036},
  343. cmdLutElement{0x02, 0x01, -1, 0x03, 0x000e, 0x000a},
  344. cmdLutElement{0x02, 0x01, -1, 0x03, 0x000e, 0x000c},
  345. cmdLutElement{0x02, 0x02, -1, 0x03, 0x000e, 0x000e},
  346. cmdLutElement{0x02, 0x02, -1, 0x03, 0x000e, 0x0012},
  347. cmdLutElement{0x02, 0x03, -1, 0x03, 0x000e, 0x0016},
  348. cmdLutElement{0x02, 0x03, -1, 0x03, 0x000e, 0x001e},
  349. cmdLutElement{0x02, 0x04, -1, 0x03, 0x000e, 0x0026},
  350. cmdLutElement{0x02, 0x04, -1, 0x03, 0x000e, 0x0036},
  351. cmdLutElement{0x03, 0x01, -1, 0x03, 0x0012, 0x000a},
  352. cmdLutElement{0x03, 0x01, -1, 0x03, 0x0012, 0x000c},
  353. cmdLutElement{0x03, 0x02, -1, 0x03, 0x0012, 0x000e},
  354. cmdLutElement{0x03, 0x02, -1, 0x03, 0x0012, 0x0012},
  355. cmdLutElement{0x03, 0x03, -1, 0x03, 0x0012, 0x0016},
  356. cmdLutElement{0x03, 0x03, -1, 0x03, 0x0012, 0x001e},
  357. cmdLutElement{0x03, 0x04, -1, 0x03, 0x0012, 0x0026},
  358. cmdLutElement{0x03, 0x04, -1, 0x03, 0x0012, 0x0036},
  359. cmdLutElement{0x03, 0x01, -1, 0x03, 0x001a, 0x000a},
  360. cmdLutElement{0x03, 0x01, -1, 0x03, 0x001a, 0x000c},
  361. cmdLutElement{0x03, 0x02, -1, 0x03, 0x001a, 0x000e},
  362. cmdLutElement{0x03, 0x02, -1, 0x03, 0x001a, 0x0012},
  363. cmdLutElement{0x03, 0x03, -1, 0x03, 0x001a, 0x0016},
  364. cmdLutElement{0x03, 0x03, -1, 0x03, 0x001a, 0x001e},
  365. cmdLutElement{0x03, 0x04, -1, 0x03, 0x001a, 0x0026},
  366. cmdLutElement{0x03, 0x04, -1, 0x03, 0x001a, 0x0036},
  367. cmdLutElement{0x04, 0x01, -1, 0x03, 0x0022, 0x000a},
  368. cmdLutElement{0x04, 0x01, -1, 0x03, 0x0022, 0x000c},
  369. cmdLutElement{0x04, 0x02, -1, 0x03, 0x0022, 0x000e},
  370. cmdLutElement{0x04, 0x02, -1, 0x03, 0x0022, 0x0012},
  371. cmdLutElement{0x04, 0x03, -1, 0x03, 0x0022, 0x0016},
  372. cmdLutElement{0x04, 0x03, -1, 0x03, 0x0022, 0x001e},
  373. cmdLutElement{0x04, 0x04, -1, 0x03, 0x0022, 0x0026},
  374. cmdLutElement{0x04, 0x04, -1, 0x03, 0x0022, 0x0036},
  375. cmdLutElement{0x04, 0x01, -1, 0x03, 0x0032, 0x000a},
  376. cmdLutElement{0x04, 0x01, -1, 0x03, 0x0032, 0x000c},
  377. cmdLutElement{0x04, 0x02, -1, 0x03, 0x0032, 0x000e},
  378. cmdLutElement{0x04, 0x02, -1, 0x03, 0x0032, 0x0012},
  379. cmdLutElement{0x04, 0x03, -1, 0x03, 0x0032, 0x0016},
  380. cmdLutElement{0x04, 0x03, -1, 0x03, 0x0032, 0x001e},
  381. cmdLutElement{0x04, 0x04, -1, 0x03, 0x0032, 0x0026},
  382. cmdLutElement{0x04, 0x04, -1, 0x03, 0x0032, 0x0036},
  383. cmdLutElement{0x05, 0x01, -1, 0x03, 0x0042, 0x000a},
  384. cmdLutElement{0x05, 0x01, -1, 0x03, 0x0042, 0x000c},
  385. cmdLutElement{0x05, 0x02, -1, 0x03, 0x0042, 0x000e},
  386. cmdLutElement{0x05, 0x02, -1, 0x03, 0x0042, 0x0012},
  387. cmdLutElement{0x05, 0x03, -1, 0x03, 0x0042, 0x0016},
  388. cmdLutElement{0x05, 0x03, -1, 0x03, 0x0042, 0x001e},
  389. cmdLutElement{0x05, 0x04, -1, 0x03, 0x0042, 0x0026},
  390. cmdLutElement{0x05, 0x04, -1, 0x03, 0x0042, 0x0036},
  391. cmdLutElement{0x05, 0x01, -1, 0x03, 0x0062, 0x000a},
  392. cmdLutElement{0x05, 0x01, -1, 0x03, 0x0062, 0x000c},
  393. cmdLutElement{0x05, 0x02, -1, 0x03, 0x0062, 0x000e},
  394. cmdLutElement{0x05, 0x02, -1, 0x03, 0x0062, 0x0012},
  395. cmdLutElement{0x05, 0x03, -1, 0x03, 0x0062, 0x0016},
  396. cmdLutElement{0x05, 0x03, -1, 0x03, 0x0062, 0x001e},
  397. cmdLutElement{0x05, 0x04, -1, 0x03, 0x0062, 0x0026},
  398. cmdLutElement{0x05, 0x04, -1, 0x03, 0x0062, 0x0036},
  399. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0000, 0x0046},
  400. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0000, 0x0066},
  401. cmdLutElement{0x00, 0x06, -1, 0x03, 0x0000, 0x0086},
  402. cmdLutElement{0x00, 0x07, -1, 0x03, 0x0000, 0x00c6},
  403. cmdLutElement{0x00, 0x08, -1, 0x03, 0x0000, 0x0146},
  404. cmdLutElement{0x00, 0x09, -1, 0x03, 0x0000, 0x0246},
  405. cmdLutElement{0x00, 0x0a, -1, 0x03, 0x0000, 0x0446},
  406. cmdLutElement{0x00, 0x18, -1, 0x03, 0x0000, 0x0846},
  407. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0001, 0x0046},
  408. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0001, 0x0066},
  409. cmdLutElement{0x00, 0x06, -1, 0x03, 0x0001, 0x0086},
  410. cmdLutElement{0x00, 0x07, -1, 0x03, 0x0001, 0x00c6},
  411. cmdLutElement{0x00, 0x08, -1, 0x03, 0x0001, 0x0146},
  412. cmdLutElement{0x00, 0x09, -1, 0x03, 0x0001, 0x0246},
  413. cmdLutElement{0x00, 0x0a, -1, 0x03, 0x0001, 0x0446},
  414. cmdLutElement{0x00, 0x18, -1, 0x03, 0x0001, 0x0846},
  415. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0002, 0x0046},
  416. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0002, 0x0066},
  417. cmdLutElement{0x00, 0x06, -1, 0x03, 0x0002, 0x0086},
  418. cmdLutElement{0x00, 0x07, -1, 0x03, 0x0002, 0x00c6},
  419. cmdLutElement{0x00, 0x08, -1, 0x03, 0x0002, 0x0146},
  420. cmdLutElement{0x00, 0x09, -1, 0x03, 0x0002, 0x0246},
  421. cmdLutElement{0x00, 0x0a, -1, 0x03, 0x0002, 0x0446},
  422. cmdLutElement{0x00, 0x18, -1, 0x03, 0x0002, 0x0846},
  423. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0003, 0x0046},
  424. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0003, 0x0066},
  425. cmdLutElement{0x00, 0x06, -1, 0x03, 0x0003, 0x0086},
  426. cmdLutElement{0x00, 0x07, -1, 0x03, 0x0003, 0x00c6},
  427. cmdLutElement{0x00, 0x08, -1, 0x03, 0x0003, 0x0146},
  428. cmdLutElement{0x00, 0x09, -1, 0x03, 0x0003, 0x0246},
  429. cmdLutElement{0x00, 0x0a, -1, 0x03, 0x0003, 0x0446},
  430. cmdLutElement{0x00, 0x18, -1, 0x03, 0x0003, 0x0846},
  431. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0004, 0x0046},
  432. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0004, 0x0066},
  433. cmdLutElement{0x00, 0x06, -1, 0x03, 0x0004, 0x0086},
  434. cmdLutElement{0x00, 0x07, -1, 0x03, 0x0004, 0x00c6},
  435. cmdLutElement{0x00, 0x08, -1, 0x03, 0x0004, 0x0146},
  436. cmdLutElement{0x00, 0x09, -1, 0x03, 0x0004, 0x0246},
  437. cmdLutElement{0x00, 0x0a, -1, 0x03, 0x0004, 0x0446},
  438. cmdLutElement{0x00, 0x18, -1, 0x03, 0x0004, 0x0846},
  439. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0005, 0x0046},
  440. cmdLutElement{0x00, 0x05, -1, 0x03, 0x0005, 0x0066},
  441. cmdLutElement{0x00, 0x06, -1, 0x03, 0x0005, 0x0086},
  442. cmdLutElement{0x00, 0x07, -1, 0x03, 0x0005, 0x00c6},
  443. cmdLutElement{0x00, 0x08, -1, 0x03, 0x0005, 0x0146},
  444. cmdLutElement{0x00, 0x09, -1, 0x03, 0x0005, 0x0246},
  445. cmdLutElement{0x00, 0x0a, -1, 0x03, 0x0005, 0x0446},
  446. cmdLutElement{0x00, 0x18, -1, 0x03, 0x0005, 0x0846},
  447. cmdLutElement{0x01, 0x05, -1, 0x03, 0x0006, 0x0046},
  448. cmdLutElement{0x01, 0x05, -1, 0x03, 0x0006, 0x0066},
  449. cmdLutElement{0x01, 0x06, -1, 0x03, 0x0006, 0x0086},
  450. cmdLutElement{0x01, 0x07, -1, 0x03, 0x0006, 0x00c6},
  451. cmdLutElement{0x01, 0x08, -1, 0x03, 0x0006, 0x0146},
  452. cmdLutElement{0x01, 0x09, -1, 0x03, 0x0006, 0x0246},
  453. cmdLutElement{0x01, 0x0a, -1, 0x03, 0x0006, 0x0446},
  454. cmdLutElement{0x01, 0x18, -1, 0x03, 0x0006, 0x0846},
  455. cmdLutElement{0x01, 0x05, -1, 0x03, 0x0008, 0x0046},
  456. cmdLutElement{0x01, 0x05, -1, 0x03, 0x0008, 0x0066},
  457. cmdLutElement{0x01, 0x06, -1, 0x03, 0x0008, 0x0086},
  458. cmdLutElement{0x01, 0x07, -1, 0x03, 0x0008, 0x00c6},
  459. cmdLutElement{0x01, 0x08, -1, 0x03, 0x0008, 0x0146},
  460. cmdLutElement{0x01, 0x09, -1, 0x03, 0x0008, 0x0246},
  461. cmdLutElement{0x01, 0x0a, -1, 0x03, 0x0008, 0x0446},
  462. cmdLutElement{0x01, 0x18, -1, 0x03, 0x0008, 0x0846},
  463. cmdLutElement{0x06, 0x00, -1, 0x00, 0x0082, 0x0002},
  464. cmdLutElement{0x06, 0x00, -1, 0x01, 0x0082, 0x0003},
  465. cmdLutElement{0x06, 0x00, -1, 0x02, 0x0082, 0x0004},
  466. cmdLutElement{0x06, 0x00, -1, 0x03, 0x0082, 0x0005},
  467. cmdLutElement{0x06, 0x00, -1, 0x03, 0x0082, 0x0006},
  468. cmdLutElement{0x06, 0x00, -1, 0x03, 0x0082, 0x0007},
  469. cmdLutElement{0x06, 0x00, -1, 0x03, 0x0082, 0x0008},
  470. cmdLutElement{0x06, 0x00, -1, 0x03, 0x0082, 0x0009},
  471. cmdLutElement{0x07, 0x00, -1, 0x00, 0x00c2, 0x0002},
  472. cmdLutElement{0x07, 0x00, -1, 0x01, 0x00c2, 0x0003},
  473. cmdLutElement{0x07, 0x00, -1, 0x02, 0x00c2, 0x0004},
  474. cmdLutElement{0x07, 0x00, -1, 0x03, 0x00c2, 0x0005},
  475. cmdLutElement{0x07, 0x00, -1, 0x03, 0x00c2, 0x0006},
  476. cmdLutElement{0x07, 0x00, -1, 0x03, 0x00c2, 0x0007},
  477. cmdLutElement{0x07, 0x00, -1, 0x03, 0x00c2, 0x0008},
  478. cmdLutElement{0x07, 0x00, -1, 0x03, 0x00c2, 0x0009},
  479. cmdLutElement{0x08, 0x00, -1, 0x00, 0x0142, 0x0002},
  480. cmdLutElement{0x08, 0x00, -1, 0x01, 0x0142, 0x0003},
  481. cmdLutElement{0x08, 0x00, -1, 0x02, 0x0142, 0x0004},
  482. cmdLutElement{0x08, 0x00, -1, 0x03, 0x0142, 0x0005},
  483. cmdLutElement{0x08, 0x00, -1, 0x03, 0x0142, 0x0006},
  484. cmdLutElement{0x08, 0x00, -1, 0x03, 0x0142, 0x0007},
  485. cmdLutElement{0x08, 0x00, -1, 0x03, 0x0142, 0x0008},
  486. cmdLutElement{0x08, 0x00, -1, 0x03, 0x0142, 0x0009},
  487. cmdLutElement{0x09, 0x00, -1, 0x00, 0x0242, 0x0002},
  488. cmdLutElement{0x09, 0x00, -1, 0x01, 0x0242, 0x0003},
  489. cmdLutElement{0x09, 0x00, -1, 0x02, 0x0242, 0x0004},
  490. cmdLutElement{0x09, 0x00, -1, 0x03, 0x0242, 0x0005},
  491. cmdLutElement{0x09, 0x00, -1, 0x03, 0x0242, 0x0006},
  492. cmdLutElement{0x09, 0x00, -1, 0x03, 0x0242, 0x0007},
  493. cmdLutElement{0x09, 0x00, -1, 0x03, 0x0242, 0x0008},
  494. cmdLutElement{0x09, 0x00, -1, 0x03, 0x0242, 0x0009},
  495. cmdLutElement{0x0a, 0x00, -1, 0x00, 0x0442, 0x0002},
  496. cmdLutElement{0x0a, 0x00, -1, 0x01, 0x0442, 0x0003},
  497. cmdLutElement{0x0a, 0x00, -1, 0x02, 0x0442, 0x0004},
  498. cmdLutElement{0x0a, 0x00, -1, 0x03, 0x0442, 0x0005},
  499. cmdLutElement{0x0a, 0x00, -1, 0x03, 0x0442, 0x0006},
  500. cmdLutElement{0x0a, 0x00, -1, 0x03, 0x0442, 0x0007},
  501. cmdLutElement{0x0a, 0x00, -1, 0x03, 0x0442, 0x0008},
  502. cmdLutElement{0x0a, 0x00, -1, 0x03, 0x0442, 0x0009},
  503. cmdLutElement{0x0c, 0x00, -1, 0x00, 0x0842, 0x0002},
  504. cmdLutElement{0x0c, 0x00, -1, 0x01, 0x0842, 0x0003},
  505. cmdLutElement{0x0c, 0x00, -1, 0x02, 0x0842, 0x0004},
  506. cmdLutElement{0x0c, 0x00, -1, 0x03, 0x0842, 0x0005},
  507. cmdLutElement{0x0c, 0x00, -1, 0x03, 0x0842, 0x0006},
  508. cmdLutElement{0x0c, 0x00, -1, 0x03, 0x0842, 0x0007},
  509. cmdLutElement{0x0c, 0x00, -1, 0x03, 0x0842, 0x0008},
  510. cmdLutElement{0x0c, 0x00, -1, 0x03, 0x0842, 0x0009},
  511. cmdLutElement{0x0e, 0x00, -1, 0x00, 0x1842, 0x0002},
  512. cmdLutElement{0x0e, 0x00, -1, 0x01, 0x1842, 0x0003},
  513. cmdLutElement{0x0e, 0x00, -1, 0x02, 0x1842, 0x0004},
  514. cmdLutElement{0x0e, 0x00, -1, 0x03, 0x1842, 0x0005},
  515. cmdLutElement{0x0e, 0x00, -1, 0x03, 0x1842, 0x0006},
  516. cmdLutElement{0x0e, 0x00, -1, 0x03, 0x1842, 0x0007},
  517. cmdLutElement{0x0e, 0x00, -1, 0x03, 0x1842, 0x0008},
  518. cmdLutElement{0x0e, 0x00, -1, 0x03, 0x1842, 0x0009},
  519. cmdLutElement{0x18, 0x00, -1, 0x00, 0x5842, 0x0002},
  520. cmdLutElement{0x18, 0x00, -1, 0x01, 0x5842, 0x0003},
  521. cmdLutElement{0x18, 0x00, -1, 0x02, 0x5842, 0x0004},
  522. cmdLutElement{0x18, 0x00, -1, 0x03, 0x5842, 0x0005},
  523. cmdLutElement{0x18, 0x00, -1, 0x03, 0x5842, 0x0006},
  524. cmdLutElement{0x18, 0x00, -1, 0x03, 0x5842, 0x0007},
  525. cmdLutElement{0x18, 0x00, -1, 0x03, 0x5842, 0x0008},
  526. cmdLutElement{0x18, 0x00, -1, 0x03, 0x5842, 0x0009},
  527. cmdLutElement{0x02, 0x05, -1, 0x03, 0x000a, 0x0046},
  528. cmdLutElement{0x02, 0x05, -1, 0x03, 0x000a, 0x0066},
  529. cmdLutElement{0x02, 0x06, -1, 0x03, 0x000a, 0x0086},
  530. cmdLutElement{0x02, 0x07, -1, 0x03, 0x000a, 0x00c6},
  531. cmdLutElement{0x02, 0x08, -1, 0x03, 0x000a, 0x0146},
  532. cmdLutElement{0x02, 0x09, -1, 0x03, 0x000a, 0x0246},
  533. cmdLutElement{0x02, 0x0a, -1, 0x03, 0x000a, 0x0446},
  534. cmdLutElement{0x02, 0x18, -1, 0x03, 0x000a, 0x0846},
  535. cmdLutElement{0x02, 0x05, -1, 0x03, 0x000e, 0x0046},
  536. cmdLutElement{0x02, 0x05, -1, 0x03, 0x000e, 0x0066},
  537. cmdLutElement{0x02, 0x06, -1, 0x03, 0x000e, 0x0086},
  538. cmdLutElement{0x02, 0x07, -1, 0x03, 0x000e, 0x00c6},
  539. cmdLutElement{0x02, 0x08, -1, 0x03, 0x000e, 0x0146},
  540. cmdLutElement{0x02, 0x09, -1, 0x03, 0x000e, 0x0246},
  541. cmdLutElement{0x02, 0x0a, -1, 0x03, 0x000e, 0x0446},
  542. cmdLutElement{0x02, 0x18, -1, 0x03, 0x000e, 0x0846},
  543. cmdLutElement{0x03, 0x05, -1, 0x03, 0x0012, 0x0046},
  544. cmdLutElement{0x03, 0x05, -1, 0x03, 0x0012, 0x0066},
  545. cmdLutElement{0x03, 0x06, -1, 0x03, 0x0012, 0x0086},
  546. cmdLutElement{0x03, 0x07, -1, 0x03, 0x0012, 0x00c6},
  547. cmdLutElement{0x03, 0x08, -1, 0x03, 0x0012, 0x0146},
  548. cmdLutElement{0x03, 0x09, -1, 0x03, 0x0012, 0x0246},
  549. cmdLutElement{0x03, 0x0a, -1, 0x03, 0x0012, 0x0446},
  550. cmdLutElement{0x03, 0x18, -1, 0x03, 0x0012, 0x0846},
  551. cmdLutElement{0x03, 0x05, -1, 0x03, 0x001a, 0x0046},
  552. cmdLutElement{0x03, 0x05, -1, 0x03, 0x001a, 0x0066},
  553. cmdLutElement{0x03, 0x06, -1, 0x03, 0x001a, 0x0086},
  554. cmdLutElement{0x03, 0x07, -1, 0x03, 0x001a, 0x00c6},
  555. cmdLutElement{0x03, 0x08, -1, 0x03, 0x001a, 0x0146},
  556. cmdLutElement{0x03, 0x09, -1, 0x03, 0x001a, 0x0246},
  557. cmdLutElement{0x03, 0x0a, -1, 0x03, 0x001a, 0x0446},
  558. cmdLutElement{0x03, 0x18, -1, 0x03, 0x001a, 0x0846},
  559. cmdLutElement{0x04, 0x05, -1, 0x03, 0x0022, 0x0046},
  560. cmdLutElement{0x04, 0x05, -1, 0x03, 0x0022, 0x0066},
  561. cmdLutElement{0x04, 0x06, -1, 0x03, 0x0022, 0x0086},
  562. cmdLutElement{0x04, 0x07, -1, 0x03, 0x0022, 0x00c6},
  563. cmdLutElement{0x04, 0x08, -1, 0x03, 0x0022, 0x0146},
  564. cmdLutElement{0x04, 0x09, -1, 0x03, 0x0022, 0x0246},
  565. cmdLutElement{0x04, 0x0a, -1, 0x03, 0x0022, 0x0446},
  566. cmdLutElement{0x04, 0x18, -1, 0x03, 0x0022, 0x0846},
  567. cmdLutElement{0x04, 0x05, -1, 0x03, 0x0032, 0x0046},
  568. cmdLutElement{0x04, 0x05, -1, 0x03, 0x0032, 0x0066},
  569. cmdLutElement{0x04, 0x06, -1, 0x03, 0x0032, 0x0086},
  570. cmdLutElement{0x04, 0x07, -1, 0x03, 0x0032, 0x00c6},
  571. cmdLutElement{0x04, 0x08, -1, 0x03, 0x0032, 0x0146},
  572. cmdLutElement{0x04, 0x09, -1, 0x03, 0x0032, 0x0246},
  573. cmdLutElement{0x04, 0x0a, -1, 0x03, 0x0032, 0x0446},
  574. cmdLutElement{0x04, 0x18, -1, 0x03, 0x0032, 0x0846},
  575. cmdLutElement{0x05, 0x05, -1, 0x03, 0x0042, 0x0046},
  576. cmdLutElement{0x05, 0x05, -1, 0x03, 0x0042, 0x0066},
  577. cmdLutElement{0x05, 0x06, -1, 0x03, 0x0042, 0x0086},
  578. cmdLutElement{0x05, 0x07, -1, 0x03, 0x0042, 0x00c6},
  579. cmdLutElement{0x05, 0x08, -1, 0x03, 0x0042, 0x0146},
  580. cmdLutElement{0x05, 0x09, -1, 0x03, 0x0042, 0x0246},
  581. cmdLutElement{0x05, 0x0a, -1, 0x03, 0x0042, 0x0446},
  582. cmdLutElement{0x05, 0x18, -1, 0x03, 0x0042, 0x0846},
  583. cmdLutElement{0x05, 0x05, -1, 0x03, 0x0062, 0x0046},
  584. cmdLutElement{0x05, 0x05, -1, 0x03, 0x0062, 0x0066},
  585. cmdLutElement{0x05, 0x06, -1, 0x03, 0x0062, 0x0086},
  586. cmdLutElement{0x05, 0x07, -1, 0x03, 0x0062, 0x00c6},
  587. cmdLutElement{0x05, 0x08, -1, 0x03, 0x0062, 0x0146},
  588. cmdLutElement{0x05, 0x09, -1, 0x03, 0x0062, 0x0246},
  589. cmdLutElement{0x05, 0x0a, -1, 0x03, 0x0062, 0x0446},
  590. cmdLutElement{0x05, 0x18, -1, 0x03, 0x0062, 0x0846},
  591. cmdLutElement{0x06, 0x01, -1, 0x03, 0x0082, 0x000a},
  592. cmdLutElement{0x06, 0x01, -1, 0x03, 0x0082, 0x000c},
  593. cmdLutElement{0x06, 0x02, -1, 0x03, 0x0082, 0x000e},
  594. cmdLutElement{0x06, 0x02, -1, 0x03, 0x0082, 0x0012},
  595. cmdLutElement{0x06, 0x03, -1, 0x03, 0x0082, 0x0016},
  596. cmdLutElement{0x06, 0x03, -1, 0x03, 0x0082, 0x001e},
  597. cmdLutElement{0x06, 0x04, -1, 0x03, 0x0082, 0x0026},
  598. cmdLutElement{0x06, 0x04, -1, 0x03, 0x0082, 0x0036},
  599. cmdLutElement{0x07, 0x01, -1, 0x03, 0x00c2, 0x000a},
  600. cmdLutElement{0x07, 0x01, -1, 0x03, 0x00c2, 0x000c},
  601. cmdLutElement{0x07, 0x02, -1, 0x03, 0x00c2, 0x000e},
  602. cmdLutElement{0x07, 0x02, -1, 0x03, 0x00c2, 0x0012},
  603. cmdLutElement{0x07, 0x03, -1, 0x03, 0x00c2, 0x0016},
  604. cmdLutElement{0x07, 0x03, -1, 0x03, 0x00c2, 0x001e},
  605. cmdLutElement{0x07, 0x04, -1, 0x03, 0x00c2, 0x0026},
  606. cmdLutElement{0x07, 0x04, -1, 0x03, 0x00c2, 0x0036},
  607. cmdLutElement{0x08, 0x01, -1, 0x03, 0x0142, 0x000a},
  608. cmdLutElement{0x08, 0x01, -1, 0x03, 0x0142, 0x000c},
  609. cmdLutElement{0x08, 0x02, -1, 0x03, 0x0142, 0x000e},
  610. cmdLutElement{0x08, 0x02, -1, 0x03, 0x0142, 0x0012},
  611. cmdLutElement{0x08, 0x03, -1, 0x03, 0x0142, 0x0016},
  612. cmdLutElement{0x08, 0x03, -1, 0x03, 0x0142, 0x001e},
  613. cmdLutElement{0x08, 0x04, -1, 0x03, 0x0142, 0x0026},
  614. cmdLutElement{0x08, 0x04, -1, 0x03, 0x0142, 0x0036},
  615. cmdLutElement{0x09, 0x01, -1, 0x03, 0x0242, 0x000a},
  616. cmdLutElement{0x09, 0x01, -1, 0x03, 0x0242, 0x000c},
  617. cmdLutElement{0x09, 0x02, -1, 0x03, 0x0242, 0x000e},
  618. cmdLutElement{0x09, 0x02, -1, 0x03, 0x0242, 0x0012},
  619. cmdLutElement{0x09, 0x03, -1, 0x03, 0x0242, 0x0016},
  620. cmdLutElement{0x09, 0x03, -1, 0x03, 0x0242, 0x001e},
  621. cmdLutElement{0x09, 0x04, -1, 0x03, 0x0242, 0x0026},
  622. cmdLutElement{0x09, 0x04, -1, 0x03, 0x0242, 0x0036},
  623. cmdLutElement{0x0a, 0x01, -1, 0x03, 0x0442, 0x000a},
  624. cmdLutElement{0x0a, 0x01, -1, 0x03, 0x0442, 0x000c},
  625. cmdLutElement{0x0a, 0x02, -1, 0x03, 0x0442, 0x000e},
  626. cmdLutElement{0x0a, 0x02, -1, 0x03, 0x0442, 0x0012},
  627. cmdLutElement{0x0a, 0x03, -1, 0x03, 0x0442, 0x0016},
  628. cmdLutElement{0x0a, 0x03, -1, 0x03, 0x0442, 0x001e},
  629. cmdLutElement{0x0a, 0x04, -1, 0x03, 0x0442, 0x0026},
  630. cmdLutElement{0x0a, 0x04, -1, 0x03, 0x0442, 0x0036},
  631. cmdLutElement{0x0c, 0x01, -1, 0x03, 0x0842, 0x000a},
  632. cmdLutElement{0x0c, 0x01, -1, 0x03, 0x0842, 0x000c},
  633. cmdLutElement{0x0c, 0x02, -1, 0x03, 0x0842, 0x000e},
  634. cmdLutElement{0x0c, 0x02, -1, 0x03, 0x0842, 0x0012},
  635. cmdLutElement{0x0c, 0x03, -1, 0x03, 0x0842, 0x0016},
  636. cmdLutElement{0x0c, 0x03, -1, 0x03, 0x0842, 0x001e},
  637. cmdLutElement{0x0c, 0x04, -1, 0x03, 0x0842, 0x0026},
  638. cmdLutElement{0x0c, 0x04, -1, 0x03, 0x0842, 0x0036},
  639. cmdLutElement{0x0e, 0x01, -1, 0x03, 0x1842, 0x000a},
  640. cmdLutElement{0x0e, 0x01, -1, 0x03, 0x1842, 0x000c},
  641. cmdLutElement{0x0e, 0x02, -1, 0x03, 0x1842, 0x000e},
  642. cmdLutElement{0x0e, 0x02, -1, 0x03, 0x1842, 0x0012},
  643. cmdLutElement{0x0e, 0x03, -1, 0x03, 0x1842, 0x0016},
  644. cmdLutElement{0x0e, 0x03, -1, 0x03, 0x1842, 0x001e},
  645. cmdLutElement{0x0e, 0x04, -1, 0x03, 0x1842, 0x0026},
  646. cmdLutElement{0x0e, 0x04, -1, 0x03, 0x1842, 0x0036},
  647. cmdLutElement{0x18, 0x01, -1, 0x03, 0x5842, 0x000a},
  648. cmdLutElement{0x18, 0x01, -1, 0x03, 0x5842, 0x000c},
  649. cmdLutElement{0x18, 0x02, -1, 0x03, 0x5842, 0x000e},
  650. cmdLutElement{0x18, 0x02, -1, 0x03, 0x5842, 0x0012},
  651. cmdLutElement{0x18, 0x03, -1, 0x03, 0x5842, 0x0016},
  652. cmdLutElement{0x18, 0x03, -1, 0x03, 0x5842, 0x001e},
  653. cmdLutElement{0x18, 0x04, -1, 0x03, 0x5842, 0x0026},
  654. cmdLutElement{0x18, 0x04, -1, 0x03, 0x5842, 0x0036},
  655. cmdLutElement{0x06, 0x05, -1, 0x03, 0x0082, 0x0046},
  656. cmdLutElement{0x06, 0x05, -1, 0x03, 0x0082, 0x0066},
  657. cmdLutElement{0x06, 0x06, -1, 0x03, 0x0082, 0x0086},
  658. cmdLutElement{0x06, 0x07, -1, 0x03, 0x0082, 0x00c6},
  659. cmdLutElement{0x06, 0x08, -1, 0x03, 0x0082, 0x0146},
  660. cmdLutElement{0x06, 0x09, -1, 0x03, 0x0082, 0x0246},
  661. cmdLutElement{0x06, 0x0a, -1, 0x03, 0x0082, 0x0446},
  662. cmdLutElement{0x06, 0x18, -1, 0x03, 0x0082, 0x0846},
  663. cmdLutElement{0x07, 0x05, -1, 0x03, 0x00c2, 0x0046},
  664. cmdLutElement{0x07, 0x05, -1, 0x03, 0x00c2, 0x0066},
  665. cmdLutElement{0x07, 0x06, -1, 0x03, 0x00c2, 0x0086},
  666. cmdLutElement{0x07, 0x07, -1, 0x03, 0x00c2, 0x00c6},
  667. cmdLutElement{0x07, 0x08, -1, 0x03, 0x00c2, 0x0146},
  668. cmdLutElement{0x07, 0x09, -1, 0x03, 0x00c2, 0x0246},
  669. cmdLutElement{0x07, 0x0a, -1, 0x03, 0x00c2, 0x0446},
  670. cmdLutElement{0x07, 0x18, -1, 0x03, 0x00c2, 0x0846},
  671. cmdLutElement{0x08, 0x05, -1, 0x03, 0x0142, 0x0046},
  672. cmdLutElement{0x08, 0x05, -1, 0x03, 0x0142, 0x0066},
  673. cmdLutElement{0x08, 0x06, -1, 0x03, 0x0142, 0x0086},
  674. cmdLutElement{0x08, 0x07, -1, 0x03, 0x0142, 0x00c6},
  675. cmdLutElement{0x08, 0x08, -1, 0x03, 0x0142, 0x0146},
  676. cmdLutElement{0x08, 0x09, -1, 0x03, 0x0142, 0x0246},
  677. cmdLutElement{0x08, 0x0a, -1, 0x03, 0x0142, 0x0446},
  678. cmdLutElement{0x08, 0x18, -1, 0x03, 0x0142, 0x0846},
  679. cmdLutElement{0x09, 0x05, -1, 0x03, 0x0242, 0x0046},
  680. cmdLutElement{0x09, 0x05, -1, 0x03, 0x0242, 0x0066},
  681. cmdLutElement{0x09, 0x06, -1, 0x03, 0x0242, 0x0086},
  682. cmdLutElement{0x09, 0x07, -1, 0x03, 0x0242, 0x00c6},
  683. cmdLutElement{0x09, 0x08, -1, 0x03, 0x0242, 0x0146},
  684. cmdLutElement{0x09, 0x09, -1, 0x03, 0x0242, 0x0246},
  685. cmdLutElement{0x09, 0x0a, -1, 0x03, 0x0242, 0x0446},
  686. cmdLutElement{0x09, 0x18, -1, 0x03, 0x0242, 0x0846},
  687. cmdLutElement{0x0a, 0x05, -1, 0x03, 0x0442, 0x0046},
  688. cmdLutElement{0x0a, 0x05, -1, 0x03, 0x0442, 0x0066},
  689. cmdLutElement{0x0a, 0x06, -1, 0x03, 0x0442, 0x0086},
  690. cmdLutElement{0x0a, 0x07, -1, 0x03, 0x0442, 0x00c6},
  691. cmdLutElement{0x0a, 0x08, -1, 0x03, 0x0442, 0x0146},
  692. cmdLutElement{0x0a, 0x09, -1, 0x03, 0x0442, 0x0246},
  693. cmdLutElement{0x0a, 0x0a, -1, 0x03, 0x0442, 0x0446},
  694. cmdLutElement{0x0a, 0x18, -1, 0x03, 0x0442, 0x0846},
  695. cmdLutElement{0x0c, 0x05, -1, 0x03, 0x0842, 0x0046},
  696. cmdLutElement{0x0c, 0x05, -1, 0x03, 0x0842, 0x0066},
  697. cmdLutElement{0x0c, 0x06, -1, 0x03, 0x0842, 0x0086},
  698. cmdLutElement{0x0c, 0x07, -1, 0x03, 0x0842, 0x00c6},
  699. cmdLutElement{0x0c, 0x08, -1, 0x03, 0x0842, 0x0146},
  700. cmdLutElement{0x0c, 0x09, -1, 0x03, 0x0842, 0x0246},
  701. cmdLutElement{0x0c, 0x0a, -1, 0x03, 0x0842, 0x0446},
  702. cmdLutElement{0x0c, 0x18, -1, 0x03, 0x0842, 0x0846},
  703. cmdLutElement{0x0e, 0x05, -1, 0x03, 0x1842, 0x0046},
  704. cmdLutElement{0x0e, 0x05, -1, 0x03, 0x1842, 0x0066},
  705. cmdLutElement{0x0e, 0x06, -1, 0x03, 0x1842, 0x0086},
  706. cmdLutElement{0x0e, 0x07, -1, 0x03, 0x1842, 0x00c6},
  707. cmdLutElement{0x0e, 0x08, -1, 0x03, 0x1842, 0x0146},
  708. cmdLutElement{0x0e, 0x09, -1, 0x03, 0x1842, 0x0246},
  709. cmdLutElement{0x0e, 0x0a, -1, 0x03, 0x1842, 0x0446},
  710. cmdLutElement{0x0e, 0x18, -1, 0x03, 0x1842, 0x0846},
  711. cmdLutElement{0x18, 0x05, -1, 0x03, 0x5842, 0x0046},
  712. cmdLutElement{0x18, 0x05, -1, 0x03, 0x5842, 0x0066},
  713. cmdLutElement{0x18, 0x06, -1, 0x03, 0x5842, 0x0086},
  714. cmdLutElement{0x18, 0x07, -1, 0x03, 0x5842, 0x00c6},
  715. cmdLutElement{0x18, 0x08, -1, 0x03, 0x5842, 0x0146},
  716. cmdLutElement{0x18, 0x09, -1, 0x03, 0x5842, 0x0246},
  717. cmdLutElement{0x18, 0x0a, -1, 0x03, 0x5842, 0x0446},
  718. cmdLutElement{0x18, 0x18, -1, 0x03, 0x5842, 0x0846},
  719. }