diff options
author | Steven Robertson <steven@strobe.cc> | 2012-07-10 22:14:57 -0700 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-07-22 12:17:34 +0200 |
commit | 82ecae8a7069104698d491000b37629cd8d96fd8 (patch) | |
tree | 90de57d08d4e0c14ff9b05f40172b25255a30392 /libavfilter/allfilters.c | |
parent | 8c2ce16f93be0fc1362ab74846b46c9818da14be (diff) | |
download | ffmpeg-82ecae8a7069104698d491000b37629cd8d96fd8.tar.gz |
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: Steven Robertson <steven@strobe.cc>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'libavfilter/allfilters.c')
-rw-r--r-- | libavfilter/allfilters.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c index 706405ebc0..aad453446c 100644 --- a/libavfilter/allfilters.c +++ b/libavfilter/allfilters.c @@ -64,6 +64,8 @@ void avfilter_register_all(void) REGISTER_FILTER (ABUFFERSINK, abuffersink, asink); REGISTER_FILTER (ANULLSINK, anullsink, asink); + REGISTER_FILTER (ALPHAEXTRACT, alphaextract, vf); + REGISTER_FILTER (ALPHAMERGE, alphamerge, vf); REGISTER_FILTER (ASS, ass, vf); REGISTER_FILTER (BBOX, bbox, vf); REGISTER_FILTER (BLACKDETECT, blackdetect, vf); |