Mercurial > libavcodec.hg
comparison pixdesc.c @ 9314:a8352444823b libavcodec
Change the order of the components for RGB565LE and RGB565BE,
to make them resemble the order in the name: BGR <-> RGB.
author | stefano |
---|---|
date | Tue, 31 Mar 2009 18:41:39 +0000 |
parents | 4703ca2612ba |
children | 0262c95d36d8 |
comparison
equal
deleted
inserted
replaced
9313:4703ca2612ba | 9314:a8352444823b |
---|---|
158 .name = "rgb565le", | 158 .name = "rgb565le", |
159 .nb_channels = 3, | 159 .nb_channels = 3, |
160 .log2_chroma_w= 0, | 160 .log2_chroma_w= 0, |
161 .log2_chroma_h= 0, | 161 .log2_chroma_h= 0, |
162 .comp = { | 162 .comp = { |
163 {0,1,2,3,4}, /* R */ | |
164 {0,1,1,5,5}, /* G */ | |
163 {0,1,1,0,4}, /* B */ | 165 {0,1,1,0,4}, /* B */ |
164 {0,1,1,5,5}, /* G */ | |
165 {0,1,2,3,4}, /* R */ | |
166 }, | 166 }, |
167 }, | 167 }, |
168 [PIX_FMT_RGB565BE] = { | 168 [PIX_FMT_RGB565BE] = { |
169 .name = "rgb565be", | 169 .name = "rgb565be", |
170 .nb_channels = 3, | 170 .nb_channels = 3, |
171 .log2_chroma_w= 0, | 171 .log2_chroma_w= 0, |
172 .log2_chroma_h= 0, | 172 .log2_chroma_h= 0, |
173 .comp = { | 173 .comp = { |
174 {0,1,0,3,4}, /* R */ | |
175 {0,1,1,5,5}, /* G */ | |
174 {0,1,1,0,4}, /* B */ | 176 {0,1,1,0,4}, /* B */ |
175 {0,1,1,5,5}, /* G */ | |
176 {0,1,0,3,4}, /* R */ | |
177 }, | 177 }, |
178 .flags = PIX_FMT_BE, | 178 .flags = PIX_FMT_BE, |
179 }, | 179 }, |
180 [PIX_FMT_MONOBLACK] = { | 180 [PIX_FMT_MONOBLACK] = { |
181 .name = "monoblack", | 181 .name = "monoblack", |