lavfi: add alphaextract and alphamerge filters
These filters are designed for storing and transmitting video sequences with alpha using higher-efficiency codecs such as x264 which don't natively support an alpha channel. 'alphaextract' takes an input stream with an alpha channel and returns a video containing just the alpha component as a grayscale value; 'alphamerge' takes an RGB or YUV stream and adds an alpha channel recovered from a second grayscale stream. Signed-off-by: NSteven Robertson <steven@strobe.cc> Signed-off-by: NStefano Sabatini <stefasab@gmail.com>
Showing
libavfilter/vf_alphaextract.c
0 → 100644
libavfilter/vf_alphamerge.c
0 → 100644
tests/ref/lavfi/alphaextract_rgb
0 → 100644
tests/ref/lavfi/alphaextract_yuv
0 → 100644
tests/ref/lavfi/alphamerge_rgb
0 → 100644
tests/ref/lavfi/alphamerge_yuv
0 → 100644
想要评论请 注册 或 登录