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., 51 Franklin St, Fifth Floor, 40 * Boston, MA 02110-1301, USA. 41 */ 42 43 #ifndef __GST_REV_H__ 44 #define __GST_REV_H__ 45 46 #include <gst/gst.h> 47 48 #include <gst/video/video.h> 49 #include <gst/video/gstvideofilter.h> 50 51 G_BEGIN_DECLS 52 53 #define GST_TYPE_REVTV \ 54 (gst_revtv_get_type()) 55 #define GST_REVTV(obj) \ 56 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_REVTV,GstRevTV)) 57 #define GST_REVTV_CLASS(klass) \ 58 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_REVTV,GstRevTVClass)) 59 #define GST_IS_REVTV(obj) \ 60 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_REVTV)) 61 #define GST_IS_REVTV_CLASS(klass) \ 62 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_REVTV)) 63 64 typedef struct _GstRevTV GstRevTV; 65 typedef struct _GstRevTVClass GstRevTVClass; 66 67 struct _GstRevTV 68 { 69 GstVideoFilter videofilter; 70 71 /* < private > */ 72 gint vgrabtime; 73 gint vgrab; 74 gint linespace; 75 gint vscale; 76 }; 77 78 struct _GstRevTVClass 79 { 80 GstVideoFilterClass parent_class; 81 }; 82 83 GType gst_revtv_get_type (void); 84 85 G_END_DECLS 86 87 #endif /* __GST_REV_H__ */ 88