1 /* GStreamer
2 * Copyright (C) <2010> Thiago Santos <thiago.sousa.santos@collabora.co.uk>
3 *
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.
8 *
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.
13 *
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.
18 */
19
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
23
24 #include "gstcircle.h"
25 #include "gstdiffuse.h"
26 #include "gstkaleidoscope.h"
27 #include "gstmarble.h"
28 #include "gstpinch.h"
29 #include "gstrotate.h"
30 #include "gstsphere.h"
31 #include "gsttwirl.h"
32 #include "gstwaterripple.h"
33 #include "gststretch.h"
34 #include "gstbulge.h"
35 #include "gsttunnel.h"
36 #include "gstsquare.h"
37 #include "gstmirror.h"
38 #include "gstfisheye.h"
39 #include "gstperspective.h"
40
41 static gboolean
plugin_init(GstPlugin * plugin)42 plugin_init (GstPlugin * plugin)
43 {
44 if (!gst_circle_plugin_init (plugin))
45 return FALSE;
46
47 if (!gst_diffuse_plugin_init (plugin))
48 return FALSE;
49
50 if (!gst_kaleidoscope_plugin_init (plugin))
51 return FALSE;
52
53 if (!gst_marble_plugin_init (plugin))
54 return FALSE;
55
56 if (!gst_pinch_plugin_init (plugin))
57 return FALSE;
58
59 if (!gst_rotate_plugin_init (plugin))
60 return FALSE;
61
62 if (!gst_sphere_plugin_init (plugin))
63 return FALSE;
64
65 if (!gst_twirl_plugin_init (plugin))
66 return FALSE;
67
68 if (!gst_water_ripple_plugin_init (plugin))
69 return FALSE;
70
71 if (!gst_stretch_plugin_init (plugin))
72 return FALSE;
73
74 if (!gst_bulge_plugin_init (plugin))
75 return FALSE;
76
77 if (!gst_tunnel_plugin_init (plugin))
78 return FALSE;
79
80 if (!gst_square_plugin_init (plugin))
81 return FALSE;
82
83 if (!gst_mirror_plugin_init (plugin))
84 return FALSE;
85
86 if (!gst_fisheye_plugin_init (plugin))
87 return FALSE;
88
89 if (!gst_perspective_plugin_init (plugin))
90 return FALSE;
91
92 return TRUE;
93 }
94
95 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
96 GST_VERSION_MINOR,
97 geometrictransform,
98 "Various geometric image transform elements",
99 plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
100