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

Paul B Mahol onemda at gmail.com
Wed Sep 18 10:37:51 CEST 2013


On 9/17/13, Reimar Doeffinger <Reimar.Doeffinger at gmx.de> wrote:
> For codecs where decoding of a whole plane can simply
> be skipped, we should offer applications to not decode
> alpha for better performance (ca. 30% less CPU usage
> and 40% reduced memory bandwidth).
> It also means applications do not need to implement support
> (even if it is rather simple) for YUVA formats in order to be
> able to play these files.
> Tested by manually hacking avcodec_default_get_format,
> suggestions for how to test in FATE welcome.
>

Why you think this change is so important that should be
commited?

Whoever needs alpha would not need your code.
Whoever does not need alpha would not encode with alpha at first
place anyway.

The patch is intrusive and you can't make it less intrusive
or better looking by doing silly things.


More information about the ffmpeg-devel mailing list