[FFmpeg-devel] [PATCH] Make decoding alpha optional for some codecs.

Paul B Mahol onemda at gmail.com
Wed Sep 18 23:09:51 CEST 2013


On 9/18/13, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Wed, Sep 18, 2013 at 10:27:34PM +0200, Reimar Doeffinger wrote:
>> On Wed, Sep 18, 2013 at 10:11:29PM +0200, Michael Niedermayer wrote:
> [...]
>> It probably is something worth considering in order to clean up the
>> pix_fmt selection code in ffv1 though, whether it helps for this patch
>> or not.
>
> there are several places where pix fmt select has become a ugly long
> list ffv1 and mjpeg are 2 but we probably have more.
> Havng a function that would choose a yuv pixel format based on
> chroma subsample factors, bps, alpha and colorrange value could
> probably simplify these lists
> could probably be implemented more or less easily by scanning
> av_pix_fmt_descriptors

I did something similar, but it did not worked as I expected...

> and theres also libopenjpeg_matches_pix_fmt() which is somewhat related
>
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> I know you won't believe me, but the highest form of Human Excellence is
> to question oneself and others. -- Socrates
>


More information about the ffmpeg-devel mailing list