diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2021-04-22 16:50:17 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2021-05-11 16:06:56 -0400 |
commit | ba4053a2b942f893dc6b5e0bbcd7a6f8f607811e (patch) | |
tree | 8664b425ee0babf5c7f891b36be06cf6de844fb7 /gst/codecalpha/gstvp8alphadecodebin.h | |
parent | 2cd927435cb03a64b3243215fff54d3c2e448917 (diff) | |
download | gstreamer-plugins-bad-ba4053a2b942f893dc6b5e0bbcd7a6f8f607811e.tar.gz |
alphadecodebin: Add wrappers to decode VP8/VP9 alpha
This includes base class with wrappers bin that will create a static
pipeline capable of handling the VP8/VP9 alpha channel decoding
using two instances of vp8/vp9dec element each.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2199>
Diffstat (limited to 'gst/codecalpha/gstvp8alphadecodebin.h')
-rw-r--r-- | gst/codecalpha/gstvp8alphadecodebin.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gst/codecalpha/gstvp8alphadecodebin.h b/gst/codecalpha/gstvp8alphadecodebin.h new file mode 100644 index 000000000..1eeaf2698 --- /dev/null +++ b/gst/codecalpha/gstvp8alphadecodebin.h @@ -0,0 +1,35 @@ +/* GStreamer + * Copyright (C) <2021> Collabora Ltd. + * Author: Nicolas Dufresne <nicolas.dufresne@collabora.com> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#ifndef __GST_VP8_ALPHA_DECODE_BIN_H__ +#define __GST_VP8_ALPHA_DECODE_BIN_H__ + +#include "gstalphadecodebin.h" + +G_BEGIN_DECLS + +#define GST_TYPE_VP8_ALPHA_DECODE_BIN (gst_vp8_alpha_decode_bin_get_type()) +G_DECLARE_FINAL_TYPE (GstVp8AlphaDecodeBin, gst_vp8_alpha_decode_bin, + GST, VP8_ALPHA_DECODE_BIN, GstAlphaDecodeBin); + +GST_ELEMENT_REGISTER_DECLARE (vp8_alpha_decode_bin); + +G_END_DECLS +#endif |