2003-10-28 18:54:20 +00:00
|
|
|
|
2008-01-17 23:23:31 +00:00
|
|
|
plugin_LTLIBRARIES = libgstopengl.la
|
2003-10-28 18:54:20 +00:00
|
|
|
|
2008-01-18 15:13:16 +00:00
|
|
|
AM_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
2012-08-12 09:03:48 +00:00
|
|
|
AM_LIBS = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS)
|
2007-12-27 00:52:22 +00:00
|
|
|
|
2009-09-01 12:21:39 +00:00
|
|
|
# full opengl required
|
2012-12-06 07:40:26 +00:00
|
|
|
if USE_OPENGL
|
2009-09-01 12:21:39 +00:00
|
|
|
OPENGL_SOURCES = \
|
2008-09-21 17:26:37 +00:00
|
|
|
gstglfilterblur.c \
|
2009-07-29 23:36:30 +00:00
|
|
|
gstglfilterblur.h \
|
2008-09-23 08:37:58 +00:00
|
|
|
gstglfiltersobel.c \
|
2009-07-29 23:36:30 +00:00
|
|
|
gstglfiltersobel.h \
|
2008-07-18 08:49:34 +00:00
|
|
|
gstglfilterlaplacian.c \
|
|
|
|
gstglfilterlaplacian.h \
|
2008-09-21 17:26:37 +00:00
|
|
|
gstglfilterglass.c \
|
|
|
|
gstglfilterglass.h \
|
2008-06-08 02:19:43 +00:00
|
|
|
gstglfilterapp.c \
|
2008-06-10 23:00:39 +00:00
|
|
|
gstglfilterapp.h \
|
2009-07-13 14:32:00 +00:00
|
|
|
gstgldeinterlace.c \
|
|
|
|
gstgldeinterlace.h \
|
2008-09-21 17:26:37 +00:00
|
|
|
gltestsrc.c \
|
|
|
|
gltestsrc.h \
|
2008-06-11 18:33:53 +00:00
|
|
|
gstgltestsrc.c \
|
2008-08-13 18:58:49 +00:00
|
|
|
gstgltestsrc.h \
|
2009-10-23 08:52:39 +00:00
|
|
|
gstglmosaic.c \
|
|
|
|
gstglmosaic.h \
|
2008-08-14 09:31:09 +00:00
|
|
|
effects/gstgleffectscurves.h \
|
2008-08-14 07:26:23 +00:00
|
|
|
effects/gstgleffectstretch.c \
|
2008-08-14 12:08:23 +00:00
|
|
|
effects/gstgleffecttunnel.c \
|
|
|
|
effects/gstgleffectfisheye.c \
|
|
|
|
effects/gstgleffecttwirl.c \
|
|
|
|
effects/gstgleffectbulge.c \
|
|
|
|
effects/gstgleffectsquare.c \
|
2008-08-14 09:31:09 +00:00
|
|
|
effects/gstgleffectlumatocurve.c \
|
2008-10-15 14:18:22 +00:00
|
|
|
effects/gstgleffectlumatocurve.h \
|
2008-08-14 10:09:39 +00:00
|
|
|
effects/gstgleffectrgbtocurve.c \
|
2008-08-16 07:13:39 +00:00
|
|
|
effects/gstgleffectsin.c \
|
2008-10-15 14:18:22 +00:00
|
|
|
effects/gstgleffectglow.c \
|
|
|
|
effects/gstgleffectxray.c
|
2012-04-20 09:19:32 +00:00
|
|
|
|
2011-11-18 07:08:18 +00:00
|
|
|
if HAVE_PNG
|
|
|
|
OPENGL_SOURCES += \
|
|
|
|
gstgldifferencematte.c \
|
2011-11-18 10:52:10 +00:00
|
|
|
gstgldifferencematte.h
|
2009-09-01 12:21:39 +00:00
|
|
|
endif
|
2011-11-18 10:52:10 +00:00
|
|
|
endif
|
2009-09-01 12:21:39 +00:00
|
|
|
|
|
|
|
libgstopengl_la_SOURCES = \
|
|
|
|
gstopengl.c \
|
|
|
|
gstglimagesink.c \
|
|
|
|
gstglimagesink.h \
|
|
|
|
gstglfiltercube.c \
|
|
|
|
gstglfiltercube.h \
|
2009-11-21 20:40:14 +00:00
|
|
|
gstgleffects.c \
|
|
|
|
gstgleffects.h \
|
|
|
|
effects/gstgleffectssources.c \
|
|
|
|
effects/gstgleffectssources.h \
|
|
|
|
effects/gstgleffectidentity.c \
|
|
|
|
effects/gstgleffectmirror.c \
|
|
|
|
effects/gstgleffectsqueeze.c \
|
2014-02-10 20:24:40 +00:00
|
|
|
gstglcolorscale.c \
|
|
|
|
gstglcolorscale.h \
|
2014-07-11 11:58:55 +00:00
|
|
|
gstglmixer.c \
|
|
|
|
gstglmixer.h \
|
|
|
|
gstglmixerpad.h \
|
2014-06-22 12:14:27 +00:00
|
|
|
gstglvideomixer.c \
|
|
|
|
gstglvideomixer.h \
|
2014-06-25 08:23:52 +00:00
|
|
|
gstglfiltershader.c \
|
|
|
|
gstglfiltershader.h \
|
2009-09-01 12:21:39 +00:00
|
|
|
$(OPENGL_SOURCES)
|
2008-09-07 12:17:57 +00:00
|
|
|
|
2014-05-27 10:40:09 +00:00
|
|
|
if HAVE_GRAPHENE
|
|
|
|
libgstopengl_la_SOURCES += \
|
|
|
|
gstgltransformation.c \
|
|
|
|
gstgltransformation.h
|
|
|
|
endif
|
|
|
|
|
2014-09-25 17:48:59 +00:00
|
|
|
if HAVE_JPEG
|
|
|
|
if HAVE_PNG
|
|
|
|
libgstopengl_la_SOURCES += \
|
|
|
|
gstgloverlay.c \
|
|
|
|
gstgloverlay.h
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-01-18 15:13: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) \
|
|
|
|
$(GL_CFLAGS) \
|
2014-05-27 10:40:09 +00:00
|
|
|
$(LIBPNG_CFLAGS) \
|
|
|
|
$(GRAPHENE_CFLAGS)
|
2008-08-18 14:16:58 +00:00
|
|
|
|
2008-01-31 21:35:56 +00:00
|
|
|
libgstopengl_la_LIBADD = \
|
2012-05-29 07:55:44 +00:00
|
|
|
$(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 \
|
2008-01-18 15:13:16 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
2012-05-29 07:55:44 +00:00
|
|
|
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
|
2012-08-12 09:03:48 +00:00
|
|
|
-lgstpbutils-$(GST_API_VERSION) \
|
2009-02-05 00:18:15 +00:00
|
|
|
$(GL_LIBS) \
|
2009-07-13 14:32:00 +00:00
|
|
|
$(LIBPNG_LIBS) \
|
2014-05-27 10:40:09 +00:00
|
|
|
$(JPEG_LIBS) \
|
|
|
|
$(LIBM) \
|
|
|
|
$(GRAPHENE_LIBS)
|
2008-08-18 14:16:58 +00:00
|
|
|
|
2008-01-17 23:23:31 +00:00
|
|
|
libgstopengl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2013-06-04 12:17:41 +00:00
|
|
|
libgstopengl_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
2004-08-09 20:14:51 +00:00
|
|
|
|