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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Sep 21 09:39:02 CEST 2013


On Thu, Sep 19, 2013 at 08:40:34PM +0200, Reimar Döffinger 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.

Removed that last sentence locally. Except for ffv1 this is tested
by FATE.
I'll push soon if no comments.


More information about the ffmpeg-devel mailing list