25 #ifndef IMAGE_CODECS_TRUEMOTION1DATA_H 26 #define IMAGE_CODECS_TRUEMOTION1DATA_H 28 #include "common/scummsys.h" 33 static const int16 ydt1[8] = { 0, -2, 2, -6, 6, -12, 12, -12 };
34 static const int16 ydt2[8] = { 0, -2, 4, -6, 8, -12, 12, -12 };
35 static const int16 ydt3[8] = { 4, -6, 20, -20, 46, -46, 94, -94 };
36 static const int16 ydt4[8] = { 0, -4, 4, -16, 16, -36, 36, -80 };
39 static const int16 cdt1[8] = { 0, -1, 1, -2, 3, -4, 5, -4 };
40 static const int16 cdt2[8] = { 0, -4, 3, -16, 20, -32, 36, -32 };
41 static const int16 cdt3[8] = { 0, -2, 2, -8, 8, -18, 18, -40 };
44 static const int16 *
const ydts[] = { ydt1, ydt2, ydt3, ydt4, NULL };
45 static const int16 *
const cdts[] = { cdt1, cdt1, cdt2, cdt3, NULL };
47 static const byte pc_tbl2[] = {
48 0x8,0x00,0x00,0x00,0x00,
49 0x8,0x00,0x00,0x00,0x00,
50 0x8,0x10,0x00,0x00,0x00,
51 0x8,0x01,0x00,0x00,0x00,
52 0x8,0x00,0x10,0x00,0x00,
53 0x8,0x00,0x01,0x00,0x00,
54 0x8,0x00,0x00,0x10,0x00,
55 0x8,0x00,0x00,0x01,0x00,
56 0x8,0x00,0x00,0x00,0x10,
57 0x8,0x00,0x00,0x00,0x01,
306 static const byte pc_tbl3[] = {
565 static const byte pc_tbl4[] = {
566 0x8,0x00,0x00,0x00,0x00,
567 0x8,0x00,0x00,0x00,0x00,
568 0x8,0x20,0x00,0x00,0x00,
569 0x8,0x00,0x00,0x00,0x01,
570 0x8,0x10,0x00,0x00,0x00,
571 0x8,0x00,0x00,0x00,0x02,
572 0x8,0x01,0x00,0x00,0x00,
573 0x8,0x00,0x00,0x00,0x10,
574 0x8,0x02,0x00,0x00,0x00,
824 static const byte *
const tables[] = { pc_tbl2, pc_tbl3, pc_tbl4 };
Definition: movie_decoder.h:32