[FFmpeg-devel] [PATCH] libavcodec/libvpx: Add VPx alpha decode support

James Almer jamrial at gmail.com
Tue Jul 12 23:47:07 EEST 2016


On 7/12/2016 3:48 PM, Vignesh Venkatasubramanian wrote:
> VPx (VP8/VP9) alpha encoding has been part of FFmpeg. Now, add the
> ability to decode such files with alpha channel.
> 
> Signed-off-by: Vignesh Venkatasubramanian <vigneshv at google.com>
> ---
>  libavcodec/libvpxdec.c          | 102 +++++++++++++++++++++++++-------
>  tests/fate/vpx.mak              |   3 +
>  tests/ref/fate/vp8-alpha-decode | 125 ++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 210 insertions(+), 20 deletions(-)
>  create mode 100644 tests/ref/fate/vp8-alpha-decode
> 

What's the first libvpx version that supports vp8a and vp9a?
Configure currently checks for 0.9.1 as the oldest supported
version for vp8 decoding, 0.9.7 for vp8 encoding, and 1.3.0 for
both vp9 components. We then use a bunch of ifdeffery to make
sure things compile with every version supported, so depending
on the answer to the above question this patch (and the one
adding vp9a enconding) may need to do the same, or it could be
a good reason to clean up things a bit and bump the minimum
required version for every component to for example 1.3.0.


More information about the ffmpeg-devel mailing list