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 \
|
2015-02-11 03:48:45 +00:00
|
|
|
gstglbasemixer.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-25 12:48:56 +00:00
|
|
|
gstglmixerbin.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 \
|
2015-02-25 00:01:45 +00:00
|
|
|
gstglcolorscale.c \
|
2016-01-12 07:31:29 +00:00
|
|
|
gstglcolorbalance.c \
|
2015-02-25 00:01:45 +00:00
|
|
|
gstglmixer.c \
|
|
|
|
gstglvideomixer.c \
|
|
|
|
gstglfiltershader.c \
|
2015-10-26 13:36:41 +00:00
|
|
|
gstglfilterapp.c \
|
|
|
|
gstglviewconvert.c \
|
|
|
|
gstglstereosplit.c \
|
2016-04-08 08:47:15 +00:00
|
|
|
gstgldeinterlace.c \
|
2016-02-26 09:55:47 +00:00
|
|
|
gstglstereomix.c \
|
|
|
|
gltestsrc.c \
|
2016-11-10 08:14:24 +00:00
|
|
|
gstgltestsrc.c \
|
|
|
|
gstglutils.c
|
2014-03-16 10:23:16 +00:00
|
|
|
|
2015-02-25 00:01:45 +00:00
|
|
|
noinst_HEADERS = \
|
2015-02-11 03:48:45 +00:00
|
|
|
gstglbasemixer.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-25 12:48:56 +00:00
|
|
|
gstglmixerbin.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 \
|
|
|
|
gstglcolorscale.h \
|
2016-01-12 07:31:29 +00:00
|
|
|
gstglcolorbalance.h \
|
2015-02-25 00:01:45 +00:00
|
|
|
gstglmixer.h \
|
|
|
|
gstglvideomixer.h \
|
|
|
|
gstglfiltershader.h \
|
2015-10-26 13:36:41 +00:00
|
|
|
gstglfilterapp.h \
|
|
|
|
gstglstereosplit.h \
|
|
|
|
gstglstereomix.h \
|
2016-04-08 08:47:15 +00:00
|
|
|
gstgldeinterlace.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 \
|
|
|
|
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 += \
|
2014-03-16 10:23:16 +00:00
|
|
|
gstglfilterglass.c \
|
2015-03-30 12:49:01 +00:00
|
|
|
gstglmosaic.c
|
2014-03-16 10:23:16 +00:00
|
|
|
|
2015-02-25 00:01:45 +00:00
|
|
|
noinst_HEADERS += \
|
|
|
|
gstglfilterglass.h \
|
|
|
|
gstglmosaic.h \
|
|
|
|
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 = \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
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) \
|
2015-02-25 00:01:45 +00:00
|
|
|
$(GST_PLUGINS_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 = \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
-I$(top_builddir)/gst-libs \
|
|
|
|
$(GST_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
2017-01-10 01:51:51 +00:00
|
|
|
$(GST_CONTROLLER_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 = \
|
|
|
|
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
|
2014-07-11 10:04:07 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/base/libgstbadbase-$(GST_API_VERSION).la \
|
2014-06-22 16:58:51 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/video/libgstbadvideo-$(GST_API_VERSION).la \
|
2014-03-16 10:23:16 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
|
|
|
|
-lgstpbutils-$(GST_API_VERSION) \
|
2017-01-10 01:51:51 +00:00
|
|
|
$(GST_CONTROLLER_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
|
|
|
|