[733/906] gl: Major header and include cleanup

This commit is contained in:
Sebastian Dröge 2013-07-11 11:03:31 +02:00 committed by Matthew Waters
parent dd7e054e2c
commit a5a46aa833
75 changed files with 135 additions and 171 deletions

View file

@ -1,7 +1,8 @@
lib_LTLIBRARIES = libgstgl-@GST_API_VERSION@.la
SUBDIRS =
SUBDIRS = glprototypes
DIST_SUBDIRS = glprototypes x11 win32 cocoa wayland
noinst_HEADERS =
@ -66,6 +67,7 @@ endif
libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl
libgstgl_@GST_API_VERSION@include_HEADERS = \
gstglconfig.h \
gstglwindow.h \
gstgldisplay.h \
gstglmemory.h \
@ -86,6 +88,7 @@ libgstgl_@GST_API_VERSION@include_HEADERS = \
gl.h
libgstgl_@GST_API_VERSION@_la_CFLAGS = \
-I$(top_srcdir)/gst-libs \
$(GL_CFLAGS) \
$(X_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \

View file

@ -2,13 +2,10 @@
noinst_LTLIBRARIES = libgstgl-cocoa.la
libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl
libgstglcocoaincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/cocoa
libgstgl_cocoa_la_SOURCES = \
gstglwindow_cocoa.m
libgstglcocoainclude_HEADERS = \
noinst_HEADERS = \
gstglwindow_cocoa.h
libgstgl_cocoa_la_CFLAGS = \
@ -17,7 +14,7 @@ libgstgl_cocoa_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \
-I$(top_srcdir)/gst-libs/gst/gl
-I$(top_srcdir)/gst-libs
libgstgl_cocoa_la_OBJCFLAGS = \
$(GL_CFLAGS) \
@ -26,7 +23,7 @@ libgstgl_cocoa_la_OBJCFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \
-I$(top_srcdir)/gst-libs/gst/gl
-I$(top_srcdir)/gst-libs
libgstgl_cocoa_la_LDFLAGS = \
$(GST_LIB_LDFLAGS) \

View file

@ -23,7 +23,7 @@
#include <gst/gst.h>
#include "gstglwindow.h"
#include <gst/gl/gl.h>
G_BEGIN_DECLS

0
gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m Executable file → Normal file
View file

View file

@ -21,21 +21,21 @@
#ifndef __GL_H__
#define __GL_H__
#include "gstgl_fwd.h"
#include "gstglconfig.h"
#include "gstglapi.h"
#include "gstgldisplay.h"
#include "gstglfeature.h"
#include "gstglutils.h"
#include "gstglwindow.h"
#include "gstglshader.h"
#include "gstglupload.h"
#include "gstgldownload.h"
#include "gstglmemory.h"
#include "gstglbufferpool.h"
#include "gstglframebuffer.h"
#include "gstglfilter.h"
#include "gstglmixer.h"
#include "gstglshadervariables.h"
#include <gst/gl/gstgl_fwd.h>
#include <gst/gl/gstglconfig.h>
#include <gst/gl/gstglapi.h>
#include <gst/gl/gstgldisplay.h>
#include <gst/gl/gstglfeature.h>
#include <gst/gl/gstglutils.h>
#include <gst/gl/gstglwindow.h>
#include <gst/gl/gstglshader.h>
#include <gst/gl/gstglupload.h>
#include <gst/gl/gstgldownload.h>
#include <gst/gl/gstglmemory.h>
#include <gst/gl/gstglbufferpool.h>
#include <gst/gl/gstglframebuffer.h>
#include <gst/gl/gstglfilter.h>
#include <gst/gl/gstglmixer.h>
#include <gst/gl/gstglshadervariables.h>
#endif /* __GL_H__ */

View file

@ -0,0 +1,16 @@
prototypedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/glprototypes
prototype_HEADERS = \
all_functions.h \
gles1_functions.h \
gles1gles2.h \
gles1gles2opengl.h \
gles1.h \
gles1opengl.h \
gles2_functions.h \
gles2.h \
gles2opengl.h \
gles3opengl.h \
opengl_functions.h \
opengl.h

View file

@ -1,38 +0,0 @@
/*
* GStreamer
* Copyright (C) 2012 Matthew Waters <ystreet00@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __GST_GL_COMPAT_H__
#define __GST_GL_COMPAT_H__
/* undefined typedefs */
#ifndef HAVE_GLEGLIMAGEOES
typedef gpointer GLeglImageOES;
#endif
#ifndef HAVE_GLCHAR
typedef gchar GLchar;
#endif
#ifndef HAVE_GLSIZEIPTR
typedef ptrdiff_t GLsizeiptr;
#endif
#ifndef HAVE_GLINTPTR
typedef ptrdiff_t GLintptr;
#endif
#endif

View file

@ -23,7 +23,7 @@
#include <gst/gst.h>
#include "gstglapi.h"
#include <gst/gl/gstglapi.h>
G_BEGIN_DECLS

View file

@ -21,14 +21,14 @@
#ifndef __GST_GL_API_H__
#define __GST_GL_API_H__
#include "gstglconfig.h"
#include <gst/gl/gstglconfig.h>
/* OpenGL 2.0 for Embedded Systems */
#if GST_GL_HAVE_GLES2
# include <GLES2/gl2.h>
# include <GLES2/gl2ext.h>
# if !GST_GL_HAVE_OPENGL
# include "gstgles2.h"
# include <gst/gl/gstgles2.h>
# endif
#endif
@ -55,8 +55,6 @@
#include <gst/gst.h>
#include "glprototypes/gstgl_compat.h"
G_BEGIN_DECLS
typedef enum {
@ -88,21 +86,21 @@ typedef enum
typedef struct _GstGLFuncs
{
#include "glprototypes/opengl.h"
#include <gst/gl/glprototypes/opengl.h>
gpointer padding1[GST_PADDING_LARGE];
#include "glprototypes/gles1.h"
#include <gst/gl/glprototypes/gles1.h>
gpointer padding2[GST_PADDING_LARGE];
#include "glprototypes/gles1gles2.h"
#include <gst/gl/glprototypes/gles1gles2.h>
gpointer padding3[GST_PADDING_LARGE];
#include "glprototypes/gles1opengl.h"
#include <gst/gl/glprototypes/gles1opengl.h>
gpointer padding4[GST_PADDING_LARGE*2];
#include "glprototypes/gles2.h"
#include <gst/gl/glprototypes/gles2.h>
gpointer padding5[GST_PADDING_LARGE*2];
#include "glprototypes/gles2opengl.h"
#include <gst/gl/glprototypes/gles2opengl.h>
gpointer padding6[GST_PADDING_LARGE*2];
#include "glprototypes/gles1gles2opengl.h"
#include <gst/gl/glprototypes/gles1gles2opengl.h>
gpointer padding7[GST_PADDING_LARGE*2];
#include "glprototypes/gles3opengl.h"
#include <gst/gl/glprototypes/gles3opengl.h>
gpointer padding8[GST_PADDING_LARGE*4];
} GstGLFuncs;

View file

@ -25,7 +25,7 @@
#include <gst/video/gstvideometa.h>
#include <gst/video/gstvideopool.h>
#include "gstgl_fwd.h"
#include <gst/gl/gstgl_fwd.h>
G_BEGIN_DECLS

View file

@ -24,7 +24,7 @@
#ifndef __GST_GL_DISPLAY_H__
#define __GST_GL_DISPLAY_H__
#include "gstgl_fwd.h"
#include <gst/gl/gstgl_fwd.h>
G_BEGIN_DECLS

View file

@ -24,7 +24,7 @@
#include <gst/video/video.h>
#include <gst/gstmemory.h>
#include "gstgl_fwd.h"
#include <gst/gl/gstgl_fwd.h>
G_BEGIN_DECLS

View file

@ -24,7 +24,7 @@
#include <gst/gst.h>
#include <EGL/egl.h>
#include "gstgl_fwd.h"
#include <gst/gl/gstgl_fwd.h>
G_BEGIN_DECLS

View file

@ -45,7 +45,7 @@
#include <gst/gst.h>
#include "gstgl_fwd.h"
#include <gst/gl/gstgl_fwd.h>
#define GST_GL_CHECK_GL_VERSION(driver_major, driver_minor, \
target_major, target_minor) \

View file

@ -27,7 +27,7 @@
#include <gst/base/gstbasetransform.h>
#include <gst/video/video.h>
#include "gl.h"
#include <gst/gl/gl.h>
G_BEGIN_DECLS

View file

@ -21,7 +21,7 @@
#ifndef __GST_GL_FRAMEBUFFER_H__
#define __GST_GL_FRAMEBUFFER_H__
#include "gstgl_fwd.h"
#include <gst/gl/gstgl_fwd.h>
G_BEGIN_DECLS

View file

@ -26,7 +26,7 @@
#include <gst/gstmemory.h>
#include <gst/video/video.h>
#include "gl.h"
#include <gst/gl/gl.h>
G_BEGIN_DECLS

View file

@ -23,9 +23,8 @@
#include <gst/gst.h>
#include <gst/video/video.h>
#include "gstglmixerpad.h"
#include "gl.h"
#include <gst/gl/gl.h>
#include <gst/gl/gstglmixerpad.h>
G_BEGIN_DECLS

View file

@ -24,8 +24,8 @@
#include <gst/gst.h>
#include <gst/base/gstcollectpads.h>
#include "gstgldisplay.h"
#include "gstglupload.h"
#include <gst/gl/gstgldisplay.h>
#include <gst/gl/gstglupload.h>
G_BEGIN_DECLS

View file

@ -21,7 +21,7 @@
#ifndef __GST_GL_SHADER_H__
#define __GST_GL_SHADER_H__
#include "gstgl_fwd.h"
#include <gst/gl/gstgl_fwd.h>
G_BEGIN_DECLS

View file

@ -24,7 +24,7 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <gstglshader.h>
#include <gst/gl/gstglshader.h>
#define VALID_VARNAME_CHARS "abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"

View file

@ -24,7 +24,7 @@
#include <gst/video/video.h>
#include <gst/gstmemory.h>
#include "gstgl_fwd.h"
#include <gst/gl/gstgl_fwd.h>
G_BEGIN_DECLS

View file

@ -23,7 +23,7 @@
#include <gst/video/video.h>
#include "gstgl_fwd.h"
#include <gst/gl/gstgl_fwd.h>
/**
* GstGLDisplayProjection:

View file

@ -24,7 +24,7 @@
#include <gst/gst.h>
#include "gstgl_fwd.h"
#include <gst/gl/gstgl_fwd.h>
G_BEGIN_DECLS

View file

@ -2,14 +2,11 @@
noinst_LTLIBRARIES = libgstgl-wayland.la
libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl
libgstglwaylandincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/wayland
libgstgl_wayland_la_SOURCES = \
gstglwindow_wayland_egl.c \
wayland_event_source.c
libgstglwaylandinclude_HEADERS = \
noinst_HEADERS = \
gstglwindow_wayland_egl.h \
wayland_event_source.h
@ -19,7 +16,7 @@ libgstgl_wayland_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \
-I$(top_srcdir)/gst-libs/gst/gl
-I$(top_srcdir)/gst-libs
libgstgl_wayland_la_LDFLAGS = \
$(GST_LIB_LDFLAGS) \

View file

@ -27,8 +27,8 @@
#include <EGL/egl.h>
#include "gstglwindow.h"
#include "gstglegl.h"
#include <gst/gl/gl.h>
#include "../gstglegl.h"
G_BEGIN_DECLS

View file

@ -2,13 +2,10 @@
noinst_LTLIBRARIES = libgstgl-win32.la
libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl
libgstglwin32includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/win32
libgstgl_win32_la_SOURCES = \
gstglwindow_win32.c
libgstglwin32include_HEADERS = \
noinst_HEADERS = \
gstglwindow_win32.h
if USE_WGL
@ -26,7 +23,7 @@ libgstgl_win32_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \
-I$(top_srcdir)/gst-libs/gst/gl
-I$(top_srcdir)/gst-libs
libgstgl_win32_la_LDFLAGS = \
$(GST_LIB_LDFLAGS) \

View file

@ -21,7 +21,7 @@
#ifndef __GST_GL_WINDOW_WIN32_H__
#define __GST_GL_WINDOW_WIN32_H__
#include "gstglwindow.h"
#include <gst/gl/gl.h>
#undef UNICODE
#include <windows.h>

View file

@ -2,24 +2,21 @@
noinst_LTLIBRARIES = libgstgl-x11.la
libgstgl_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl
libgstglx11includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/x11
libgstgl_x11_la_SOURCES = \
gstglwindow_x11.c \
x11_event_source.c
libgstglx11include_HEADERS = \
noinst_HEADERS = \
gstglwindow_x11.h \
x11_event_source.h
if USE_GLX
libgstgl_x11_la_SOURCES += gstglwindow_x11_glx.c
libgstglx11include_HEADERS += gstglwindow_x11_glx.h
noinst_HEADERS += gstglwindow_x11_glx.h
endif
if USE_EGL
libgstgl_x11_la_SOURCES += gstglwindow_x11_egl.c
libgstglx11include_HEADERS += gstglwindow_x11_egl.h
noinst_HEADERS += gstglwindow_x11_egl.h
endif
libgstgl_x11_la_CFLAGS = \
@ -28,7 +25,7 @@ libgstgl_x11_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \
-I$(top_srcdir)/gst-libs/gst/gl
-I$(top_srcdir)/gst-libs
libgstgl_x11_la_LDFLAGS = \
$(GST_LIB_LDFLAGS) \

View file

@ -24,8 +24,7 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "gstglapi.h"
#include "gstglwindow.h"
#include <gst/gl/gl.h>
G_BEGIN_DECLS

View file

@ -22,7 +22,7 @@
#define __GST_GL_WINDOW_X11_EGL_H__
#include "gstglwindow_x11.h"
#include "gstglegl.h"
#include "../gstglegl.h"
#include <EGL/egl.h>

View file

@ -27,7 +27,7 @@
#include <gst/gst.h>
#include <gstglfeature.h>
#include <gst/gl/gl.h>
#include "gstglwindow_x11_glx.h"
#define GST_CAT_DEFAULT gst_gl_window_debug

View file

@ -24,7 +24,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <wayland-client.h>
#include "x11_event_source.h"

View file

@ -78,9 +78,7 @@ libgstopengl_la_SOURCES = \
# (like in AM_CFLAGS)?
libgstopengl_la_CFLAGS = $(GST_CFLAGS) $(X_CFLAGS) $(GST_BASE_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) $(GL_CFLAGS) $(LIBPNG_CFLAGS) \
-I$(top_srcdir)/gst-libs \
-I$(top_srcdir)/gst-libs/gst/gl \
-I$(top_srcdir)/gst/gl/effects
-I$(top_srcdir)/gst-libs
libgstopengl_la_LIBADD = \
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
static void
gst_gl_effects_bulge_callback (gint width, gint height, guint texture,

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
static void
gst_gl_effects_fisheye_callback (gint width, gint height, guint texture,

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
static gboolean kernel_ready = FALSE;
static float gauss_kernel[7];

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
#define USING_OPENGL(display) (gst_gl_display_get_gl_api (display) & GST_GL_API_OPENGL)
#define USING_OPENGL3(display) (gst_gl_display_get_gl_api (display) & GST_GL_API_OPENGL3)

View file

@ -21,8 +21,8 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include <gstgleffectlumatocurve.h>
#include "../gstgleffects.h"
#include "gstgleffectlumatocurve.h"
void
gst_gl_effects_luma_to_curve (GstGLEffects * effects,

View file

@ -21,7 +21,7 @@
#ifndef __GST_GL_LUMA_TO_CURVE_H__
#define __GST_GL_LUMA_TO_CURVE_H__
#include <gstgleffectscurves.h>
#include "gstgleffectscurves.h"
G_BEGIN_DECLS

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
#define USING_OPENGL(display) (gst_gl_display_get_gl_api (display) & GST_GL_API_OPENGL)
#define USING_OPENGL3(display) (gst_gl_display_get_gl_api (display) & GST_GL_API_OPENGL3)

View file

@ -21,8 +21,8 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include <gstgleffectscurves.h>
#include "../gstgleffects.h"
#include "gstgleffectscurves.h"
static void
gst_gl_effects_rgb_to_curve (GstGLEffects * effects,

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
static void
gst_gl_effects_sin_callback (gint width, gint height, guint texture,

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
static void
gst_gl_effects_square_callback (gint width, gint height, guint texture,

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
#define USING_OPENGL(display) (gst_gl_display_get_gl_api (display) & GST_GL_API_OPENGL)
#define USING_OPENGL3(display) (gst_gl_display_get_gl_api (display) & GST_GL_API_OPENGL3)

View file

@ -22,10 +22,10 @@
#include "config.h"
#endif
#include <gstglconfig.h>
#include <gst/gl/gstglconfig.h>
#include <gstgleffects.h>
#include <gstgleffectssources.h>
#include "../gstgleffects.h"
#include "gstgleffectssources.h"
#include <math.h>
/* A common file for sources is needed since shader sources can be

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
static void
gst_gl_effects_stretch_callback (gint width, gint height, guint texture,

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
static void
gst_gl_effects_tunnel_callback (gint width, gint height, guint texture,

View file

@ -21,7 +21,7 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include "../gstgleffects.h"
static void
gst_gl_effects_twirl_callback (gint width, gint height, guint texture,

View file

@ -21,9 +21,9 @@
#include "config.h"
#endif
#include <gstgleffects.h>
#include <gstgleffectscurves.h>
#include <gstgleffectlumatocurve.h>
#include "../gstgleffects.h"
#include "gstgleffectscurves.h"
#include "gstgleffectlumatocurve.h"
static gboolean kernel_ready = FALSE;
static float gauss_kernel[7];

View file

@ -21,6 +21,7 @@
#define __GL_TEST_SRC_H__
#include <glib.h>
#include "gstgltestsrc.h"
struct vts_color_struct {

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_BUMPER_H_
#define _GST_GL_BUMPER_H_
#include <gstglfilter.h>
#include <gst/gl/gstglfilter.h>
G_BEGIN_DECLS

View file

@ -24,7 +24,7 @@
#include <gst/gst.h>
#include <gst/video/video.h>
#include "gstglfilter.h"
#include <gst/gl/gstglfilter.h>
G_BEGIN_DECLS

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_DEINTERLACE_H_
#define _GST_GL_DEINTERLACE_H_
#include <gstglfilter.h>
#include <gst/gl/gstglfilter.h>
G_BEGIN_DECLS

View file

@ -38,8 +38,9 @@
#include <stdlib.h>
#include <png.h>
#include "gstgldifferencematte.h"
#include <gstgleffectssources.h>
#include "effects/gstgleffectssources.h"
#if PNG_LIBPNG_VER >= 10400
#define int_p_NULL NULL

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_DIFFERENCEMATTE_H_
#define _GST_GL_DIFFERENCEMATTE_H_
#include <gstglfilter.h>
#include <gst/gl/gstglfilter.h>
#define GST_TYPE_GL_DIFFERENCEMATTE (gst_gl_differencematte_get_type())
#define GST_GL_DIFFERENCEMATTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_GL_DIFFERENCEMATTE,GstGLDifferenceMatte))

View file

@ -36,9 +36,8 @@
#include "config.h"
#endif
#include <gstglconfig.h>
#include <gstgleffects.h>
#include <gst/gl/gstglconfig.h>
#include "gstgleffects.h"
#define GST_TYPE_GL_EFFECTS (gst_gl_effects_get_type())
#define GST_GL_EFFECTS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_GL_EFFECTS,GstGLEffects))

View file

@ -21,8 +21,8 @@
#ifndef __GST_GL_EFFECTS_H__
#define __GST_GL_EFFECTS_H__
#include <gstglfilter.h>
#include <gstgleffectssources.h>
#include <gst/gl/gstglfilter.h>
#include "effects/gstgleffectssources.h"
G_BEGIN_DECLS

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_FILTERAPP_H_
#define _GST_GL_FILTERAPP_H_
#include "gstglfilter.h"
#include <gst/gl/gstglfilter.h>
G_BEGIN_DECLS

View file

@ -37,7 +37,7 @@
#endif
#include "gstglfilterblur.h"
#include <gstgleffectssources.h>
#include "effects/gstgleffectssources.h"
#define GST_CAT_DEFAULT gst_gl_filterblur_debug
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_FILTERBLUR_H_
#define _GST_GL_FILTERBLUR_H_
#include <gstglfilter.h>
#include <gst/gl/gstglfilter.h>
#define GST_TYPE_GL_FILTERBLUR (gst_gl_filterblur_get_type())
#define GST_GL_FILTERBLUR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GL_FILTERBLUR,GstGLFilterBlur))

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_FILTERCUBE_H_
#define _GST_GL_FILTERCUBE_H_
#include "gstglfilter.h"
#include <gst/gl/gstglfilter.h>
G_BEGIN_DECLS

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_FILTERGLASS_H_
#define _GST_GL_FILTERGLASS_H_
#include <gstglfilter.h>
#include <gst/gl/gstglfilter.h>
G_BEGIN_DECLS

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_FILTERLAPLACIAN_H_
#define _GST_GL_FILTERLAPLACIAN_H_
#include <gstglfilter.h>
#include <gst/gl/gstglfilter.h>
G_BEGIN_DECLS

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_FILTERREFLECTEDSCREEN_H_
#define _GST_GL_FILTERREFLECTEDSCREEN_H_
#include <gstglfilter.h>
#include <gst/gl/gstglfilter.h>
G_BEGIN_DECLS

View file

@ -44,8 +44,9 @@
#include <string.h>
#include <gst/gst.h>
#include <gst/gl/gstglshadervariables.h>
#include "gstglfiltershader.h"
#include <gstglshadervariables.h>
/* horizontal filter */
static gchar *hfilter_fragment_source;

View file

@ -22,7 +22,7 @@
#ifndef _GST_GL_FILTERSHADER_H_
#define _GST_GL_FILTERSHADER_H_
#include <gstglfilter.h>
#include <gst/gl/gstglfilter.h>
#define GST_TYPE_GL_FILTERSHADER (gst_gl_filtershader_get_type())
#define GST_GL_FILTERSHADER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GL_FILTERSHADER,GstGLFilterShader))

View file

@ -37,7 +37,7 @@
#endif
#include "gstglfiltersobel.h"
#include <gstgleffectssources.h>
#include "effects/gstgleffectssources.h"
enum
{

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_FILTERSOBEL_H_
#define _GST_GL_FILTERSOBEL_H_
#include <gstglfilter.h>
#include <gst/gl/gstglfilter.h>
#define GST_TYPE_GL_FILTERSOBEL (gst_gl_filtersobel_get_type())
#define GST_GL_FILTERSOBEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_GL_FILTERSOBEL,GstGLFilterSobel))

View file

@ -27,7 +27,7 @@
#include <gst/video/gstvideosink.h>
#include <gst/video/video.h>
#include "gl.h"
#include <gst/gl/gl.h>
G_BEGIN_DECLS

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_MOSAIC_H_
#define _GST_GL_MOSAIC_H_
#include "gstglmixer.h"
#include <gst/gl/gstglmixer.h>
G_BEGIN_DECLS

View file

@ -36,10 +36,10 @@
#include "config.h"
#endif
#include <gstglconfig.h>
#include <gst/gl/gstglconfig.h>
#include "gstgloverlay.h"
#include <gstgleffectssources.h>
#include "effects/gstgleffectssources.h"
#include <stdio.h>
#include <stdlib.h>

View file

@ -21,7 +21,7 @@
#ifndef _GST_GL_OVERLAY_H_
#define _GST_GL_OVERLAY_H_
#include <gstglfilter.h>
#include <gst/gl/gstglfilter.h>
#define GST_TYPE_GL_OVERLAY (gst_gl_overlay_get_type())
#define GST_GL_OVERLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_GL_OVERLAY,GstGLOverlay))

View file

@ -26,7 +26,7 @@
#include <gst/gst.h>
#include <gst/base/gstpushsrc.h>
#include "gl.h"
#include <gst/gl/gl.h>
G_BEGIN_DECLS

View file

@ -43,7 +43,7 @@
#include "config.h"
#endif
#include <gstglconfig.h>
#include <gst/gl/gstglconfig.h>
#include "gstglimagesink.h"