Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / gst / effectv / gstrev.h
1 /* GStreamer
2  * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
3  *
4  * EffecTV:
5  * Copyright (C) 2001 FUKUCHI Kentarou
6  *
7  * EffecTV - Realtime Digital Video Effector
8  * Copyright (C) 2001 FUKUCHI Kentarou
9  *
10  * revTV based on Rutt-Etra Video Synthesizer 1974?
11
12  * (c)2002 Ed Tannenbaum
13  *
14  * This effect acts like a waveform monitor on each line.
15  * It was originally done by deflecting the electron beam on a monitor using
16  * additional electromagnets on the yoke of a b/w CRT. 
17  * Here it is emulated digitally.
18
19  * Experimaental tapes were made with this system by Bill and 
20  * Louise Etra and Woody and Steina Vasulka
21
22  * The line spacing can be controlled using the 1 and 2 Keys.
23  * The gain is controlled using the 3 and 4 keys.
24  * The update rate is controlled using the 0 and - keys.
25  
26  * EffecTV is free software. This library is free software;
27  * you can redistribute it and/or
28  * modify it under the terms of the GNU Library General Public
29  * License as published by the Free Software Foundation; either
30  * version 2 of the License, or (at your option) any later version.
31  *
32  * This library is distributed in the hope that it will be useful,
33  * but WITHOUT ANY WARRANTY; without even the implied warranty of
34  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
35  * Library General Public License for more details.
36  *
37  * You should have received a copy of the GNU Library General Public
38  * License along with this library; if not, write to the
39  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
40  * Boston, MA 02111-1307, USA.
41  */
42
43 #ifndef __GST_REV_H__
44 #define __GST_REV_H__
45
46 #include <gst/gst.h>
47
48 #include <gst/video/gstvideofilter.h>
49
50 G_BEGIN_DECLS
51
52 #define GST_TYPE_REVTV \
53   (gst_revtv_get_type())
54 #define GST_REVTV(obj) \
55   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_REVTV,GstRevTV))
56 #define GST_REVTV_CLASS(klass) \
57   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_REVTV,GstRevTVClass))
58 #define GST_IS_REVTV(obj) \
59   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_REVTV))
60 #define GST_IS_REVTV_CLASS(klass) \
61   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_REVTV))
62
63 typedef struct _GstRevTV GstRevTV;
64 typedef struct _GstRevTVClass GstRevTVClass;
65
66 struct _GstRevTV
67 {
68   GstVideoFilter videofilter;
69
70   /* < private > */
71
72   gint width, height;
73   gint vgrabtime;
74   gint vgrab;
75   gint linespace;
76   gint vscale;
77 };
78
79 struct _GstRevTVClass
80 {
81   GstVideoFilterClass parent_class;
82 };
83
84 GType gst_revtv_get_type (void);
85
86 G_END_DECLS
87
88 #endif /* __GST_REV_H__ */