2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
3 * Copyright (C) <2009> Sebastian Dröge <sebastian.droege@collabora.co.uk>
5 * dice.c: a 'dicing' effect
6 * copyright (c) 2001 Sam Mertens. This code is subject to the provisions of
7 * the GNU Library Public License.
9 * I suppose this looks similar to PuzzleTV, but it's not. The screen is
10 * divided into small squares, each of which is rotated either 0, 90, 180 or
11 * 270 degrees. The amount of rotation for each square is chosen at random.
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Library General Public
15 * License as published by the Free Software Foundation; either
16 * version 2 of the License, or (at your option) any later version.
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Library General Public License for more details.
23 * You should have received a copy of the GNU Library General Public
24 * License along with this library; if not, write to the
25 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
26 * Boston, MA 02110-1301, USA.
29 #ifndef __GST_DICE_H__
30 #define __GST_DICE_H__
34 #include <gst/video/video.h>
35 #include <gst/video/gstvideofilter.h>
39 #define GST_TYPE_DICETV \
40 (gst_dicetv_get_type())
41 #define GST_DICETV(obj) \
42 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DICETV,GstDiceTV))
43 #define GST_DICETV_CLASS(klass) \
44 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DICETV,GstDiceTVClass))
45 #define GST_IS_DICETV(obj) \
46 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DICETV))
47 #define GST_IS_DICETV_CLASS(klass) \
48 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DICETV))
50 typedef struct _GstDiceTV GstDiceTV;
51 typedef struct _GstDiceTVClass GstDiceTVClass;
55 GstVideoFilter videofilter;
66 struct _GstDiceTVClass
68 GstVideoFilterClass parent_class;
71 GType gst_dicetv_get_type (void);
75 #endif /* __GST_DICE_H__ */