1 /* GStreamer Editing Services
2 * Copyright (C) 2010 Thibault Saunier <thibault.saunier@collabora.co.uk>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
23 #include <glib-object.h>
24 #include <ges/ges-types.h>
25 #include <ges/ges-base-effect.h>
28 #define GES_TYPE_EFFECT ges_effect_get_type()
30 #define GES_EFFECT(obj) \
31 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GES_TYPE_EFFECT, GESEffect))
33 #define GES_EFFECT_CLASS(klass) \
34 (G_TYPE_CHECK_CLASS_CAST ((klass), GES_TYPE_EFFECT, GESEffectClass))
36 #define GES_IS_EFFECT(obj) \
37 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GES_TYPE_EFFECT))
39 #define GES_IS_EFFECT_CLASS(klass) \
40 (G_TYPE_CHECK_CLASS_TYPE ((klass), GES_TYPE_EFFECT))
42 #define GES_EFFECT_GET_CLASS(obj) \
43 (G_TYPE_INSTANCE_GET_CLASS ((obj), GES_TYPE_EFFECT, GESEffectClass))
46 typedef struct _GESEffectPrivate GESEffectPrivate;
56 GESEffectPrivate *priv;
58 /* Padding for API extension */
59 gpointer _ges_reserved[GES_PADDING];
64 * @parent_class: parent class
67 struct _GESEffectClass
70 GESBaseEffectClass parent_class;
72 GList *rate_properties;
74 /* Padding for API extension */
75 gpointer _ges_reserved[GES_PADDING];
79 GType ges_effect_get_type (void);
82 ges_effect_new (const gchar * bin_description);
85 ges_effect_class_register_rate_property (GESEffectClass *klass, const gchar *element_name, const gchar *property_name);
88 #endif /* _GES_EFFECT */