[FFmpeg-devel] [PATCH] grayalpha pixfmt + support in pngdec

Michael Niedermayer michaelni
Mon Apr 12 21:27:26 CEST 2010


On Mon, Apr 12, 2010 at 10:43:02AM +0200, Andreas ?man wrote:
> Hi
>
> 1st patch add support for gray + alpha pixfmt (8+8 bit packed)
>
> 2nd patch adds this to pngdec.c
>

>  libavcodec/imgconvert.c |    1 +
>  libavutil/pixdesc.c     |    8 ++++++++
>  libavutil/pixfmt.h      |    1 +
>  3 files changed, 10 insertions(+)
> 91b051f29d6fb4da79711404a400f1caf7796de2  grayalpha.diff
> Index: libavutil/pixdesc.c
> ===================================================================
> --- libavutil/pixdesc.c	(revision 22846)
> +++ libavutil/pixdesc.c	(working copy)
> @@ -779,6 +779,14 @@
>          .log2_chroma_h = 1,
>          .flags = PIX_FMT_HWACCEL,
>      },
> +    [PIX_FMT_GRAYALPHA] = {
> +        .name = "grayalpha",

where does the name grayalpha come from?


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100412/f9b4b659/attachment.pgp>



More information about the ffmpeg-devel mailing list