Mercurial > libavcodec.hg
comparison indeo5data.h @ 11772:4a178e0051d6 libavcodec
moves indeo5 scan patterns into ivi_common.c
so those can be shared by indeo4.
author | maxim |
---|---|
date | Wed, 26 May 2010 13:25:16 +0000 |
parents | 7dd2a45249a9 |
children | 1547c744b8d4 |
comparison
equal
deleted
inserted
replaced
11771:3c0dffc64d86 | 11772:4a178e0051d6 |
---|---|
33 * standard picture dimensions (width, height divided by 4) | 33 * standard picture dimensions (width, height divided by 4) |
34 */ | 34 */ |
35 static const uint8_t ivi5_common_pic_sizes[30] = { | 35 static const uint8_t ivi5_common_pic_sizes[30] = { |
36 160, 120, 80, 60, 40, 30, 176, 120, 88, 60, 88, 72, 44, 36, 60, 45, 160, 60, | 36 160, 120, 80, 60, 40, 30, 176, 120, 88, 60, 88, 72, 44, 36, 60, 45, 160, 60, |
37 176, 60, 20, 15, 22, 18, 0, 0, 0, 0, 0, 0 | 37 176, 60, 20, 15, 22, 18, 0, 0, 0, 0, 0, 0 |
38 }; | |
39 | |
40 /** | |
41 * Indeo5 8x8 scan (zigzag) patterns | |
42 */ | |
43 static const uint8_t ivi5_scans8x8[2][64] = { | |
44 {0, 8, 16, 24, 32, 40, 48, 56, 1, 9, 17, 25, 33, 41, 49, 57, | |
45 2, 10, 18, 26, 34, 42, 50, 58, 3, 11, 19, 27, 35, 43, 51, 59, | |
46 4, 12, 20, 28, 36, 44, 52, 60, 5, 13, 21, 29, 37, 45, 53, 61, | |
47 6, 14, 22, 30, 38, 46, 54, 62, 7, 15, 23, 31, 39, 47, 55, 63 | |
48 }, | |
49 {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, | |
50 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, | |
51 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, | |
52 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63 | |
53 } | |
54 }; | |
55 | |
56 /** | |
57 * Indeo5 4x4 scan (zigzag) pattern | |
58 */ | |
59 static const uint8_t ivi5_scan4x4[16] = { | |
60 0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15 | |
61 }; | 38 }; |
62 | 39 |
63 | 40 |
64 /** | 41 /** |
65 * Indeo5 dequantization matrixes consist of two tables: base table | 42 * Indeo5 dequantization matrixes consist of two tables: base table |