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-glfilterglass.xml" />
|
||||||
<xi:include href="xml/element-glimagesinkelement.xml" />
|
<xi:include href="xml/element-glimagesinkelement.xml" />
|
||||||
<xi:include href="xml/element-glimagesink.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-gloverlay.xml" />
|
||||||
<xi:include href="xml/element-glshader.xml" />
|
<xi:include href="xml/element-glshader.xml" />
|
||||||
<xi:include href="xml/element-glsinkbin.xml" />
|
<xi:include href="xml/element-glsinkbin.xml" />
|
||||||
<xi:include href="xml/element-glsrcbin.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-glstereosplit.xml" />
|
||||||
<xi:include href="xml/element-gltestsrc.xml" />
|
<xi:include href="xml/element-gltestsrc.xml" />
|
||||||
<xi:include href="xml/element-gltransformation.xml" />
|
<xi:include href="xml/element-gltransformation.xml" />
|
||||||
<xi:include href="xml/element-glupload.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-glviewconvert.xml" />
|
||||||
<xi:include href="xml/element-multifdsink.xml" />
|
<xi:include href="xml/element-multifdsink.xml" />
|
||||||
<xi:include href="xml/element-multisocketsink.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
|
gst_gl_image_sink_bin_get_type
|
||||||
</SECTION>
|
</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>
|
<SECTION>
|
||||||
<FILE>element-gloverlay</FILE>
|
<FILE>element-gloverlay</FILE>
|
||||||
<TITLE>gloverlay</TITLE>
|
<TITLE>gloverlay</TITLE>
|
||||||
|
@ -933,6 +966,22 @@ GST_TYPE_GL_SRC_BIN
|
||||||
gst_gl_src_bin_get_type
|
gst_gl_src_bin_get_type
|
||||||
</SECTION>
|
</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>
|
<SECTION>
|
||||||
<FILE>element-glstereosplit</FILE>
|
<FILE>element-glstereosplit</FILE>
|
||||||
<TITLE>glstereosplit</TITLE>
|
<TITLE>glstereosplit</TITLE>
|
||||||
|
@ -995,6 +1044,39 @@ GST_TYPE_GL_UPLOAD_ELEMENT
|
||||||
gst_gl_upload_element_get_type
|
gst_gl_upload_element_get_type
|
||||||
</SECTION>
|
</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>
|
<SECTION>
|
||||||
<FILE>element-glviewconvert</FILE>
|
<FILE>element-glviewconvert</FILE>
|
||||||
<TITLE>glviewconvert</TITLE>
|
<TITLE>glviewconvert</TITLE>
|
||||||
|
|
|
@ -1,17 +1,5 @@
|
||||||
plugin_LTLIBRARIES = libgstopengl.la
|
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 = \
|
libgstopengl_la_SOURCES = \
|
||||||
gstopengl.c \
|
gstopengl.c \
|
||||||
gstglalpha.c \
|
gstglalpha.c \
|
||||||
|
@ -43,13 +31,18 @@ libgstopengl_la_SOURCES = \
|
||||||
effects/gstgleffectblur.c \
|
effects/gstgleffectblur.c \
|
||||||
effects/gstgleffectsobel.c \
|
effects/gstgleffectsobel.c \
|
||||||
effects/gstgleffectlaplacian.c \
|
effects/gstgleffectlaplacian.c \
|
||||||
|
gstglbasemixer.c \
|
||||||
gstglcolorscale.c \
|
gstglcolorscale.c \
|
||||||
gstglcolorbalance.c \
|
gstglcolorbalance.c \
|
||||||
|
gstgldeinterlace.c \
|
||||||
gstglfiltershader.c \
|
gstglfiltershader.c \
|
||||||
gstglfilterapp.c \
|
gstglfilterapp.c \
|
||||||
gstglviewconvert.c \
|
gstglmixer.c \
|
||||||
|
gstglmixerbin.c \
|
||||||
|
gstglstereomix.c \
|
||||||
gstglstereosplit.c \
|
gstglstereosplit.c \
|
||||||
gstgldeinterlace.c \
|
gstglvideomixer.c \
|
||||||
|
gstglviewconvert.c \
|
||||||
gltestsrc.c \
|
gltestsrc.c \
|
||||||
gstgltestsrc.c \
|
gstgltestsrc.c \
|
||||||
gstgloverlaycompositorelement.c \
|
gstgloverlaycompositorelement.c \
|
||||||
|
@ -67,12 +60,17 @@ noinst_HEADERS = \
|
||||||
gstglfiltercube.h \
|
gstglfiltercube.h \
|
||||||
gstgleffects.h \
|
gstgleffects.h \
|
||||||
effects/gstgleffectssources.h \
|
effects/gstgleffectssources.h \
|
||||||
|
gstglbasemixer.h \
|
||||||
gstglcolorscale.h \
|
gstglcolorscale.h \
|
||||||
gstglcolorbalance.h \
|
gstglcolorbalance.h \
|
||||||
|
gstgldeinterlace.h \
|
||||||
gstglfiltershader.h \
|
gstglfiltershader.h \
|
||||||
gstglfilterapp.h \
|
gstglfilterapp.h \
|
||||||
|
gstglmixer.h \
|
||||||
|
gstglmixerbin.h \
|
||||||
|
gstglstereomix.h \
|
||||||
gstglstereosplit.h \
|
gstglstereosplit.h \
|
||||||
gstgldeinterlace.h \
|
gstglvideomixer.h \
|
||||||
gstglviewconvert.h \
|
gstglviewconvert.h \
|
||||||
gltestsrc.h \
|
gltestsrc.h \
|
||||||
gstgltestsrc.h \
|
gstgltestsrc.h \
|
||||||
|
@ -81,13 +79,13 @@ noinst_HEADERS = \
|
||||||
|
|
||||||
# full opengl required
|
# full opengl required
|
||||||
if USE_OPENGL
|
if USE_OPENGL
|
||||||
# gstglmosaic.c
|
|
||||||
libgstopengl_la_SOURCES += \
|
libgstopengl_la_SOURCES += \
|
||||||
|
gstglmosaic.c \
|
||||||
gstglfilterglass.c
|
gstglfilterglass.c
|
||||||
|
|
||||||
# gstglmosaic.h
|
|
||||||
noinst_HEADERS += \
|
noinst_HEADERS += \
|
||||||
gstglfilterglass.h \
|
gstglfilterglass.h \
|
||||||
|
gstglmosaic.h \
|
||||||
effects/gstgleffectscurves.h \
|
effects/gstgleffectscurves.h \
|
||||||
effects/gstgleffectlumatocurve.h
|
effects/gstgleffectlumatocurve.h
|
||||||
|
|
||||||
|
|
|
@ -43,8 +43,6 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
|
||||||
|
|
||||||
#include "gstglimagesink.h"
|
#include "gstglimagesink.h"
|
||||||
#include "gstgluploadelement.h"
|
#include "gstgluploadelement.h"
|
||||||
#include "gstgldownloadelement.h"
|
#include "gstgldownloadelement.h"
|
||||||
|
@ -58,11 +56,9 @@
|
||||||
#include "gstgleffects.h"
|
#include "gstgleffects.h"
|
||||||
#include "gstglcolorscale.h"
|
#include "gstglcolorscale.h"
|
||||||
|
|
||||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
|
||||||
#include "gstglmixerbin.h"
|
#include "gstglmixerbin.h"
|
||||||
#include "gstglvideomixer.h"
|
#include "gstglvideomixer.h"
|
||||||
#include "gstglstereomix.h"
|
#include "gstglstereomix.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "gstglfiltershader.h"
|
#include "gstglfiltershader.h"
|
||||||
#include "gstglfilterapp.h"
|
#include "gstglfilterapp.h"
|
||||||
|
@ -81,12 +77,17 @@
|
||||||
#include "gstgloverlay.h"
|
#include "gstgloverlay.h"
|
||||||
#endif
|
#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
|
#if GST_GL_HAVE_OPENGL
|
||||||
#include "gstglfilterglass.h"
|
#include "gstglfilterglass.h"
|
||||||
/* #include "gstglfilterreflectedscreen.h" */
|
/* #include "gstglfilterreflectedscreen.h" */
|
||||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
|
||||||
#include "gstglmosaic.h"
|
#include "gstglmosaic.h"
|
||||||
#endif
|
|
||||||
#ifdef HAVE_PNG
|
#ifdef HAVE_PNG
|
||||||
#include "gstgldifferencematte.h"
|
#include "gstgldifferencematte.h"
|
||||||
/* #include "gstglbumper.h" */
|
/* #include "gstglbumper.h" */
|
||||||
|
@ -169,12 +170,11 @@ plugin_init (GstPlugin * plugin)
|
||||||
GST_RANK_NONE, GST_TYPE_GL_SRC_BIN)) {
|
GST_RANK_NONE, GST_TYPE_GL_SRC_BIN)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
|
||||||
if (!gst_element_register (plugin, "glmixerbin",
|
if (!gst_element_register (plugin, "glmixerbin",
|
||||||
GST_RANK_NONE, GST_TYPE_GL_MIXER_BIN)) {
|
GST_RANK_NONE, GST_TYPE_GL_MIXER_BIN)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "glfiltercube",
|
if (!gst_element_register (plugin, "glfiltercube",
|
||||||
GST_RANK_NONE, GST_TYPE_GL_FILTER_CUBE)) {
|
GST_RANK_NONE, GST_TYPE_GL_FILTER_CUBE)) {
|
||||||
|
@ -200,7 +200,7 @@ plugin_init (GstPlugin * plugin)
|
||||||
GST_RANK_NONE, GST_TYPE_GL_COLORSCALE)) {
|
GST_RANK_NONE, GST_TYPE_GL_COLORSCALE)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
|
||||||
if (!gst_element_register (plugin, "glvideomixer",
|
if (!gst_element_register (plugin, "glvideomixer",
|
||||||
GST_RANK_NONE, gst_gl_video_mixer_bin_get_type ())) {
|
GST_RANK_NONE, gst_gl_video_mixer_bin_get_type ())) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -210,7 +210,6 @@ plugin_init (GstPlugin * plugin)
|
||||||
GST_RANK_NONE, gst_gl_video_mixer_get_type ())) {
|
GST_RANK_NONE, gst_gl_video_mixer_get_type ())) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "glshader",
|
if (!gst_element_register (plugin, "glshader",
|
||||||
GST_RANK_NONE, gst_gl_filtershader_get_type ())) {
|
GST_RANK_NONE, gst_gl_filtershader_get_type ())) {
|
||||||
|
@ -231,12 +230,11 @@ plugin_init (GstPlugin * plugin)
|
||||||
GST_RANK_NONE, GST_TYPE_GL_STEREOSPLIT)) {
|
GST_RANK_NONE, GST_TYPE_GL_STEREOSPLIT)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
|
||||||
if (!gst_element_register (plugin, "glstereomix",
|
if (!gst_element_register (plugin, "glstereomix",
|
||||||
GST_RANK_NONE, GST_TYPE_GL_STEREO_MIX)) {
|
GST_RANK_NONE, GST_TYPE_GL_STEREO_MIX)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "gltestsrc",
|
if (!gst_element_register (plugin, "gltestsrc",
|
||||||
GST_RANK_NONE, GST_TYPE_GL_TEST_SRC)) {
|
GST_RANK_NONE, GST_TYPE_GL_TEST_SRC)) {
|
||||||
|
@ -274,12 +272,11 @@ plugin_init (GstPlugin * plugin)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_VIDEO_AGGREGATOR_IN_BASE
|
|
||||||
if (!gst_element_register (plugin, "glmosaic",
|
if (!gst_element_register (plugin, "glmosaic",
|
||||||
GST_RANK_NONE, GST_TYPE_GL_MOSAIC)) {
|
GST_RANK_NONE, GST_TYPE_GL_MOSAIC)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
#ifdef HAVE_PNG
|
#ifdef HAVE_PNG
|
||||||
if (!gst_element_register (plugin, "gldifferencematte",
|
if (!gst_element_register (plugin, "gldifferencematte",
|
||||||
GST_RANK_NONE, gst_gl_differencematte_get_type ())) {
|
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 = [
|
opengl_sources = [
|
||||||
'gstopengl.c',
|
'gstopengl.c',
|
||||||
'gstglalpha.c',
|
'gstglalpha.c',
|
||||||
|
@ -35,13 +29,18 @@ opengl_sources = [
|
||||||
'effects/gstgleffectblur.c',
|
'effects/gstgleffectblur.c',
|
||||||
'effects/gstgleffectsobel.c',
|
'effects/gstgleffectsobel.c',
|
||||||
'effects/gstgleffectlaplacian.c',
|
'effects/gstgleffectlaplacian.c',
|
||||||
|
'gstglbasemixer.c',
|
||||||
'gstglcolorscale.c',
|
'gstglcolorscale.c',
|
||||||
'gstglcolorbalance.c',
|
'gstglcolorbalance.c',
|
||||||
|
'gstgldeinterlace.c',
|
||||||
'gstglfiltershader.c',
|
'gstglfiltershader.c',
|
||||||
'gstglfilterapp.c',
|
'gstglfilterapp.c',
|
||||||
'gstglviewconvert.c',
|
'gstglmixerbin.c',
|
||||||
|
'gstglmixer.c',
|
||||||
|
'gstglvideomixer.c',
|
||||||
|
'gstglstereomix.c',
|
||||||
'gstglstereosplit.c',
|
'gstglstereosplit.c',
|
||||||
'gstgldeinterlace.c',
|
'gstglviewconvert.c',
|
||||||
'gltestsrc.c',
|
'gltestsrc.c',
|
||||||
'gstgltestsrc.c',
|
'gstgltestsrc.c',
|
||||||
'gstgloverlaycompositorelement.c',
|
'gstgloverlaycompositorelement.c',
|
||||||
|
@ -55,10 +54,9 @@ endif
|
||||||
optional_deps = []
|
optional_deps = []
|
||||||
|
|
||||||
if gl_dep.found() # have desktop GL
|
if gl_dep.found() # have desktop GL
|
||||||
# These have to stay in -bad until we can move GstVideoAggregator to -base
|
|
||||||
# 'gstglmosaic.c',
|
|
||||||
opengl_sources += [
|
opengl_sources += [
|
||||||
'gstglfilterglass.c',
|
'gstglfilterglass.c',
|
||||||
|
'gstglmosaic.c',
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue