2 * a64 video encoder - tables used by a64 encoders
3 * Copyright (c) 2009 Tobias Bindhammer
5 * This file is part of FFmpeg.
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 * a64 video encoder - tables used by a64 encoders
27 #ifndef AVCODEC_A64TABLES_H
28 #define AVCODEC_A64TABLES_H
33 * dither patterns used vor rendering the multicolor charset
36 static const uint8_t multi_dither_patterns
[9][4][4] = {
93 static const uint8_t interlaced_dither_patterns
[9][8][4] = {
95 {0, 0, 0, 0}, {0, 0, 0, 0},
96 {0, 0, 0, 0}, {0, 0, 0, 0},
97 {0, 0, 0, 0}, {0, 0, 0, 0},
98 {0, 0, 0, 0}, {0, 0, 0, 0},
101 {1, 0, 1, 0}, {0, 0, 0, 0},
102 {0, 0, 0, 0}, {0, 0, 0, 0},
103 {1, 0, 1, 0}, {0, 0, 0, 0},
104 {0, 0, 0, 0}, {0, 0, 0, 0},
107 {1, 0, 1, 0}, {0, 0, 0, 0},
108 {0, 0, 0, 0}, {0, 1, 0, 1},
109 {1, 0, 1, 0}, {0, 0, 0, 0},
110 {0, 0, 0, 0}, {0, 1, 0, 1},
113 {1, 0, 1, 0}, {0, 1, 0, 1},
114 {0, 1, 0, 1}, {0, 0, 0, 0},
115 {1, 0, 1, 0}, {0, 1, 0, 1},
116 {0, 1, 0, 1}, {0, 0, 0, 0},
119 {1, 0, 1, 0}, {0, 1, 0, 1},
120 {0, 1, 0, 1}, {1, 0, 1, 0},
121 {1, 0, 1, 0}, {0, 1, 0, 1},
122 {0, 1, 0, 1}, {1, 0, 1, 0},
125 {1, 0, 1, 0}, {0, 1, 0, 1},
126 {1, 1, 1, 1}, {1, 0, 1, 0},
127 {1, 0, 1, 0}, {0, 1, 0, 1},
128 {1, 1, 1, 1}, {1, 0, 1, 0},
131 {1, 0, 1, 0}, {1, 1, 1, 1},
132 {1, 1, 1, 1}, {0, 1, 0, 1},
133 {1, 0, 1, 0}, {1, 1, 1, 1},
134 {1, 1, 1, 1}, {0, 1, 0, 1},
137 {1, 1, 1, 1}, {1, 1, 1, 1},
138 {1, 1, 1, 1}, {0, 1, 0, 1},
139 {1, 1, 1, 1}, {1, 1, 1, 1},
140 {1, 1, 1, 1}, {0, 1, 0, 1},
143 {1, 1, 1, 1}, {1, 1, 1, 1},
144 {1, 1, 1, 1}, {1, 1, 1, 1},
145 {1, 1, 1, 1}, {1, 1, 1, 1},
146 {1, 1, 1, 1}, {1, 1, 1, 1},
150 #endif /* AVCODEC_A64TABLES_H */