[FFmpeg-devel] [RFC] Request for pixdesc API review

Stefano Sabatini stefano.sabatini-lala
Sun Nov 15 17:55:42 CET 2009

On date Monday 2009-11-09 23:07:35 +0100, Michael Niedermayer encoded:
> On Mon, Nov 09, 2009 at 10:40:23PM +0100, Stefano Sabatini wrote:
> > For example adding a pixel format shouldn't require to edit all the
> > functions dealing with pixel format stuff, it should be sufficient to
> > hook up the description to the pixel format descriptions array.
> yes but there always will be obscure formats the generic code cant
> handle, its also not its goal. Goal is to handle the normal 98%.
> Some things that shuffle bits around in ways that need several pages to
> explain (hello apple) is not something that i care about, such things
> can better be considered very poorly designed codec bitsterams rather
> than pixel formats.

I'm perfectly fine with this consideration, note that there isn't any
of the current supported formats which requires special handling, we
could reserve a flag (PIX_FMT_SPECIAL) for such formats.

FFmpeg = Freak and Faboulous Mere Puritan Elected Glue

More information about the ffmpeg-devel mailing list