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-11-13 11:12:20 +00:00
|
|
|
if USE_GL
|
2009-09-01 12:21:39 +00:00
|
|
|
OPENGL_SOURCES = \
|
2011-11-17 16:36:44 +00:00
|
|
|
gstglfiltershader.c \
|
|
|
|
gstglfiltershader.h \
|
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 \
|
2010-04-26 12:32:28 +00:00
|
|
|
gstglfilterreflectedscreen.c \
|
|
|
|
gstglfilterreflectedscreen.h \
|
2008-06-10 23:00:39 +00:00
|
|
|
gstglcolorscale.c \
|
2008-06-11 18:33:53 +00:00
|
|
|
gstglcolorscale.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 += \
|
|
|
|
gstglbumper.c \
|
|
|
|
gstglbumper.h \
|
|
|
|
gstgldifferencematte.c \
|
2011-11-18 10:52:10 +00:00
|
|
|
gstgldifferencematte.h
|
|
|
|
if HAVE_JPEG
|
|
|
|
OPENGL_SOURCES += \
|
2011-11-18 07:08:18 +00:00
|
|
|
gstgloverlay.c \
|
|
|
|
gstgloverlay.h
|
|
|
|
endif
|
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 \
|
2009-09-01 12:21:39 +00:00
|
|
|
$(OPENGL_SOURCES)
|
2008-09-07 12:17:57 +00:00
|
|
|
|
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)?
|
2008-01-17 23:23:31 +00:00
|
|
|
libgstopengl_la_CFLAGS = $(GST_CFLAGS) $(X_CFLAGS) $(GST_BASE_CFLAGS) \
|
2009-02-05 00:18:15 +00:00
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) $(GL_CFLAGS) $(LIBPNG_CFLAGS) \
|
2008-01-17 23:23:31 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
2008-08-13 20:36:13 +00:00
|
|
|
-I$(top_srcdir)/gst-libs/gst/gl \
|
|
|
|
-I$(top_srcdir)/gst/gl/effects
|
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 \
|
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) \
|
2011-11-17 14:22:06 +00:00
|
|
|
$(JPEG_LIBS) \
|
2009-07-13 14:32:00 +00:00
|
|
|
$(LIBM)
|
2008-08-18 14:16:58 +00:00
|
|
|
|
2008-01-17 23:23:31 +00:00
|
|
|
libgstopengl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2004-08-09 20:14:51 +00:00
|
|
|
|