2014-03-16 10:23:16 +00:00
|
|
|
plugin_LTLIBRARIES = libgstopengl.la
|
|
|
|
|
2015-02-25 00:01:45 +00:00
|
|
|
libgstopengl_la_SOURCES = \
|
|
|
|
gstopengl.c \
|
2018-03-05 06:58:11 +00:00
|
|
|
gstglalpha.c \
|
2015-02-11 12:29:01 +00:00
|
|
|
gstgluploadelement.c \
|
2015-02-19 02:24:59 +00:00
|
|
|
gstgldownloadelement.c \
|
2015-02-12 06:59:27 +00:00
|
|
|
gstglcolorconvertelement.c \
|
2015-02-19 02:33:28 +00:00
|
|
|
gstglfilterbin.c \
|
2015-02-19 07:23:37 +00:00
|
|
|
gstglsinkbin.c \
|
2015-02-26 07:26:36 +00:00
|
|
|
gstglsrcbin.c \
|
2015-02-25 00:01:45 +00:00
|
|
|
gstglimagesink.c \
|
|
|
|
gstglfiltercube.c \
|
|
|
|
gstgleffects.c \
|
2016-01-19 13:20:23 +00:00
|
|
|
effects/gstgleffectscurves.c \
|
2015-02-25 00:01:45 +00:00
|
|
|
effects/gstgleffectssources.c \
|
|
|
|
effects/gstgleffectidentity.c \
|
|
|
|
effects/gstgleffectmirror.c \
|
|
|
|
effects/gstgleffectsqueeze.c \
|
2015-03-30 12:49:01 +00:00
|
|
|
effects/gstgleffectstretch.c \
|
|
|
|
effects/gstgleffectfisheye.c \
|
|
|
|
effects/gstgleffecttwirl.c \
|
|
|
|
effects/gstgleffectbulge.c \
|
|
|
|
effects/gstgleffecttunnel.c \
|
|
|
|
effects/gstgleffectsquare.c \
|
|
|
|
effects/gstgleffectlumatocurve.c \
|
|
|
|
effects/gstgleffectrgbtocurve.c \
|
|
|
|
effects/gstgleffectsin.c \
|
|
|
|
effects/gstgleffectxray.c \
|
|
|
|
effects/gstgleffectglow.c \
|
2015-03-22 10:13:30 +00:00
|
|
|
effects/gstgleffectblur.c \
|
2015-03-22 10:20:49 +00:00
|
|
|
effects/gstgleffectsobel.c \
|
2015-03-22 10:22:52 +00:00
|
|
|
effects/gstgleffectlaplacian.c \
|
2018-12-27 16:35:00 +00:00
|
|
|
gstglbasemixer.c \
|
2015-02-25 00:01:45 +00:00
|
|
|
gstglcolorscale.c \
|
2016-01-12 07:31:29 +00:00
|
|
|
gstglcolorbalance.c \
|
2018-12-27 16:35:00 +00:00
|
|
|
gstgldeinterlace.c \
|
2015-02-25 00:01:45 +00:00
|
|
|
gstglfiltershader.c \
|
2015-10-26 13:36:41 +00:00
|
|
|
gstglfilterapp.c \
|
2018-12-27 16:35:00 +00:00
|
|
|
gstglmixer.c \
|
|
|
|
gstglmixerbin.c \
|
|
|
|
gstglstereomix.c \
|
2015-10-26 13:36:41 +00:00
|
|
|
gstglstereosplit.c \
|
2018-12-27 16:35:00 +00:00
|
|
|
gstglvideomixer.c \
|
|
|
|
gstglviewconvert.c \
|
2016-02-26 09:55:47 +00:00
|
|
|
gltestsrc.c \
|
2016-11-10 08:14:24 +00:00
|
|
|
gstgltestsrc.c \
|
2018-09-27 03:35:15 +00:00
|
|
|
gstgloverlaycompositorelement.c \
|
2016-11-10 08:14:24 +00:00
|
|
|
gstglutils.c
|
2014-03-16 10:23:16 +00:00
|
|
|
|
2015-02-25 00:01:45 +00:00
|
|
|
noinst_HEADERS = \
|
2018-03-05 06:58:11 +00:00
|
|
|
gstglalpha.h \
|
2015-02-11 12:29:01 +00:00
|
|
|
gstgluploadelement.h \
|
2015-02-19 02:24:59 +00:00
|
|
|
gstgldownloadelement.h \
|
2015-02-12 06:59:27 +00:00
|
|
|
gstglcolorconvertelement.h \
|
2015-02-19 02:33:28 +00:00
|
|
|
gstglfilterbin.h \
|
2015-02-19 07:23:37 +00:00
|
|
|
gstglsinkbin.h \
|
2015-02-26 07:26:36 +00:00
|
|
|
gstglsrcbin.h \
|
2015-02-25 00:01:45 +00:00
|
|
|
gstglimagesink.h \
|
|
|
|
gstglfiltercube.h \
|
|
|
|
gstgleffects.h \
|
|
|
|
effects/gstgleffectssources.h \
|
2018-12-27 16:35:00 +00:00
|
|
|
gstglbasemixer.h \
|
2015-02-25 00:01:45 +00:00
|
|
|
gstglcolorscale.h \
|
2016-01-12 07:31:29 +00:00
|
|
|
gstglcolorbalance.h \
|
2018-12-27 16:35:00 +00:00
|
|
|
gstgldeinterlace.h \
|
2015-02-25 00:01:45 +00:00
|
|
|
gstglfiltershader.h \
|
2015-10-26 13:36:41 +00:00
|
|
|
gstglfilterapp.h \
|
2018-12-27 16:35:00 +00:00
|
|
|
gstglmixer.h \
|
|
|
|
gstglmixerbin.h \
|
|
|
|
gstglstereomix.h \
|
2015-10-26 13:36:41 +00:00
|
|
|
gstglstereosplit.h \
|
2018-12-27 16:35:00 +00:00
|
|
|
gstglvideomixer.h \
|
2016-02-26 09:55:47 +00:00
|
|
|
gstglviewconvert.h \
|
2016-03-31 13:23:25 +00:00
|
|
|
gltestsrc.h \
|
2016-11-10 08:14:24 +00:00
|
|
|
gstgltestsrc.h \
|
2018-09-27 03:35:15 +00:00
|
|
|
gstgloverlaycompositorelement.h \
|
2016-11-10 08:14:24 +00:00
|
|
|
gstglutils.h
|
2015-01-29 06:41:19 +00:00
|
|
|
|
2014-03-16 10:23:16 +00:00
|
|
|
# full opengl required
|
|
|
|
if USE_OPENGL
|
2015-02-25 00:01:45 +00:00
|
|
|
libgstopengl_la_SOURCES += \
|
2018-12-27 16:35:00 +00:00
|
|
|
gstglmosaic.c \
|
2017-12-10 20:02:26 +00:00
|
|
|
gstglfilterglass.c
|
2014-03-16 10:23:16 +00:00
|
|
|
|
2015-02-25 00:01:45 +00:00
|
|
|
noinst_HEADERS += \
|
|
|
|
gstglfilterglass.h \
|
2018-12-27 16:35:00 +00:00
|
|
|
gstglmosaic.h \
|
2015-02-25 00:01:45 +00:00
|
|
|
effects/gstgleffectscurves.h \
|
|
|
|
effects/gstgleffectlumatocurve.h
|
|
|
|
|
2014-03-16 10:23:16 +00:00
|
|
|
if HAVE_PNG
|
2015-02-25 00:01:45 +00:00
|
|
|
libgstopengl_la_SOURCES += \
|
|
|
|
gstgldifferencematte.c
|
|
|
|
|
|
|
|
noinst_HEADERS += \
|
2014-03-16 10:23:16 +00:00
|
|
|
gstgldifferencematte.h
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-05-27 10:40:09 +00:00
|
|
|
if HAVE_GRAPHENE
|
|
|
|
libgstopengl_la_SOURCES += \
|
|
|
|
gstgltransformation.c \
|
2016-01-15 00:22:40 +00:00
|
|
|
gstglvideoflip.c
|
|
|
|
|
|
|
|
noinst_HEADERS += \
|
|
|
|
gstgltransformation.h \
|
|
|
|
gstglvideoflip.h
|
2014-05-27 10:40:09 +00:00
|
|
|
endif
|
|
|
|
|
2014-09-25 17:48:59 +00:00
|
|
|
if HAVE_JPEG
|
|
|
|
if HAVE_PNG
|
|
|
|
libgstopengl_la_SOURCES += \
|
2015-02-25 00:01:45 +00:00
|
|
|
gstgloverlay.c
|
|
|
|
|
|
|
|
noinst_HEADERS += \
|
2014-09-25 17:48:59 +00:00
|
|
|
gstgloverlay.h
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2015-01-29 06:41:19 +00:00
|
|
|
if HAVE_WINDOW_COCOA
|
|
|
|
libgstopengl_la_SOURCES += \
|
2015-02-25 00:01:45 +00:00
|
|
|
caopengllayersink.m
|
|
|
|
|
|
|
|
noinst_HEADERS += \
|
2015-01-29 06:41:19 +00:00
|
|
|
caopengllayersink.h
|
2015-02-25 00:01:45 +00:00
|
|
|
endif
|
2015-01-29 06:41:19 +00:00
|
|
|
|
|
|
|
libgstopengl_la_OBJCFLAGS = \
|
2017-12-10 20:02:26 +00:00
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
2017-03-08 13:16:43 +00:00
|
|
|
-fobjc-arc \
|
2015-02-25 00:01:45 +00:00
|
|
|
$(GST_OBJCFLAGS) \
|
2015-01-29 06:41:19 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
2017-01-10 01:51:51 +00:00
|
|
|
$(GST_CONTROLLER_CFLAGS) \
|
2015-02-25 00:01:45 +00:00
|
|
|
$(GL_OBJCFLAGS)
|
2015-01-29 06:41:19 +00:00
|
|
|
|
2014-03-16 10:23:16 +00:00
|
|
|
# check order of CFLAGS and LIBS, shouldn't the order be the other way around
|
|
|
|
# (like in AM_CFLAGS)?
|
2014-03-24 16:33:00 +00:00
|
|
|
libgstopengl_la_CFLAGS = \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
2017-12-10 20:02:26 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
2017-01-10 01:51:51 +00:00
|
|
|
$(GST_CONTROLLER_CFLAGS) \
|
2017-12-10 20:02:26 +00:00
|
|
|
$(GST_CFLAGS) \
|
2014-03-24 16:33:00 +00:00
|
|
|
$(GL_CFLAGS) \
|
2014-05-27 10:40:09 +00:00
|
|
|
$(LIBPNG_CFLAGS) \
|
|
|
|
$(GRAPHENE_CFLAGS)
|
2014-03-16 10:23:16 +00:00
|
|
|
|
|
|
|
libgstopengl_la_LIBADD = \
|
2017-12-10 20:02:26 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
|
|
|
|
$(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \
|
|
|
|
$(top_builddir)/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la \
|
2018-02-17 16:34:58 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/allocators/libgstallocators-@GST_API_VERSION@.la \
|
2014-03-16 10:23:16 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
2017-01-10 01:51:51 +00:00
|
|
|
$(GST_CONTROLLER_LIBS) \
|
2017-12-10 20:02:26 +00:00
|
|
|
$(GST_LIBS) \
|
2014-03-16 10:23:16 +00:00
|
|
|
$(GL_LIBS) \
|
|
|
|
$(LIBPNG_LIBS) \
|
2014-05-27 10:40:09 +00:00
|
|
|
$(JPEG_LIBS) \
|
|
|
|
$(LIBM) \
|
|
|
|
$(GRAPHENE_LIBS)
|
2014-03-16 10:23:16 +00:00
|
|
|
|
|
|
|
libgstopengl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2017-05-16 18:05:52 +00:00
|
|
|
libgstopengl_la_LIBTOOLFLAGS = --tag=CC
|
2015-02-25 00:01:45 +00:00
|
|
|
|
2014-03-16 10:23:16 +00:00
|
|
|
|