[FFmpeg-cvslog] r18279 - trunk/libavcodec/pixdesc.c
stefano
subversion
Tue Mar 31 20:41:39 CEST 2009
Author: stefano
Date: Tue Mar 31 20:41:39 2009
New Revision: 18279
Log:
Change the order of the components for RGB565LE and RGB565BE,
to make them resemble the order in the name: BGR <-> RGB.
Modified:
trunk/libavcodec/pixdesc.c
Modified: trunk/libavcodec/pixdesc.c
==============================================================================
--- trunk/libavcodec/pixdesc.c Tue Mar 31 20:36:58 2009 (r18278)
+++ trunk/libavcodec/pixdesc.c Tue Mar 31 20:41:39 2009 (r18279)
@@ -160,9 +160,9 @@ const AVPixFmtDescriptor av_pix_fmt_desc
.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_desc
.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,
},
More information about the ffmpeg-cvslog
mailing list