annotate pixdesc.c @ 9306:7a546836b61b libavcodec

100l, fix FATE test broken by r18264
author reimar
date Tue, 31 Mar 2009 14:44:46 +0000
parents 49340eb6f96f
children 4703ca2612ba
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
1 /*
9043
47e456d3f15b spelling/wording/grammar cosmetics
diego
parents: 9018
diff changeset
2 * pixel format descriptor
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
3 * Copyright (c) 2009 Michael Niedermayer <michaelni@gmx.at>
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
4 *
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
5 * This file is part of FFmpeg.
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
6 *
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
11 *
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
15 * Lesser General Public License for more details.
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
16 *
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
20 */
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
21
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
22 #include "libavutil/pixfmt.h"
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
23 #include "pixdesc.h"
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
24
9234
49340eb6f96f Export to pixdesc.h the av_pix_fmt_descriptors array.
stefano
parents: 9223
diff changeset
25 const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
26 [PIX_FMT_YUV422P] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
27 .name = "yuv422p",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
28 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
29 .log2_chroma_w= 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
30 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
31 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
32 {0,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
33 {1,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
34 {2,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
35 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
36 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
37 [PIX_FMT_YUV420P] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
38 .name = "yuv420p",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
39 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
40 .log2_chroma_w= 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
41 .log2_chroma_h= 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
42 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
43 {0,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
44 {1,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
45 {2,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
46 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
47 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
48 [PIX_FMT_YUV410P] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
49 .name = "yuv410p",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
50 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
51 .log2_chroma_w= 2,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
52 .log2_chroma_h= 2,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
53 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
54 {0,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
55 {1,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
56 {2,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
57 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
58 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
59 [PIX_FMT_NV12] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
60 .name = "nv12",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
61 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
62 .log2_chroma_w= 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
63 .log2_chroma_h= 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
64 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
65 {0,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
66 {1,1,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
67 {1,1,2,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
68 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
69 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
70 [PIX_FMT_YUYV422] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
71 .name = "yuyv422",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
72 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
73 .log2_chroma_w= 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
74 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
75 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
76 {0,1,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
77 {0,3,2,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
78 {0,3,4,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
79 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
80 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
81 [PIX_FMT_UYVY422] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
82 .name = "uyvy422",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
83 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
84 .log2_chroma_w= 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
85 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
86 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
87 {0,1,2,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
88 {0,3,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
89 {0,3,3,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
90 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
91 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
92 [PIX_FMT_GRAY16LE] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
93 .name = "gray16le",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
94 .nb_channels = 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
95 .log2_chroma_w= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
96 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
97 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
98 {0,1,1,0,15},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
99 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
100 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
101 [PIX_FMT_GRAY16BE] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
102 .name = "gray16be",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
103 .nb_channels = 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
104 .log2_chroma_w= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
105 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
106 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
107 {0,1,1,0,15},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
108 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
109 .flags = PIX_FMT_BE,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
110 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
111 [PIX_FMT_RGB24] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
112 .name = "rgb24",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
113 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
114 .log2_chroma_w= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
115 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
116 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
117 {0,2,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
118 {0,2,2,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
119 {0,2,3,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
120 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
121 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
122 [PIX_FMT_RGBA] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
123 .name = "rgba",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
124 .nb_channels = 4,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
125 .log2_chroma_w= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
126 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
127 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
128 {0,3,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
129 {0,3,2,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
130 {0,3,3,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
131 {0,3,4,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
132 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
133 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
134 [PIX_FMT_RGB48LE] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
135 .name = "rgb48le",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
136 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
137 .log2_chroma_w= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
138 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
139 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
140 {0,5,1,0,15},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
141 {0,5,3,0,15},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
142 {0,5,5,0,15},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
143 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
144 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
145 [PIX_FMT_RGB48BE] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
146 .name = "rgb48be",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
147 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
148 .log2_chroma_w= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
149 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
150 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
151 {0,5,1,0,15},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
152 {0,5,3,0,15},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
153 {0,5,5,0,15},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
154 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
155 .flags = PIX_FMT_BE,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
156 },
9169
b0230a690eda Rename the (yet not defined) macros:
stefano
parents: 9043
diff changeset
157 [PIX_FMT_RGB565LE] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
158 .name = "rgb565le",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
159 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
160 .log2_chroma_w= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
161 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
162 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
163 {0,1,1,0,4},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
164 {0,1,1,5,5},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
165 {0,1,2,3,4},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
166 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
167 },
9169
b0230a690eda Rename the (yet not defined) macros:
stefano
parents: 9043
diff changeset
168 [PIX_FMT_RGB565BE] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
169 .name = "rgb565be",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
170 .nb_channels = 3,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
171 .log2_chroma_w= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
172 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
173 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
174 {0,1,1, 0,4},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
175 {0,1,1, 5,5},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
176 {0,1,0, 3,4},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
177 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
178 .flags = PIX_FMT_BE,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
179 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
180 [PIX_FMT_MONOBLACK] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
181 .name = "monoblack",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
182 .nb_channels = 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
183 .log2_chroma_w= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
184 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
185 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
186 {0,0,1,7,0},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
187 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
188 .flags = PIX_FMT_BITSTREAM,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
189 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
190 [PIX_FMT_PAL8] = {
9187
e10efe27c6b1 Implement a name field for AVPixFmtDescriptor.
stefano
parents: 9169
diff changeset
191 .name = "pal8",
9018
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
192 .nb_channels = 1,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
193 .log2_chroma_w= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
194 .log2_chroma_h= 0,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
195 .comp = {
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
196 {0,0,1,0,7},
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
197 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
198 .flags = PIX_FMT_PAL,
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
199 },
98995efdf3aa Pixel Format descriptor, try #1.
michael
parents:
diff changeset
200 };