to make them resemble the order in the name: BGR <-> RGB.
Originally committed as revision 18279 to svn://svn.ffmpeg.org/ffmpeg/trunk
.log2_chroma_w= 0,
.log2_chroma_h= 0,
.comp = {
- {0,1,1,0,4}, /* B */
- {0,1,1,5,5}, /* G */
{0,1,2,3,4}, /* R */
+ {0,1,1,5,5}, /* G */
+ {0,1,1,0,4}, /* B */
},
},
[PIX_FMT_RGB565BE] = {
.log2_chroma_w= 0,
.log2_chroma_h= 0,
.comp = {
- {0,1,1,0,4}, /* B */
- {0,1,1,5,5}, /* G */
{0,1,0,3,4}, /* R */
+ {0,1,1,5,5}, /* G */
+ {0,1,1,0,4}, /* B */
},
.flags = PIX_FMT_BE,
},