2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
3 * Copyright (C) <2003> David Schleef <ds@schleef.org>
4 * Copyright (C) <2009> Sebastian Dröge <sebastian.droege@collabora.co.uk>
6 * EffecTV - Realtime Digital Video Effector
7 * Copyright (C) 2001-2002 FUKUCHI Kentarou
9 * AgingTV - film-aging effect.
11 * This library is free software; 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., 59 Temple Place - Suite 330,
24 * Boston, MA 02111-1307, USA.
27 #ifndef __GST_AGING_H__
28 #define __GST_AGING_H__
32 #include <gst/video/video.h>
33 #include <gst/video/gstvideofilter.h>
37 #define GST_TYPE_AGINGTV \
38 (gst_agingtv_get_type())
39 #define GST_AGINGTV(obj) \
40 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AGINGTV,GstAgingTV))
41 #define GST_AGINGTV_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AGINGTV,GstAgingTVClass))
43 #define GST_IS_AGINGTV(obj) \
44 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AGINGTV))
45 #define GST_IS_AGINGTV_CLASS(klass) \
46 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AGINGTV))
48 typedef struct _scratch
55 #define SCRATCH_MAX 20
57 typedef struct _GstAgingTV GstAgingTV;
58 typedef struct _GstAgingTVClass GstAgingTVClass;
62 GstVideoFilter videofilter;
71 gint coloraging_state;
73 scratch scratches[SCRATCH_MAX];
81 struct _GstAgingTVClass
83 GstVideoFilterClass parent_class;
86 GType gst_agingtv_get_type (void);
90 #endif /* __GST_AGING_H__ */