mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gl: build gl mixer elements, moved from -base
This commit is contained in:
parent
2972b673c0
commit
56688ce078
5 changed files with 121 additions and 41 deletions
|
@ -71,14 +71,19 @@
|
|||
<xi:include href="xml/element-glfilterglass.xml" />
|
||||
<xi:include href="xml/element-glimagesinkelement.xml" />
|
||||
<xi:include href="xml/element-glimagesink.xml" />
|
||||
<xi:include href="xml/element-glmixerbin.xml" />
|
||||
<xi:include href="xml/element-glmosaic.xml" />
|
||||
<xi:include href="xml/element-gloverlay.xml" />
|
||||
<xi:include href="xml/element-glshader.xml" />
|
||||
<xi:include href="xml/element-glsinkbin.xml" />
|
||||
<xi:include href="xml/element-glsrcbin.xml" />
|
||||
<xi:include href="xml/element-glstereomix.xml" />
|
||||
<xi:include href="xml/element-glstereosplit.xml" />
|
||||
<xi:include href="xml/element-gltestsrc.xml" />
|
||||
<xi:include href="xml/element-gltransformation.xml" />
|
||||
<xi:include href="xml/element-glupload.xml" />
|
||||
<xi:include href="xml/element-glvideomixerelement.xml" />
|
||||
<xi:include href="xml/element-glvideomixer.xml" />
|
||||
<xi:include href="xml/element-glviewconvert.xml" />
|
||||
<xi:include href="xml/element-multifdsink.xml" />
|
||||
<xi:include href="xml/element-multisocketsink.xml" />
|
||||
|
|
|
@ -885,6 +885,39 @@ GST_TYPE_GL_IMAGE_SINK_BIN
|
|||
gst_gl_image_sink_bin_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-glmixerbin</FILE>
|
||||
<TITLE>glmixerbin</TITLE>
|
||||
GstGLMixerBin
|
||||
GstGLMixerBinStartTimeSelection
|
||||
<SUBSECTION Standard>
|
||||
GstGLMixerBinClass
|
||||
GST_GL_MIXER_BIN
|
||||
GST_GL_MIXER_BIN_CAST
|
||||
GST_IS_GL_MIXER_BIN
|
||||
GST_GL_MIXER_BIN_CLASS
|
||||
GST_IS_GL_MIXER_BIN_CLASS
|
||||
GST_TYPE_GL_MIXER_BIN
|
||||
<SUBSECTION Private>
|
||||
gst_gl_mixer_bin_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-glmosaic</FILE>
|
||||
<TITLE>glmosaic</TITLE>
|
||||
GstGLMosaic
|
||||
<SUBSECTION Standard>
|
||||
GstGLMosaicClass
|
||||
GST_GL_MOSAIC
|
||||
GST_GL_MOSAIC_CAST
|
||||
GST_IS_GL_MOSAIC
|
||||
GST_GL_MOSAIC_CLASS
|
||||
GST_IS_GL_MOSAIC_CLASS
|
||||
GST_TYPE_GL_MOSAIC
|
||||
<SUBSECTION Private>
|
||||
gst_gl_mosaic_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-gloverlay</FILE>
|
||||
<TITLE>gloverlay</TITLE>
|
||||
|
@ -933,6 +966,22 @@ GST_TYPE_GL_SRC_BIN
|
|||
gst_gl_src_bin_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-glstereomix</FILE>
|
||||
<TITLE>glstereomix</TITLE>
|
||||
GstGLStereoMix
|
||||
<SUBSECTION Standard>
|
||||
GstGLStereoMixClass
|
||||
GST_GL_STEREO_MIX
|
||||
GST_GL_STEREO_MIX_CAST
|
||||
GST_IS_GL_STEREO_MIX
|
||||
GST_GL_STEREO_MIX_CLASS
|
||||
GST_IS_GL_STEREO_MIX_CLASS
|
||||
GST_TYPE_GL_STEREO_MIX
|
||||
<SUBSECTION Private>
|
||||
gst_gl_stereo_mix_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-glstereosplit</FILE>
|
||||
<TITLE>glstereosplit</TITLE>
|
||||
|
@ -995,6 +1044,39 @@ GST_TYPE_GL_UPLOAD_ELEMENT
|
|||
gst_gl_upload_element_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-glvideomixerelement</FILE>
|
||||
<TITLE>glvideomixerelement</TITLE>
|
||||
GstGLVideoMixer
|
||||
GstGLVideoMixerBackground
|
||||
<SUBSECTION Standard>
|
||||
GstGLVideoMixerClass
|
||||
GST_GL_VIDEO_MIXER
|
||||
GST_GL_VIDEO_MIXER_CAST
|
||||
GST_IS_GL_VIDEO_MIXER
|
||||
GST_GL_VIDEO_MIXER_CLASS
|
||||
GST_IS_GL_VIDEO_MIXER_CLASS
|
||||
GST_TYPE_GL_VIDEO_MIXER
|
||||
<SUBSECTION Private>
|
||||
gst_gl_video_mixer_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-glvideomixer</FILE>
|
||||
<TITLE>glvideomixer</TITLE>
|
||||
GstGLVideoMixerBin
|
||||
<SUBSECTION Standard>
|
||||
GstGLVideoMixerBinClass
|
||||
GST_GL_VIDEO_MIXER_BIN
|
||||
GST_GL_VIDEO_MIXER_BIN_CAST
|
||||
GST_IS_GL_VIDEO_MIXER_BIN
|
||||
GST_GL_VIDEO_MIXER_BIN_CLASS
|
||||
GST_IS_GL_VIDEO_MIXER_BIN_CLASS
|
||||
GST_TYPE_GL_VIDEO_MIXER_BIN
|
||||
<SUBSECTION Private>
|
||||
gst_gl_video_mixer_bin_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>element-glviewconvert</FILE>
|
||||
<TITLE>glviewconvert</TITLE>
|
||||
|
|
|
@ -1,17 +1,5 @@
|
|||
plugin_LTLIBRARIES = libgstopengl.la
|
||||
|
||||
# These have to stay in -bad until we can move GstVideoAggregator to -base
|
||||
# gstglbasemixer.c
|
||||
# gstglbasemixer.h
|
||||
# gstglmixer.c
|
||||
# gstglmixer.h
|
||||
# gstglmixerbin.h
|
||||
# gstglmixerbin.c
|
||||
# gstglstereomix.c
|
||||
# gstglstereomix.h
|
||||
# gstglvideomixer.c
|
||||
# gstglvideomixer.h
|
||||
|
||||
libgstopengl_la_SOURCES = \
|
||||
gstopengl.c \
|
||||
gstglalpha.c \
|
||||
|
@ -43,13 +31,18 @@ libgstopengl_la_SOURCES = \
|
|||
effects/gstgleffectblur.c \
|
||||
effects/gstgleffectsobel.c \
|
||||
effects/gstgleffectlaplacian.c \
|
||||
gstglbasemixer.c \
|
||||
gstglcolorscale.c \
|
||||
gstglcolorbalance.c \
|
||||
gstgldeinterlace.c \
|
||||
gstglfiltershader.c \
|
||||
gstglfilterapp.c \
|
||||
gstglviewconvert.c \
|
||||
gstglmixer.c \
|
||||
gstglmixerbin.c \
|
||||
gstglstereomix.c \
|
||||
gstglstereosplit.c \
|
||||
gstgldeinterlace.c \
|
||||
gstglvideomixer.c \
|
||||
gstglviewconvert.c \
|
||||
gltestsrc.c \
|
||||
gstgltestsrc.c \
|
||||
gstgloverlaycompositorelement.c \
|
||||
|
@ -67,12 +60,17 @@ noinst_HEADERS = \
|
|||
gstglfiltercube.h \
|
||||
gstgleffects.h \
|
||||
effects/gstgleffectssources.h \
|
||||
gstglbasemixer.h \
|
||||
gstglcolorscale.h \
|
||||
gstglcolorbalance.h \
|
||||
gstgldeinterlace.h \
|
||||
gstglfiltershader.h \
|
||||
gstglfilterapp.h \
|
||||
gstglmixer.h \
|
||||
gstglmixerbin.h \
|
||||
gstglstereomix.h \
|
||||
gstglstereosplit.h \
|
||||
gstgldeinterlace.h \
|
||||
gstglvideomixer.h \
|
||||
gstglviewconvert.h \
|
||||
gltestsrc.h \
|
||||
gstgltestsrc.h \
|
||||
|
@ -81,13 +79,13 @@ noinst_HEADERS = \
|
|||
|
||||
# full opengl required
|
||||
if USE_OPENGL
|
||||
# gstglmosaic.c
|
||||
libgstopengl_la_SOURCES += \
|
||||
gstglmosaic.c \
|
||||
gstglfilterglass.c
|
||||
|
||||
# gstglmosaic.h
|
||||
noinst_HEADERS += \
|
||||
gstglfilterglass.h \
|
||||
gstglmosaic.h \
|
||||
effects/gstgleffectscurves.h \
|
||||
effects/gstgleffectlumatocurve.h
|
||||
|
||||
|
|
|
@ -43,8 +43,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#undef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
||||
|
||||
#include "gstglimagesink.h"
|
||||
#include "gstgluploadelement.h"
|
||||
#include "gstgldownloadelement.h"
|
||||
|
@ -58,11 +56,9 @@
|
|||
#include "gstgleffects.h"
|
||||
#include "gstglcolorscale.h"
|
||||
|
||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
||||
#include "gstglmixerbin.h"
|
||||
#include "gstglvideomixer.h"
|
||||
#include "gstglstereomix.h"
|
||||
#endif
|
||||
|
||||
#include "gstglfiltershader.h"
|
||||
#include "gstglfilterapp.h"
|
||||
|
@ -81,12 +77,17 @@
|
|||
#include "gstgloverlay.h"
|
||||
#endif
|
||||
|
||||
#include "gstglmixerbin.h"
|
||||
#include "gstglvideomixer.h"
|
||||
#include "gstglstereomix.h"
|
||||
|
||||
#if GST_GL_HAVE_OPENGL
|
||||
#endif /* GST_GL_HAVE_OPENGL */
|
||||
|
||||
#if GST_GL_HAVE_OPENGL
|
||||
#include "gstglfilterglass.h"
|
||||
/* #include "gstglfilterreflectedscreen.h" */
|
||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
||||
#include "gstglmosaic.h"
|
||||
#endif
|
||||
#ifdef HAVE_PNG
|
||||
#include "gstgldifferencematte.h"
|
||||
/* #include "gstglbumper.h" */
|
||||
|
@ -169,12 +170,11 @@ plugin_init (GstPlugin * plugin)
|
|||
GST_RANK_NONE, GST_TYPE_GL_SRC_BIN)) {
|
||||
return FALSE;
|
||||
}
|
||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
||||
|
||||
if (!gst_element_register (plugin, "glmixerbin",
|
||||
GST_RANK_NONE, GST_TYPE_GL_MIXER_BIN)) {
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!gst_element_register (plugin, "glfiltercube",
|
||||
GST_RANK_NONE, GST_TYPE_GL_FILTER_CUBE)) {
|
||||
|
@ -200,7 +200,7 @@ plugin_init (GstPlugin * plugin)
|
|||
GST_RANK_NONE, GST_TYPE_GL_COLORSCALE)) {
|
||||
return FALSE;
|
||||
}
|
||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
||||
|
||||
if (!gst_element_register (plugin, "glvideomixer",
|
||||
GST_RANK_NONE, gst_gl_video_mixer_bin_get_type ())) {
|
||||
return FALSE;
|
||||
|
@ -210,7 +210,6 @@ plugin_init (GstPlugin * plugin)
|
|||
GST_RANK_NONE, gst_gl_video_mixer_get_type ())) {
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!gst_element_register (plugin, "glshader",
|
||||
GST_RANK_NONE, gst_gl_filtershader_get_type ())) {
|
||||
|
@ -231,12 +230,11 @@ plugin_init (GstPlugin * plugin)
|
|||
GST_RANK_NONE, GST_TYPE_GL_STEREOSPLIT)) {
|
||||
return FALSE;
|
||||
}
|
||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
||||
|
||||
if (!gst_element_register (plugin, "glstereomix",
|
||||
GST_RANK_NONE, GST_TYPE_GL_STEREO_MIX)) {
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!gst_element_register (plugin, "gltestsrc",
|
||||
GST_RANK_NONE, GST_TYPE_GL_TEST_SRC)) {
|
||||
|
@ -274,12 +272,11 @@ plugin_init (GstPlugin * plugin)
|
|||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
||||
|
||||
if (!gst_element_register (plugin, "glmosaic",
|
||||
GST_RANK_NONE, GST_TYPE_GL_MOSAIC)) {
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_PNG
|
||||
if (!gst_element_register (plugin, "gldifferencematte",
|
||||
GST_RANK_NONE, gst_gl_differencematte_get_type ())) {
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
# These have to stay in -bad until we can move GstVideoAggregator to -base
|
||||
# 'gstglbasemixer.c',
|
||||
# 'gstglmixerbin.c',
|
||||
# 'gstglmixer.c',
|
||||
# 'gstglvideomixer.c',
|
||||
# 'gstglstereomix.c',
|
||||
opengl_sources = [
|
||||
'gstopengl.c',
|
||||
'gstglalpha.c',
|
||||
|
@ -35,13 +29,18 @@ opengl_sources = [
|
|||
'effects/gstgleffectblur.c',
|
||||
'effects/gstgleffectsobel.c',
|
||||
'effects/gstgleffectlaplacian.c',
|
||||
'gstglbasemixer.c',
|
||||
'gstglcolorscale.c',
|
||||
'gstglcolorbalance.c',
|
||||
'gstgldeinterlace.c',
|
||||
'gstglfiltershader.c',
|
||||
'gstglfilterapp.c',
|
||||
'gstglviewconvert.c',
|
||||
'gstglmixerbin.c',
|
||||
'gstglmixer.c',
|
||||
'gstglvideomixer.c',
|
||||
'gstglstereomix.c',
|
||||
'gstglstereosplit.c',
|
||||
'gstgldeinterlace.c',
|
||||
'gstglviewconvert.c',
|
||||
'gltestsrc.c',
|
||||
'gstgltestsrc.c',
|
||||
'gstgloverlaycompositorelement.c',
|
||||
|
@ -55,10 +54,9 @@ endif
|
|||
optional_deps = []
|
||||
|
||||
if gl_dep.found() # have desktop GL
|
||||
# These have to stay in -bad until we can move GstVideoAggregator to -base
|
||||
# 'gstglmosaic.c',
|
||||
opengl_sources += [
|
||||
'gstglfilterglass.c',
|
||||
'gstglmosaic.c',
|
||||
]
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue