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

Stefano Sabatini stefano.sabatini-lala
Sun Apr 18 21:36:22 CEST 2010


On date Tuesday 2010-04-13 12:21:47 +0200, Michael Niedermayer encoded:
> On Tue, Apr 13, 2010 at 10:34:48AM +0200, Andreas ?man wrote:
> > Kostya wrote:
> >> On Tue, Apr 13, 2010 at 09:33:51AM +0200, Andreas ?man wrote:
> >>> Michael Niedermayer wrote:
> >>>> On Mon, Apr 12, 2010 at 09:40:03PM +0200, Andreas ?man wrote:
> >>>>> Michael Niedermayer wrote:
> >>>>>> On Mon, Apr 12, 2010 at 10:43:02AM +0200, Andreas ?man wrote:
> >>>>>>> Hi
> >>>>>>> +    [PIX_FMT_GRAYALPHA] = {
> >>>>>>> +        .name = "grayalpha",
> >>>>>> where does the name grayalpha come from?
> >>>>> I just didn't come up with anything better.
> >>>>> Ideas are most welcome.
> >>>> something that is consistent with existing formats would
> >>>> be better also what is it calld in the png docs?
> >>> PNG docs seems to call it "Grayscale with alpha" or "ya".
> >>> Perhaps "ya" would be a good name then?
> >> Nej, it obviously stands for "Y(aka luma) + A(alpha)"
> >> i.e. not so good acronym.
> >
> > Kostya suggested "Y400A" on IRC.

I'm not very happy with this name, "4XX" notation only makes sense
when we have three components, in this case I would have preferred
something of the kind GRAY8ALPHA8 or GRAYALPHA8 (consistent with
GRAY8), even YA was not that bad.

Not that I consider this a big issue, we will eventually fix the names
at the next major bump.

Regards.
-- 
FFmpeg = Fantastic Fabulous Mere Problematic Easy Ghost



More information about the ffmpeg-devel mailing list