Mercurial > libavcodec.hg
annotate pixdesc.c @ 9521:d8e5002210cb libavcodec
Remove some useless assignments and variables found by Clang
author | kostya |
---|---|
date | Tue, 21 Apr 2009 05:24:50 +0000 |
parents | 0262c95d36d8 |
children | 8fdc1a9dc411 |
rev | line source |
---|---|
9018 | 1 /* |
9043 | 2 * pixel format descriptor |
9018 | 3 * Copyright (c) 2009 Michael Niedermayer <michaelni@gmx.at> |
4 * | |
5 * This file is part of FFmpeg. | |
6 * | |
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. | |
11 * | |
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. | |
16 * | |
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 | |
20 */ | |
21 | |
22 #include "libavutil/pixfmt.h" | |
23 #include "pixdesc.h" | |
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] = { |
9316
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
26 [PIX_FMT_YUV420P] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
27 .name = "yuv420p", |
9018 | 28 .nb_channels = 3, |
29 .log2_chroma_w= 1, | |
9316
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
30 .log2_chroma_h= 1, |
9018 | 31 .comp = { |
9313
4703ca2612ba
Add comments specifying the name of the components in the descriptors.
stefano
parents:
9234
diff
changeset
|
32 {0,0,1,0,7}, /* Y */ |
4703ca2612ba
Add comments specifying the name of the components in the descriptors.
stefano
parents:
9234
diff
changeset
|
33 {1,0,1,0,7}, /* U */ |
4703ca2612ba
Add comments specifying the name of the components in the descriptors.
stefano
parents:
9234
diff
changeset
|
34 {2,0,1,0,7}, /* V */ |
9018 | 35 }, |
36 }, | |
9316
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
37 [PIX_FMT_YUYV422] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
38 .name = "yuyv422", |
9018 | 39 .nb_channels = 3, |
40 .log2_chroma_w= 1, | |
9316
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
41 .log2_chroma_h= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
42 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
43 {0,1,1,0,7}, /* Y */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
44 {0,3,2,0,7}, /* U */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
45 {0,3,4,0,7}, /* V */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
46 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
47 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
48 [PIX_FMT_RGB24] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
49 .name = "rgb24", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
50 .nb_channels = 3, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
51 .log2_chroma_w= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
52 .log2_chroma_h= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
53 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
54 {0,2,1,0,7}, /* R */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
55 {0,2,2,0,7}, /* G */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
56 {0,2,3,0,7}, /* B */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
57 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
58 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
59 [PIX_FMT_YUV422P] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
60 .name = "yuv422p", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
61 .nb_channels = 3, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
62 .log2_chroma_w= 1, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
63 .log2_chroma_h= 0, |
9018 | 64 .comp = { |
9313
4703ca2612ba
Add comments specifying the name of the components in the descriptors.
stefano
parents:
9234
diff
changeset
|
65 {0,0,1,0,7}, /* Y */ |
4703ca2612ba
Add comments specifying the name of the components in the descriptors.
stefano
parents:
9234
diff
changeset
|
66 {1,0,1,0,7}, /* U */ |
4703ca2612ba
Add comments specifying the name of the components in the descriptors.
stefano
parents:
9234
diff
changeset
|
67 {2,0,1,0,7}, /* V */ |
9018 | 68 }, |
69 }, | |
70 [PIX_FMT_YUV410P] = { | |
9187 | 71 .name = "yuv410p", |
9018 | 72 .nb_channels = 3, |
73 .log2_chroma_w= 2, | |
74 .log2_chroma_h= 2, | |
75 .comp = { | |
9313
4703ca2612ba
Add comments specifying the name of the components in the descriptors.
stefano
parents:
9234
diff
changeset
|
76 {0,0,1,0,7}, /* Y */ |
4703ca2612ba
Add comments specifying the name of the components in the descriptors.
stefano
parents:
9234
diff
changeset
|
77 {1,0,1,0,7}, /* U */ |
4703ca2612ba
Add comments specifying the name of the components in the descriptors.
stefano
parents:
9234
diff
changeset
|
78 {2,0,1,0,7}, /* V */ |
9018 | 79 }, |
80 }, | |
81 [PIX_FMT_MONOBLACK] = { | |
9187 | 82 .name = "monoblack", |
9018 | 83 .nb_channels = 1, |
84 .log2_chroma_w= 0, | |
85 .log2_chroma_h= 0, | |
86 .comp = { | |
9313
4703ca2612ba
Add comments specifying the name of the components in the descriptors.
stefano
parents:
9234
diff
changeset
|
87 {0,0,1,7,0}, /* Y */ |
9018 | 88 }, |
89 .flags = PIX_FMT_BITSTREAM, | |
90 }, | |
91 [PIX_FMT_PAL8] = { | |
9187 | 92 .name = "pal8", |
9018 | 93 .nb_channels = 1, |
94 .log2_chroma_w= 0, | |
95 .log2_chroma_h= 0, | |
96 .comp = { | |
97 {0,0,1,0,7}, | |
98 }, | |
99 .flags = PIX_FMT_PAL, | |
100 }, | |
9316
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
101 [PIX_FMT_UYVY422] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
102 .name = "uyvy422", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
103 .nb_channels = 3, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
104 .log2_chroma_w= 1, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
105 .log2_chroma_h= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
106 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
107 {0,1,2,0,7}, /* Y */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
108 {0,3,1,0,7}, /* U */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
109 {0,3,3,0,7}, /* V */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
110 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
111 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
112 [PIX_FMT_NV12] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
113 .name = "nv12", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
114 .nb_channels = 3, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
115 .log2_chroma_w= 1, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
116 .log2_chroma_h= 1, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
117 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
118 {0,0,1,0,7}, /* Y */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
119 {1,1,1,0,7}, /* U */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
120 {1,1,2,0,7}, /* V */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
121 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
122 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
123 [PIX_FMT_RGBA] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
124 .name = "rgba", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
125 .nb_channels = 4, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
126 .log2_chroma_w= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
127 .log2_chroma_h= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
128 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
129 {0,3,1,0,7}, /* R */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
130 {0,3,2,0,7}, /* G */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
131 {0,3,3,0,7}, /* B */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
132 {0,3,4,0,7}, /* A */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
133 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
134 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
135 [PIX_FMT_GRAY16BE] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
136 .name = "gray16be", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
137 .nb_channels = 1, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
138 .log2_chroma_w= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
139 .log2_chroma_h= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
140 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
141 {0,1,1,0,15}, /* Y */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
142 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
143 .flags = PIX_FMT_BE, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
144 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
145 [PIX_FMT_GRAY16LE] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
146 .name = "gray16le", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
147 .nb_channels = 1, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
148 .log2_chroma_w= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
149 .log2_chroma_h= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
150 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
151 {0,1,1,0,15}, /* Y */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
152 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
153 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
154 [PIX_FMT_RGB48BE] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
155 .name = "rgb48be", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
156 .nb_channels = 3, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
157 .log2_chroma_w= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
158 .log2_chroma_h= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
159 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
160 {0,5,1,0,15}, /* R */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
161 {0,5,3,0,15}, /* G */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
162 {0,5,5,0,15}, /* B */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
163 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
164 .flags = PIX_FMT_BE, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
165 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
166 [PIX_FMT_RGB48LE] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
167 .name = "rgb48le", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
168 .nb_channels = 3, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
169 .log2_chroma_w= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
170 .log2_chroma_h= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
171 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
172 {0,5,1,0,15}, /* R */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
173 {0,5,3,0,15}, /* G */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
174 {0,5,5,0,15}, /* B */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
175 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
176 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
177 [PIX_FMT_RGB565BE] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
178 .name = "rgb565be", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
179 .nb_channels = 3, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
180 .log2_chroma_w= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
181 .log2_chroma_h= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
182 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
183 {0,1,0,3,4}, /* R */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
184 {0,1,1,5,5}, /* G */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
185 {0,1,1,0,4}, /* B */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
186 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
187 .flags = PIX_FMT_BE, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
188 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
189 [PIX_FMT_RGB565LE] = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
190 .name = "rgb565le", |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
191 .nb_channels = 3, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
192 .log2_chroma_w= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
193 .log2_chroma_h= 0, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
194 .comp = { |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
195 {0,1,2,3,4}, /* R */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
196 {0,1,1,5,5}, /* G */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
197 {0,1,1,0,4}, /* B */ |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
198 }, |
0262c95d36d8
Cosmetics: reorder the pixel format descriptors to make them match the
stefano
parents:
9314
diff
changeset
|
199 }, |
9018 | 200 }; |