• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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   gboolean ret = FALSE;
45 
46   ret |= GST_ELEMENT_REGISTER (circle, plugin);
47   ret |= GST_ELEMENT_REGISTER (diffuse, plugin);
48   ret |= GST_ELEMENT_REGISTER (kaleidoscope, plugin);
49   ret |= GST_ELEMENT_REGISTER (marble, plugin);
50   ret |= GST_ELEMENT_REGISTER (pinch, plugin);
51   ret |= GST_ELEMENT_REGISTER (rotate, plugin);
52   ret |= GST_ELEMENT_REGISTER (sphere, plugin);
53   ret |= GST_ELEMENT_REGISTER (twirl, plugin);
54   ret |= GST_ELEMENT_REGISTER (waterripple, plugin);
55   ret |= GST_ELEMENT_REGISTER (stretch, plugin);
56   ret |= GST_ELEMENT_REGISTER (bulge, plugin);
57   ret |= GST_ELEMENT_REGISTER (tunnel, plugin);
58   ret |= GST_ELEMENT_REGISTER (square, plugin);
59   ret |= GST_ELEMENT_REGISTER (mirror, plugin);
60   ret |= GST_ELEMENT_REGISTER (fisheye, plugin);
61   ret |= GST_ELEMENT_REGISTER (perspective, plugin);
62 
63   return ret;
64 }
65 
66 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
67     GST_VERSION_MINOR,
68     geometrictransform,
69     "Various geometric image transform elements",
70     plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
71