[FFmpeg-devel] [PATCH] libavcodec/libvpx: Add VPx alpha decode support
vigneshv at google.com
Thu Jul 14 22:12:25 EEST 2016
On Tue, Jul 12, 2016 at 1:47 PM, James Almer <jamrial at gmail.com> wrote:
> 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?
vp8a and vp9a aren't in the bitstream. it's worked around in the
container. so there is no separate minimum version requirement for
that. the existing minimums for vp8 and vp9 decoding should hold.
> 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.
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel