[433/906] glfilterreflectedscreen: add new OpenGL Reflected Screen filter
authorPierre Pouzol <pierre.pouzol@hotmail.fr>
Mon, 26 Apr 2010 12:32:28 +0000 (14:32 +0200)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:40 +0000 (18:36 +0100)
Fixes bug #612163

gst/gl/CMakeLists.txt
gst/gl/Makefile.am
gst/gl/gstopengl.c

index 5639cc2..24ebb2a 100755 (executable)
@@ -33,6 +33,7 @@ add_library (gstopengl MODULE
   gstglfiltersobel.c
   gstglfilterglass.c
   gstglfilterapp.c
+  gstglfilterreflectedscreen.c
   gstglcolorscale.c
   gltestsrc.c
   gstgltestsrc.c
index b69a65c..55f37f2 100644 (file)
@@ -19,6 +19,8 @@ OPENGL_SOURCES =  \
        gstglfilterglass.h \
        gstglfilterapp.c \
        gstglfilterapp.h \
+       gstglfilterreflectedscreen.c \
+       gstglfilterreflectedscreen.h \
        gstglcolorscale.c \
        gstglcolorscale.h \
        gstgldeinterlace.c \
index 94736cd..ee8e546 100644 (file)
@@ -58,6 +58,7 @@ GType gst_gl_effects_get_type (void);
 #include "gstglfilterlaplacian.h"
 #include "gstglfilterglass.h"
 #include "gstglfilterapp.h"
+#include "gstglfilterreflectedscreen.h"
 #include "gstglcolorscale.h"
 #include "gstgldeinterlace.h"
 #include "gstglbumper.h"
@@ -65,6 +66,7 @@ GType gst_gl_effects_get_type (void);
 
 GType gst_gl_deinterlace_get_type (void);
 GType gst_gl_filter_app_get_type (void);
+GType gst_gl_filter_reflected_screen_get_type (void);
 GType gst_gl_filterblur_get_type (void);
 GType gst_gl_filtersobel_get_type (void);
 GType gst_gl_filter_laplacian_get_type (void);
@@ -108,7 +110,6 @@ plugin_init (GstPlugin * plugin)
           GST_RANK_NONE, gst_gl_effects_get_type ())) {
     return FALSE;
   }
-
 #ifndef OPENGL_ES2
   if (!gst_element_register (plugin, "gltestsrc",
           GST_RANK_NONE, GST_TYPE_GL_TEST_SRC)) {
@@ -153,6 +154,11 @@ plugin_init (GstPlugin * plugin)
     return FALSE;
   }
 
+  if (!gst_element_register (plugin, "glfilterreflectedscreen",
+          GST_RANK_NONE, GST_TYPE_GL_FILTER_REFLECTED_SCREEN)) {
+    return FALSE;
+  }
+
   if (!gst_element_register (plugin, "gldeinterlace",
           GST_RANK_NONE, GST_TYPE_GL_DEINTERLACE)) {
     return FALSE;