[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
gstglfilterglass.c
gstglfilterapp.c
gstglfilterreflectedscreen.c
gstglcolorscale.c
gltestsrc.c
gstgltestsrc.c

View file

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

View 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;