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

stefano subversion
Thu Mar 4 01:27:46 CET 2010


Author: stefano
Date: Thu Mar  4 01:27:46 2010
New Revision: 22191

Log:
Declare the PIX_FMT_GRAY8 pixel format as a paletted format.  This is
consistent with the allocation currently done for PIX_FMT_GRAY8
pictures.

No significant slow-downs have been measured.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Is gray8 a paletted format?
Date: Sun, 15 Nov 2009 23:36:03 +0100

Modified:
   trunk/libavutil/pixdesc.c

Modified: trunk/libavutil/pixdesc.c
==============================================================================
--- trunk/libavutil/pixdesc.c	Thu Mar  4 00:27:43 2010	(r22190)
+++ trunk/libavutil/pixdesc.c	Thu Mar  4 01:27:46 2010	(r22191)
@@ -199,6 +199,7 @@ const AVPixFmtDescriptor av_pix_fmt_desc
         .comp = {
             {0,0,1,0,7},        /* Y */
         },
+        .flags = PIX_FMT_PAL,
     },
     [PIX_FMT_MONOWHITE] = {
         .name = "monow",



More information about the ffmpeg-cvslog mailing list