[433/906] glfilterreflectedscreen: add new OpenGL Reflected Screen filter

Fixes bug #612163
This commit is contained in:
Pierre Pouzol 2010-04-26 14:32:28 +02:00 committed by Matthew Waters
parent b0352753d4
commit 59b9cc9ebd
3 changed files with 10 additions and 1 deletions

View File

@ -33,6 +33,7 @@ add_library (gstopengl MODULE
gstglfiltersobel.c gstglfiltersobel.c
gstglfilterglass.c gstglfilterglass.c
gstglfilterapp.c gstglfilterapp.c
gstglfilterreflectedscreen.c
gstglcolorscale.c gstglcolorscale.c
gltestsrc.c gltestsrc.c
gstgltestsrc.c gstgltestsrc.c

View File

@ -19,6 +19,8 @@ OPENGL_SOURCES = \
gstglfilterglass.h \ gstglfilterglass.h \
gstglfilterapp.c \ gstglfilterapp.c \
gstglfilterapp.h \ gstglfilterapp.h \
gstglfilterreflectedscreen.c \
gstglfilterreflectedscreen.h \
gstglcolorscale.c \ gstglcolorscale.c \
gstglcolorscale.h \ gstglcolorscale.h \
gstgldeinterlace.c \ gstgldeinterlace.c \

View File

@ -58,6 +58,7 @@ GType gst_gl_effects_get_type (void);
#include "gstglfilterlaplacian.h" #include "gstglfilterlaplacian.h"
#include "gstglfilterglass.h" #include "gstglfilterglass.h"
#include "gstglfilterapp.h" #include "gstglfilterapp.h"
#include "gstglfilterreflectedscreen.h"
#include "gstglcolorscale.h" #include "gstglcolorscale.h"
#include "gstgldeinterlace.h" #include "gstgldeinterlace.h"
#include "gstglbumper.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_deinterlace_get_type (void);
GType gst_gl_filter_app_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_filterblur_get_type (void);
GType gst_gl_filtersobel_get_type (void); GType gst_gl_filtersobel_get_type (void);
GType gst_gl_filter_laplacian_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 ())) { GST_RANK_NONE, gst_gl_effects_get_type ())) {
return FALSE; return FALSE;
} }
#ifndef OPENGL_ES2 #ifndef OPENGL_ES2
if (!gst_element_register (plugin, "gltestsrc", if (!gst_element_register (plugin, "gltestsrc",
GST_RANK_NONE, GST_TYPE_GL_TEST_SRC)) { GST_RANK_NONE, GST_TYPE_GL_TEST_SRC)) {
@ -153,6 +154,11 @@ plugin_init (GstPlugin * plugin)
return FALSE; 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", if (!gst_element_register (plugin, "gldeinterlace",
GST_RANK_NONE, GST_TYPE_GL_DEINTERLACE)) { GST_RANK_NONE, GST_TYPE_GL_DEINTERLACE)) {
return FALSE; return FALSE;