Commit fd04b5f5 authored by stefano's avatar stefano

Change the order of the components for RGB565LE and RGB565BE,

to make them resemble the order in the name: BGR <-> RGB.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18279 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 92cef38c
......@@ -160,9 +160,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.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] = {
......@@ -171,9 +171,9 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.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,
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment