[FFmpeg-cvslog] r20434 - trunk/libavutil/pixdesc.c

stefano subversion
Mon Nov 2 21:23:47 CET 2009


Author: stefano
Date: Mon Nov  2 21:23:47 2009
New Revision: 20434

Log:
Add PIX_FMT_PAL flag to BGR8, BGR4_BYTE, RGB8, and RGB4_BYTE formats.

Modified:
   trunk/libavutil/pixdesc.c

Modified: trunk/libavutil/pixdesc.c
==============================================================================
--- trunk/libavutil/pixdesc.c	Mon Nov  2 15:12:25 2009	(r20433)
+++ trunk/libavutil/pixdesc.c	Mon Nov  2 21:23:47 2009	(r20434)
@@ -215,6 +215,7 @@ const AVPixFmtDescriptor av_pix_fmt_desc
             {0,0,1,3,2},        /* G */
             {0,0,1,0,2},        /* R */
         },
+        .flags = PIX_FMT_PAL,
     },
     [PIX_FMT_BGR4] = {
         .name = "bgr4",
@@ -238,6 +239,7 @@ const AVPixFmtDescriptor av_pix_fmt_desc
             {0,0,1,1,1},        /* G */
             {0,0,1,0,0},        /* R */
         },
+        .flags = PIX_FMT_PAL,
     },
     [PIX_FMT_RGB8] = {
         .name = "rgb8",
@@ -249,6 +251,7 @@ const AVPixFmtDescriptor av_pix_fmt_desc
             {0,0,1,3,2},        /* G */
             {0,0,1,0,2},        /* B */
         },
+        .flags = PIX_FMT_PAL,
     },
     [PIX_FMT_RGB4] = {
         .name = "rgb4",
@@ -272,6 +275,7 @@ const AVPixFmtDescriptor av_pix_fmt_desc
             {0,0,1,1,1},        /* G */
             {0,0,1,0,0},        /* B */
         },
+        .flags = PIX_FMT_PAL,
     },
     [PIX_FMT_NV12] = {
         .name = "nv12",



More information about the ffmpeg-cvslog mailing list