Commit 8819c29c authored by stefano's avatar stefano

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22191 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a51faef9
......@@ -199,6 +199,7 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[PIX_FMT_NB] = {
.comp = {
{0,0,1,0,7}, /* Y */
},
.flags = PIX_FMT_PAL,
},
[PIX_FMT_MONOWHITE] = {
.name = "monow",
......
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