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., 59 Temple Place - Suite 330,
26 * Boston, MA 02111-1307, USA.
29 #ifndef __GST_DICE_H__
30 #define __GST_DICE_H__
34 #include <gst/video/gstvideofilter.h>
38 #define GST_TYPE_DICETV \
39 (gst_dicetv_get_type())
40 #define GST_DICETV(obj) \
41 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_DICETV,GstDiceTV))
42 #define GST_DICETV_CLASS(klass) \
43 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_DICETV,GstDiceTVClass))
44 #define GST_IS_DICETV(obj) \
45 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_DICETV))
46 #define GST_IS_DICETV_CLASS(klass) \
47 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_DICETV))
49 typedef struct _GstDiceTV GstDiceTV;
50 typedef struct _GstDiceTVClass GstDiceTVClass;
54 GstVideoFilter videofilter;
67 struct _GstDiceTVClass
69 GstVideoFilterClass parent_class;
72 GType gst_dicetv_get_type (void);
76 #endif /* __GST_DICE_H__ */