truemotion1data.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  1. /*
  2. * Duck Truemotion v1 Decoding Tables
  3. *
  4. * Data in this file was originally part of VpVision from On2 which is
  5. * distributed under the GNU GPL. It is redistributed with libavcodec under
  6. * the GNU LGPL using the common understanding that data tables necessary
  7. * for decoding algorithms are not necessarily copyrightable.
  8. *
  9. * This file is part of FFmpeg.
  10. *
  11. * FFmpeg is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU Lesser General Public
  13. * License as published by the Free Software Foundation; either
  14. * version 2.1 of the License, or (at your option) any later version.
  15. *
  16. * FFmpeg is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  19. * Lesser General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU Lesser General Public
  22. * License along with FFmpeg; if not, write to the Free Software
  23. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  24. */
  25. #ifndef AVCODEC_TRUEMOTION1DATA_H
  26. #define AVCODEC_TRUEMOTION1DATA_H
  27. #include <stdint.h>
  28. #include <stdlib.h>
  29. /* Y delta tables, skinny and fat */
  30. static const int16_t ydt1[8] = { 0, -2, 2, -6, 6, -12, 12, -12 };
  31. static const int16_t ydt2[8] = { 0, -2, 4, -6, 8, -12, 12, -12 };
  32. static const int16_t ydt3[8] = { 4, -6, 20, -20, 46, -46, 94, -94 };
  33. static const int16_t fat_ydt3[8] = { 0, -15, 50, -50, 115, -115, 235, -235 };
  34. static const int16_t ydt4[8] = { 0, -4, 4, -16, 16, -36, 36, -80 };
  35. /* NOTE: This table breaks the [+,-] pattern that the rest of the
  36. * tables maintain. Is this intentional? */
  37. static const int16_t fat_ydt4[8] = { 0, 40, 80, -76, 160, -154, 236, -236 };
  38. /* C delta tables, skinny and fat */
  39. static const int16_t cdt1[8] = { 0, -1, 1, -2, 3, -4, 5, -4 };
  40. static const int16_t cdt2[8] = { 0, -4, 3, -16, 20, -32, 36, -32 };
  41. static const int16_t fat_cdt2[8] = { 0, -20, 15, -80, 100, -160, 180, -160 };
  42. static const int16_t cdt3[8] = { 0, -2, 2, -8, 8, -18, 18, -40 };
  43. /* all the delta tables to choose from, at all 4 delta levels */
  44. static const int16_t * const ydts[] = { ydt1, ydt2, ydt3, ydt4, NULL };
  45. static const int16_t * const fat_ydts[] = { fat_ydt3, fat_ydt3, fat_ydt3, fat_ydt4, NULL };
  46. static const int16_t * const cdts[] = { cdt1, cdt1, cdt2, cdt3, NULL };
  47. static const int16_t * const fat_cdts[] = { fat_cdt2, fat_cdt2, fat_cdt2, fat_ydt4, NULL };
  48. static const uint8_t pc_tbl2[] = {
  49. 0x8,0x00,0x00,0x00,0x00,
  50. 0x8,0x00,0x00,0x00,0x00,
  51. 0x8,0x10,0x00,0x00,0x00,
  52. 0x8,0x01,0x00,0x00,0x00,
  53. 0x8,0x00,0x10,0x00,0x00,
  54. 0x8,0x00,0x01,0x00,0x00,
  55. 0x8,0x00,0x00,0x10,0x00,
  56. 0x8,0x00,0x00,0x01,0x00,
  57. 0x8,0x00,0x00,0x00,0x10,
  58. 0x8,0x00,0x00,0x00,0x01,
  59. 0x6,0x00,0x00,0x00,
  60. 0x6,0x10,0x00,0x00,
  61. 0x6,0x01,0x00,0x00,
  62. 0x6,0x00,0x10,0x00,
  63. 0x6,0x00,0x01,0x00,
  64. 0x6,0x00,0x00,0x01,
  65. 0x6,0x00,0x00,0x10,
  66. 0x6,0x00,0x00,0x02,
  67. 0x6,0x00,0x00,0x20,
  68. 0x6,0x20,0x10,0x00,
  69. 0x6,0x00,0x02,0x01,
  70. 0x6,0x00,0x20,0x10,
  71. 0x6,0x02,0x01,0x00,
  72. 0x6,0x11,0x00,0x00,
  73. 0x6,0x00,0x20,0x00,
  74. 0x6,0x00,0x02,0x00,
  75. 0x6,0x20,0x00,0x00,
  76. 0x6,0x01,0x10,0x00,
  77. 0x6,0x02,0x00,0x00,
  78. 0x6,0x01,0x00,0x02,
  79. 0x6,0x10,0x00,0x20,
  80. 0x6,0x00,0x01,0x02,
  81. 0x6,0x10,0x01,0x00,
  82. 0x6,0x00,0x10,0x20,
  83. 0x6,0x10,0x10,0x00,
  84. 0x6,0x10,0x00,0x01,
  85. 0x6,0x20,0x00,0x10,
  86. 0x6,0x02,0x00,0x01,
  87. 0x6,0x01,0x01,0x00,
  88. 0x6,0x01,0x00,0x10,
  89. 0x6,0x00,0x11,0x00,
  90. 0x6,0x10,0x00,0x02,
  91. 0x6,0x00,0x01,0x10,
  92. 0x6,0x00,0x00,0x11,
  93. 0x6,0x10,0x00,0x10,
  94. 0x6,0x01,0x00,0x01,
  95. 0x6,0x00,0x00,0x22,
  96. 0x6,0x02,0x01,0x01,
  97. 0x6,0x10,0x20,0x10,
  98. 0x6,0x01,0x02,0x01,
  99. 0x6,0x20,0x10,0x10,
  100. 0x6,0x01,0x00,0x20,
  101. 0x6,0x00,0x10,0x01,
  102. 0x6,0x21,0x10,0x00,
  103. 0x6,0x10,0x02,0x01,
  104. 0x6,0x12,0x01,0x00,
  105. 0x6,0x01,0x20,0x10,
  106. 0x6,0x01,0x02,0x00,
  107. 0x6,0x10,0x20,0x00,
  108. 0x6,0x00,0x10,0x02,
  109. 0x6,0x00,0x01,0x20,
  110. 0x6,0x00,0x02,0x21,
  111. 0x6,0x00,0x02,0x20,
  112. 0x6,0x00,0x00,0x12,
  113. 0x6,0x00,0x00,0x21,
  114. 0x6,0x20,0x11,0x00,
  115. 0x6,0x00,0x01,0x01,
  116. 0x6,0x11,0x10,0x00,
  117. 0x6,0x00,0x20,0x12,
  118. 0x6,0x00,0x20,0x11,
  119. 0x6,0x20,0x10,0x02,
  120. 0x6,0x02,0x01,0x20,
  121. 0x6,0x00,0x22,0x11,
  122. 0x6,0x00,0x10,0x10,
  123. 0x6,0x02,0x11,0x00,
  124. 0x6,0x00,0x21,0x10,
  125. 0x6,0x00,0x02,0x03,
  126. 0x6,0x20,0x10,0x01,
  127. 0x6,0x00,0x12,0x01,
  128. 0x4,0x11,0x00,
  129. 0x4,0x00,0x22,
  130. 0x4,0x20,0x00,
  131. 0x4,0x01,0x10,
  132. 0x4,0x02,0x20,
  133. 0x4,0x00,0x20,
  134. 0x4,0x02,0x00,
  135. 0x4,0x10,0x01,
  136. 0x4,0x00,0x11,
  137. 0x4,0x02,0x01,
  138. 0x4,0x02,0x21,
  139. 0x4,0x00,0x02,
  140. 0x4,0x20,0x02,
  141. 0x4,0x01,0x01,
  142. 0x4,0x10,0x10,
  143. 0x4,0x10,0x02,
  144. 0x4,0x22,0x00,
  145. 0x4,0x10,0x00,
  146. 0x4,0x01,0x00,
  147. 0x4,0x21,0x00,
  148. 0x4,0x12,0x00,
  149. 0x4,0x00,0x10,
  150. 0x4,0x20,0x12,
  151. 0x4,0x01,0x11,
  152. 0x4,0x00,0x01,
  153. 0x4,0x01,0x02,
  154. 0x4,0x11,0x02,
  155. 0x4,0x11,0x01,
  156. 0x4,0x10,0x20,
  157. 0x4,0x20,0x01,
  158. 0x4,0x22,0x11,
  159. 0x4,0x00,0x12,
  160. 0x4,0x20,0x10,
  161. 0x4,0x22,0x01,
  162. 0x4,0x01,0x20,
  163. 0x4,0x00,0x21,
  164. 0x4,0x10,0x11,
  165. 0x4,0x21,0x10,
  166. 0x4,0x10,0x22,
  167. 0x4,0x02,0x03,
  168. 0x4,0x12,0x01,
  169. 0x4,0x20,0x11,
  170. 0x4,0x11,0x10,
  171. 0x4,0x20,0x30,
  172. 0x4,0x11,0x20,
  173. 0x4,0x02,0x10,
  174. 0x4,0x22,0x10,
  175. 0x4,0x11,0x11,
  176. 0x4,0x30,0x20,
  177. 0x4,0x30,0x00,
  178. 0x4,0x01,0x22,
  179. 0x4,0x01,0x12,
  180. 0x4,0x02,0x11,
  181. 0x4,0x03,0x02,
  182. 0x4,0x03,0x00,
  183. 0x4,0x10,0x21,
  184. 0x4,0x12,0x20,
  185. 0x4,0x00,0x00,
  186. 0x4,0x12,0x21,
  187. 0x4,0x21,0x11,
  188. 0x4,0x02,0x22,
  189. 0x4,0x10,0x12,
  190. 0x4,0x31,0x00,
  191. 0x4,0x20,0x20,
  192. 0x4,0x00,0x03,
  193. 0x4,0x02,0x02,
  194. 0x4,0x22,0x20,
  195. 0x4,0x01,0x21,
  196. 0x4,0x21,0x02,
  197. 0x4,0x21,0x12,
  198. 0x4,0x11,0x22,
  199. 0x4,0x00,0x30,
  200. 0x4,0x12,0x11,
  201. 0x4,0x20,0x22,
  202. 0x4,0x31,0x20,
  203. 0x4,0x21,0x30,
  204. 0x4,0x22,0x02,
  205. 0x4,0x22,0x22,
  206. 0x4,0x20,0x31,
  207. 0x4,0x13,0x02,
  208. 0x4,0x03,0x10,
  209. 0x4,0x11,0x12,
  210. 0x4,0x00,0x13,
  211. 0x4,0x21,0x01,
  212. 0x4,0x12,0x03,
  213. 0x4,0x13,0x00,
  214. 0x4,0x13,0x10,
  215. 0x4,0x02,0x13,
  216. 0x4,0x30,0x01,
  217. 0x4,0x12,0x10,
  218. 0x4,0x22,0x13,
  219. 0x4,0x03,0x12,
  220. 0x4,0x31,0x01,
  221. 0x4,0x30,0x22,
  222. 0x4,0x00,0x31,
  223. 0x4,0x01,0x31,
  224. 0x4,0x02,0x23,
  225. 0x4,0x01,0x30,
  226. 0x4,0x11,0x21,
  227. 0x4,0x22,0x21,
  228. 0x4,0x01,0x13,
  229. 0x4,0x10,0x03,
  230. 0x4,0x22,0x03,
  231. 0x4,0x30,0x21,
  232. 0x4,0x21,0x31,
  233. 0x4,0x33,0x00,
  234. 0x4,0x13,0x12,
  235. 0x4,0x11,0x31,
  236. 0x4,0x30,0x02,
  237. 0x4,0x12,0x02,
  238. 0x4,0x11,0x13,
  239. 0x4,0x12,0x22,
  240. 0x4,0x20,0x32,
  241. 0x4,0x10,0x13,
  242. 0x4,0x22,0x31,
  243. 0x4,0x21,0x20,
  244. 0x4,0x01,0x33,
  245. 0x4,0x33,0x10,
  246. 0x4,0x20,0x13,
  247. 0x4,0x31,0x22,
  248. 0x4,0x13,0x30,
  249. 0x4,0x01,0x03,
  250. 0x4,0x11,0x33,
  251. 0x4,0x20,0x21,
  252. 0x4,0x13,0x31,
  253. 0x4,0x03,0x22,
  254. 0x4,0x31,0x02,
  255. 0x4,0x00,0x24,
  256. 0x2,0x00,
  257. 0x2,0x10,
  258. 0x2,0x20,
  259. 0x2,0x30,
  260. 0x2,0x40,
  261. 0x2,0x50,
  262. 0x2,0x60,
  263. 0x2,0x01,
  264. 0x2,0x11,
  265. 0x2,0x21,
  266. 0x2,0x31,
  267. 0x2,0x41,
  268. 0x2,0x51,
  269. 0x2,0x61,
  270. 0x2,0x02,
  271. 0x2,0x12,
  272. 0x2,0x22,
  273. 0x2,0x32,
  274. 0x2,0x42,
  275. 0x2,0x52,
  276. 0x2,0x62,
  277. 0x2,0x03,
  278. 0x2,0x13,
  279. 0x2,0x23,
  280. 0x2,0x33,
  281. 0x2,0x43,
  282. 0x2,0x53,
  283. 0x2,0x63,
  284. 0x2,0x04,
  285. 0x2,0x14,
  286. 0x2,0x24,
  287. 0x2,0x34,
  288. 0x2,0x44,
  289. 0x2,0x54,
  290. 0x2,0x64,
  291. 0x2,0x05,
  292. 0x2,0x15,
  293. 0x2,0x25,
  294. 0x2,0x35,
  295. 0x2,0x45,
  296. 0x2,0x55,
  297. 0x2,0x65,
  298. 0x2,0x06,
  299. 0x2,0x16,
  300. 0x2,0x26,
  301. 0x2,0x36,
  302. 0x2,0x46,
  303. 0x2,0x56,
  304. 0x2,0x66
  305. };
  306. static const uint8_t pc_tbl3[] = {
  307. 0x6,0x00,0x00,0x00,
  308. 0x6,0x00,0x00,0x00,
  309. 0x6,0x00,0x00,0x01,
  310. 0x6,0x00,0x00,0x10,
  311. 0x6,0x00,0x00,0x11,
  312. 0x6,0x00,0x01,0x00,
  313. 0x6,0x00,0x01,0x01,
  314. 0x6,0x00,0x01,0x10,
  315. 0x6,0x00,0x01,0x11,
  316. 0x6,0x00,0x10,0x00,
  317. 0x6,0x00,0x10,0x01,
  318. 0x6,0x00,0x10,0x10,
  319. 0x6,0x00,0x10,0x11,
  320. 0x6,0x00,0x11,0x00,
  321. 0x6,0x00,0x11,0x01,
  322. 0x6,0x00,0x11,0x10,
  323. 0x6,0x00,0x11,0x11,
  324. 0x6,0x01,0x00,0x00,
  325. 0x6,0x01,0x00,0x01,
  326. 0x6,0x01,0x00,0x10,
  327. 0x6,0x01,0x00,0x11,
  328. 0x6,0x01,0x01,0x00,
  329. 0x6,0x01,0x01,0x01,
  330. 0x6,0x01,0x01,0x10,
  331. 0x6,0x01,0x01,0x11,
  332. 0x6,0x01,0x10,0x00,
  333. 0x6,0x01,0x10,0x01,
  334. 0x6,0x01,0x10,0x10,
  335. 0x6,0x01,0x10,0x11,
  336. 0x6,0x01,0x11,0x00,
  337. 0x6,0x01,0x11,0x01,
  338. 0x6,0x01,0x11,0x10,
  339. 0x6,0x01,0x11,0x11,
  340. 0x6,0x10,0x00,0x00,
  341. 0x6,0x10,0x00,0x01,
  342. 0x6,0x10,0x00,0x10,
  343. 0x6,0x10,0x00,0x11,
  344. 0x6,0x10,0x01,0x00,
  345. 0x6,0x10,0x01,0x01,
  346. 0x6,0x10,0x01,0x10,
  347. 0x6,0x10,0x01,0x11,
  348. 0x6,0x10,0x10,0x00,
  349. 0x6,0x10,0x10,0x01,
  350. 0x6,0x10,0x10,0x10,
  351. 0x6,0x10,0x10,0x11,
  352. 0x6,0x10,0x11,0x00,
  353. 0x6,0x10,0x11,0x01,
  354. 0x6,0x10,0x11,0x10,
  355. 0x6,0x10,0x11,0x11,
  356. 0x6,0x11,0x00,0x00,
  357. 0x6,0x11,0x00,0x01,
  358. 0x6,0x11,0x00,0x10,
  359. 0x6,0x11,0x00,0x11,
  360. 0x6,0x11,0x01,0x00,
  361. 0x6,0x11,0x01,0x01,
  362. 0x6,0x11,0x01,0x10,
  363. 0x6,0x11,0x01,0x11,
  364. 0x6,0x11,0x10,0x00,
  365. 0x6,0x11,0x10,0x01,
  366. 0x6,0x11,0x10,0x10,
  367. 0x6,0x11,0x10,0x11,
  368. 0x6,0x11,0x11,0x00,
  369. 0x6,0x11,0x11,0x01,
  370. 0x6,0x11,0x11,0x10,
  371. 0x4,0x00,0x00,
  372. 0x4,0x00,0x01,
  373. 0x4,0x00,0x02,
  374. 0x4,0x00,0x03,
  375. 0x4,0x00,0x10,
  376. 0x4,0x00,0x11,
  377. 0x4,0x00,0x12,
  378. 0x4,0x00,0x13,
  379. 0x4,0x00,0x20,
  380. 0x4,0x00,0x21,
  381. 0x4,0x00,0x22,
  382. 0x4,0x00,0x23,
  383. 0x4,0x00,0x30,
  384. 0x4,0x00,0x31,
  385. 0x4,0x00,0x32,
  386. 0x4,0x00,0x33,
  387. 0x4,0x01,0x00,
  388. 0x4,0x01,0x01,
  389. 0x4,0x01,0x02,
  390. 0x4,0x01,0x03,
  391. 0x4,0x01,0x10,
  392. 0x4,0x01,0x11,
  393. 0x4,0x01,0x12,
  394. 0x4,0x01,0x13,
  395. 0x4,0x01,0x20,
  396. 0x4,0x01,0x21,
  397. 0x4,0x01,0x22,
  398. 0x4,0x01,0x23,
  399. 0x4,0x01,0x30,
  400. 0x4,0x01,0x31,
  401. 0x4,0x01,0x32,
  402. 0x4,0x01,0x33,
  403. 0x4,0x02,0x00,
  404. 0x4,0x02,0x01,
  405. 0x4,0x02,0x02,
  406. 0x4,0x02,0x03,
  407. 0x4,0x02,0x10,
  408. 0x4,0x02,0x11,
  409. 0x4,0x02,0x12,
  410. 0x4,0x02,0x13,
  411. 0x4,0x02,0x20,
  412. 0x4,0x02,0x21,
  413. 0x4,0x02,0x22,
  414. 0x4,0x02,0x23,
  415. 0x4,0x02,0x30,
  416. 0x4,0x02,0x31,
  417. 0x4,0x02,0x32,
  418. 0x4,0x02,0x33,
  419. 0x4,0x03,0x00,
  420. 0x4,0x03,0x01,
  421. 0x4,0x03,0x02,
  422. 0x4,0x03,0x03,
  423. 0x4,0x03,0x10,
  424. 0x4,0x03,0x11,
  425. 0x4,0x03,0x12,
  426. 0x4,0x03,0x13,
  427. 0x4,0x03,0x20,
  428. 0x4,0x03,0x21,
  429. 0x4,0x03,0x22,
  430. 0x4,0x03,0x23,
  431. 0x4,0x03,0x30,
  432. 0x4,0x03,0x31,
  433. 0x4,0x03,0x32,
  434. 0x4,0x03,0x33,
  435. 0x4,0x10,0x00,
  436. 0x4,0x10,0x01,
  437. 0x4,0x10,0x02,
  438. 0x4,0x10,0x03,
  439. 0x4,0x10,0x10,
  440. 0x4,0x10,0x11,
  441. 0x4,0x10,0x12,
  442. 0x4,0x10,0x13,
  443. 0x4,0x10,0x20,
  444. 0x4,0x10,0x21,
  445. 0x4,0x10,0x22,
  446. 0x4,0x10,0x23,
  447. 0x4,0x10,0x30,
  448. 0x4,0x10,0x31,
  449. 0x4,0x10,0x32,
  450. 0x4,0x10,0x33,
  451. 0x4,0x11,0x00,
  452. 0x4,0x11,0x01,
  453. 0x4,0x11,0x02,
  454. 0x4,0x11,0x03,
  455. 0x4,0x11,0x10,
  456. 0x4,0x11,0x11,
  457. 0x4,0x11,0x12,
  458. 0x4,0x11,0x13,
  459. 0x4,0x11,0x20,
  460. 0x4,0x11,0x21,
  461. 0x4,0x11,0x22,
  462. 0x4,0x11,0x23,
  463. 0x4,0x11,0x30,
  464. 0x4,0x11,0x31,
  465. 0x4,0x11,0x32,
  466. 0x4,0x11,0x33,
  467. 0x4,0x12,0x00,
  468. 0x4,0x12,0x01,
  469. 0x4,0x12,0x02,
  470. 0x4,0x12,0x03,
  471. 0x4,0x12,0x10,
  472. 0x4,0x12,0x11,
  473. 0x4,0x12,0x12,
  474. 0x4,0x12,0x13,
  475. 0x4,0x12,0x20,
  476. 0x4,0x12,0x21,
  477. 0x4,0x12,0x22,
  478. 0x4,0x12,0x23,
  479. 0x4,0x12,0x30,
  480. 0x4,0x12,0x31,
  481. 0x4,0x12,0x32,
  482. 0x4,0x12,0x33,
  483. 0x4,0x13,0x00,
  484. 0x4,0x13,0x01,
  485. 0x4,0x13,0x02,
  486. 0x4,0x13,0x03,
  487. 0x4,0x13,0x10,
  488. 0x4,0x13,0x11,
  489. 0x4,0x13,0x12,
  490. 0x4,0x13,0x13,
  491. 0x4,0x13,0x20,
  492. 0x4,0x13,0x21,
  493. 0x4,0x13,0x22,
  494. 0x4,0x13,0x23,
  495. 0x4,0x13,0x30,
  496. 0x4,0x13,0x31,
  497. 0x4,0x13,0x32,
  498. 0x4,0x13,0x33,
  499. 0x2,0x00,
  500. 0x2,0x10,
  501. 0x2,0x20,
  502. 0x2,0x30,
  503. 0x2,0x40,
  504. 0x2,0x50,
  505. 0x2,0x60,
  506. 0x2,0x70,
  507. 0x2,0x01,
  508. 0x2,0x11,
  509. 0x2,0x21,
  510. 0x2,0x31,
  511. 0x2,0x41,
  512. 0x2,0x51,
  513. 0x2,0x61,
  514. 0x2,0x71,
  515. 0x2,0x02,
  516. 0x2,0x12,
  517. 0x2,0x22,
  518. 0x2,0x32,
  519. 0x2,0x42,
  520. 0x2,0x52,
  521. 0x2,0x62,
  522. 0x2,0x72,
  523. 0x2,0x03,
  524. 0x2,0x13,
  525. 0x2,0x23,
  526. 0x2,0x33,
  527. 0x2,0x43,
  528. 0x2,0x53,
  529. 0x2,0x63,
  530. 0x2,0x73,
  531. 0x2,0x04,
  532. 0x2,0x14,
  533. 0x2,0x24,
  534. 0x2,0x34,
  535. 0x2,0x44,
  536. 0x2,0x54,
  537. 0x2,0x64,
  538. 0x2,0x74,
  539. 0x2,0x05,
  540. 0x2,0x15,
  541. 0x2,0x25,
  542. 0x2,0x35,
  543. 0x2,0x45,
  544. 0x2,0x55,
  545. 0x2,0x65,
  546. 0x2,0x75,
  547. 0x2,0x06,
  548. 0x2,0x16,
  549. 0x2,0x26,
  550. 0x2,0x36,
  551. 0x2,0x46,
  552. 0x2,0x56,
  553. 0x2,0x66,
  554. 0x2,0x76,
  555. 0x2,0x07,
  556. 0x2,0x17,
  557. 0x2,0x27,
  558. 0x2,0x37,
  559. 0x2,0x47,
  560. 0x2,0x57,
  561. 0x2,0x67,
  562. 0x2,0x77
  563. };
  564. static const uint8_t pc_tbl4[] = {
  565. 0x8,0x00,0x00,0x00,0x00,
  566. 0x8,0x00,0x00,0x00,0x00,
  567. 0x8,0x20,0x00,0x00,0x00,
  568. 0x8,0x00,0x00,0x00,0x01,
  569. 0x8,0x10,0x00,0x00,0x00,
  570. 0x8,0x00,0x00,0x00,0x02,
  571. 0x8,0x01,0x00,0x00,0x00,
  572. 0x8,0x00,0x00,0x00,0x10,
  573. 0x8,0x02,0x00,0x00,0x00,
  574. 0x6,0x00,0x00,0x00,
  575. 0x6,0x20,0x00,0x00,
  576. 0x6,0x00,0x00,0x01,
  577. 0x6,0x10,0x00,0x00,
  578. 0x6,0x00,0x00,0x02,
  579. 0x6,0x00,0x10,0x00,
  580. 0x6,0x00,0x20,0x00,
  581. 0x6,0x00,0x02,0x00,
  582. 0x6,0x00,0x01,0x00,
  583. 0x6,0x01,0x00,0x00,
  584. 0x6,0x00,0x00,0x20,
  585. 0x6,0x02,0x00,0x00,
  586. 0x6,0x00,0x00,0x10,
  587. 0x6,0x10,0x00,0x20,
  588. 0x6,0x01,0x00,0x02,
  589. 0x6,0x20,0x00,0x10,
  590. 0x6,0x02,0x00,0x01,
  591. 0x6,0x20,0x10,0x00,
  592. 0x6,0x00,0x12,0x00,
  593. 0x6,0x00,0x02,0x01,
  594. 0x6,0x02,0x01,0x00,
  595. 0x6,0x00,0x21,0x00,
  596. 0x6,0x00,0x01,0x02,
  597. 0x6,0x00,0x20,0x10,
  598. 0x6,0x00,0x00,0x21,
  599. 0x6,0x00,0x00,0x12,
  600. 0x6,0x00,0x01,0x20,
  601. 0x6,0x12,0x00,0x00,
  602. 0x6,0x00,0x10,0x20,
  603. 0x6,0x01,0x20,0x00,
  604. 0x6,0x02,0x10,0x00,
  605. 0x6,0x10,0x20,0x00,
  606. 0x6,0x01,0x02,0x00,
  607. 0x6,0x21,0x00,0x00,
  608. 0x6,0x00,0x02,0x10,
  609. 0x6,0x20,0x01,0x00,
  610. 0x6,0x00,0x22,0x00,
  611. 0x6,0x10,0x02,0x00,
  612. 0x6,0x00,0x10,0x02,
  613. 0x6,0x11,0x00,0x00,
  614. 0x6,0x00,0x11,0x00,
  615. 0x6,0x22,0x00,0x00,
  616. 0x6,0x20,0x00,0x02,
  617. 0x6,0x10,0x00,0x01,
  618. 0x6,0x00,0x20,0x01,
  619. 0x6,0x02,0x20,0x00,
  620. 0x6,0x01,0x10,0x00,
  621. 0x6,0x01,0x00,0x20,
  622. 0x6,0x00,0x20,0x02,
  623. 0x6,0x01,0x20,0x02,
  624. 0x6,0x10,0x01,0x00,
  625. 0x6,0x02,0x00,0x10,
  626. 0x6,0x00,0x10,0x01,
  627. 0x6,0x10,0x01,0x20,
  628. 0x6,0x20,0x02,0x10,
  629. 0x6,0x00,0x00,0x22,
  630. 0x6,0x10,0x00,0x02,
  631. 0x6,0x00,0x02,0x20,
  632. 0x6,0x20,0x02,0x00,
  633. 0x6,0x00,0x00,0x11,
  634. 0x6,0x02,0x10,0x01,
  635. 0x6,0x00,0x01,0x10,
  636. 0x6,0x00,0x02,0x11,
  637. 0x4,0x01,0x02,
  638. 0x4,0x02,0x01,
  639. 0x4,0x01,0x00,
  640. 0x4,0x10,0x20,
  641. 0x4,0x20,0x10,
  642. 0x4,0x20,0x00,
  643. 0x4,0x11,0x00,
  644. 0x4,0x02,0x00,
  645. 0x4,0x12,0x00,
  646. 0x4,0x00,0x21,
  647. 0x4,0x22,0x00,
  648. 0x4,0x00,0x12,
  649. 0x4,0x21,0x00,
  650. 0x4,0x02,0x11,
  651. 0x4,0x00,0x01,
  652. 0x4,0x10,0x02,
  653. 0x4,0x02,0x20,
  654. 0x4,0x20,0x11,
  655. 0x4,0x01,0x10,
  656. 0x4,0x21,0x10,
  657. 0x4,0x10,0x00,
  658. 0x4,0x10,0x22,
  659. 0x4,0x20,0x20,
  660. 0x4,0x00,0x22,
  661. 0x4,0x01,0x22,
  662. 0x4,0x20,0x01,
  663. 0x4,0x02,0x02,
  664. 0x4,0x00,0x20,
  665. 0x4,0x00,0x10,
  666. 0x4,0x00,0x11,
  667. 0x4,0x22,0x01,
  668. 0x4,0x11,0x20,
  669. 0x4,0x12,0x01,
  670. 0x4,0x12,0x20,
  671. 0x4,0x11,0x02,
  672. 0x4,0x10,0x10,
  673. 0x4,0x01,0x01,
  674. 0x4,0x02,0x21,
  675. 0x4,0x20,0x12,
  676. 0x4,0x01,0x12,
  677. 0x4,0x22,0x11,
  678. 0x4,0x21,0x12,
  679. 0x4,0x22,0x10,
  680. 0x4,0x21,0x02,
  681. 0x4,0x20,0x02,
  682. 0x4,0x10,0x01,
  683. 0x4,0x00,0x02,
  684. 0x4,0x10,0x21,
  685. 0x4,0x01,0x20,
  686. 0x4,0x11,0x22,
  687. 0x4,0x12,0x21,
  688. 0x4,0x22,0x20,
  689. 0x4,0x02,0x10,
  690. 0x4,0x02,0x22,
  691. 0x4,0x11,0x10,
  692. 0x4,0x22,0x02,
  693. 0x4,0x20,0x21,
  694. 0x4,0x01,0x11,
  695. 0x4,0x11,0x01,
  696. 0x4,0x10,0x12,
  697. 0x4,0x02,0x12,
  698. 0x4,0x20,0x22,
  699. 0x4,0x21,0x20,
  700. 0x4,0x01,0x21,
  701. 0x4,0x12,0x02,
  702. 0x4,0x21,0x11,
  703. 0x4,0x12,0x22,
  704. 0x4,0x12,0x10,
  705. 0x4,0x22,0x21,
  706. 0x4,0x10,0x11,
  707. 0x4,0x21,0x01,
  708. 0x4,0x11,0x12,
  709. 0x4,0x12,0x11,
  710. 0x4,0x66,0x66,
  711. 0x4,0x22,0x22,
  712. 0x4,0x11,0x21,
  713. 0x4,0x11,0x11,
  714. 0x4,0x21,0x22,
  715. 0x4,0x00,0x00,
  716. 0x4,0x22,0x12,
  717. 0x4,0x12,0x12,
  718. 0x4,0x21,0x21,
  719. 0x4,0x42,0x00,
  720. 0x4,0x00,0x04,
  721. 0x4,0x40,0x00,
  722. 0x4,0x30,0x00,
  723. 0x4,0x31,0x00,
  724. 0x4,0x00,0x03,
  725. 0x4,0x00,0x14,
  726. 0x4,0x00,0x13,
  727. 0x4,0x01,0x24,
  728. 0x4,0x20,0x13,
  729. 0x4,0x01,0x42,
  730. 0x4,0x14,0x20,
  731. 0x4,0x42,0x02,
  732. 0x4,0x13,0x00,
  733. 0x4,0x00,0x24,
  734. 0x4,0x31,0x20,
  735. 0x4,0x22,0x13,
  736. 0x4,0x11,0x24,
  737. 0x4,0x12,0x66,
  738. 0x4,0x30,0x01,
  739. 0x4,0x02,0x13,
  740. 0x4,0x12,0x42,
  741. 0x4,0x40,0x10,
  742. 0x4,0x40,0x02,
  743. 0x4,0x01,0x04,
  744. 0x4,0x24,0x00,
  745. 0x4,0x42,0x10,
  746. 0x4,0x21,0x13,
  747. 0x4,0x13,0x12,
  748. 0x4,0x31,0x21,
  749. 0x4,0x21,0x24,
  750. 0x4,0x00,0x40,
  751. 0x4,0x10,0x24,
  752. 0x4,0x10,0x42,
  753. 0x4,0x32,0x01,
  754. 0x4,0x11,0x42,
  755. 0x4,0x20,0x31,
  756. 0x4,0x12,0x40,
  757. 0x2,0x00,
  758. 0x2,0x10,
  759. 0x2,0x20,
  760. 0x2,0x30,
  761. 0x2,0x40,
  762. 0x2,0x50,
  763. 0x2,0x60,
  764. 0x2,0x70,
  765. 0x2,0x01,
  766. 0x2,0x11,
  767. 0x2,0x21,
  768. 0x2,0x31,
  769. 0x2,0x41,
  770. 0x2,0x51,
  771. 0x2,0x61,
  772. 0x2,0x71,
  773. 0x2,0x02,
  774. 0x2,0x12,
  775. 0x2,0x22,
  776. 0x2,0x32,
  777. 0x2,0x42,
  778. 0x2,0x52,
  779. 0x2,0x62,
  780. 0x2,0x72,
  781. 0x2,0x03,
  782. 0x2,0x13,
  783. 0x2,0x23,
  784. 0x2,0x33,
  785. 0x2,0x43,
  786. 0x2,0x53,
  787. 0x2,0x63,
  788. 0x2,0x73,
  789. 0x2,0x04,
  790. 0x2,0x14,
  791. 0x2,0x24,
  792. 0x2,0x34,
  793. 0x2,0x44,
  794. 0x2,0x54,
  795. 0x2,0x64,
  796. 0x2,0x74,
  797. 0x2,0x05,
  798. 0x2,0x15,
  799. 0x2,0x25,
  800. 0x2,0x35,
  801. 0x2,0x45,
  802. 0x2,0x55,
  803. 0x2,0x65,
  804. 0x2,0x75,
  805. 0x2,0x06,
  806. 0x2,0x16,
  807. 0x2,0x26,
  808. 0x2,0x36,
  809. 0x2,0x46,
  810. 0x2,0x56,
  811. 0x2,0x66,
  812. 0x2,0x76,
  813. 0x2,0x07,
  814. 0x2,0x17,
  815. 0x2,0x27,
  816. 0x2,0x37,
  817. 0x2,0x47,
  818. 0x2,0x57,
  819. 0x2,0x67,
  820. 0x2,0x77
  821. };
  822. static const uint8_t * const tables[] = { pc_tbl2, pc_tbl3, pc_tbl4 };
  823. #endif /* AVCODEC_TRUEMOTION1DATA_H */