Make decoding alpha optional for some codecs.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 8 Aug 2013 18:27:24 +0000 (20:27 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 22 Sep 2013 14:20:54 +0000 (16:20 +0200)
commit547c2f002a87f4412a83c23b0d60364be5e7ce58
treeb7ae4ce31ea8d8344a54c1290a4f690936d46a80
parenta5cbf1991c3d04b0be3c23ee0a7096b5a365cc85
Make decoding alpha optional for some codecs.

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.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 files changed:
Changelog
libavcodec/avcodec.h
libavcodec/ffv1dec.c
libavcodec/options_table.h
libavcodec/proresdec2.c
libavcodec/proresdec_lgpl.c
libavcodec/vp56.c
tests/fate/prores.mak
tests/fate/vpx.mak
tests/ref/fate/prores-alpha_skip [new file with mode: 0644]
tests/ref/fate/prores-transparency_skip [new file with mode: 0644]
tests/ref/fate/vp6a-skip_alpha [new file with mode: 0644]