2 * Copyright (C) <2009> Sebastian Dröge <sebastian.droege@collabora.co.uk>
4 * EffecTV - Realtime Digital Video Effector
5 * Copyright (C) 2001-2006 FUKUCHI Kentaro
7 * RippleTV - Water ripple effect.
8 * Copyright (C) 2001-2002 FUKUCHI Kentaro
10 * EffecTV is free software. This library is free software;
11 * you can redistribute it and/or
12 * modify it under the terms of the GNU Library General Public
13 * License as published by the Free Software Foundation; either
14 * version 2 of the License, or (at your option) any later version.
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Library General Public License for more details.
21 * You should have received a copy of the GNU Library General Public
22 * License along with this library; if not, write to the
23 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
24 * Boston, MA 02110-1301, USA.
27 #ifndef __GST_RIPPLE_H__
28 #define __GST_RIPPLE_H__
32 #include <gst/video/video.h>
33 #include <gst/video/gstvideofilter.h>
37 #define GST_TYPE_RIPPLETV \
38 (gst_rippletv_get_type())
39 #define GST_RIPPLETV(obj) \
40 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RIPPLETV,GstRippleTV))
41 #define GST_RIPPLETV_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RIPPLETV,GstRippleTVClass))
43 #define GST_IS_RIPPLETV(obj) \
44 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RIPPLETV))
45 #define GST_IS_RIPPLETV_CLASS(klass) \
46 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RIPPLETV))
48 typedef struct _GstRippleTV GstRippleTV;
49 typedef struct _GstRippleTVClass GstRippleTVClass;
53 GstVideoFilter element;
61 gint *map, *map1, *map2, *map3;
71 gint drop_prob_increment;
72 gint drops_per_frame_max;
77 struct _GstRippleTVClass
79 GstVideoFilterClass parent_class;
82 GType gst_rippletv_get_type (void);
86 #endif /* __GST_RIPPLE_H__ */