]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/gst-plugin-dsp66.git/blob - src/gstdsp66.c
GST plugin skeleton files added. Actual OpenCL kernel implementation still missing
[processor-sdk/gst-plugin-dsp66.git] / src / gstdsp66.c
1 /*
2  * GStreamer
3  * Copyright (c) 2010, Texas Instruments Incorporated
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation
8  * version 2.1 of the License.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
18  */
20 #ifdef HAVE_CONFIG_H
21 #  include <config.h>
22 #endif
24 #include "gstdsp66.h"
25 #include "gstdsp66videokernel.h"
27 GST_DEBUG_CATEGORY (gst_dsp66_debug);
29 static gboolean
30 plugin_init (GstPlugin * plugin)
31 {
32   GST_DEBUG_CATEGORY_INIT (gst_dsp66_debug, "dsp66", 0, "dsp66");
33   return (gst_element_register (plugin, "dsp66videokernel", GST_RANK_NONE, GST_TYPE_DSP66_VIDEO_KERNEL));
34 }
36 /* PACKAGE: this is usually set by autotools depending on some _INIT macro
37  * in configure.ac and then written into and defined in config.h, but we can
38  * just set it ourselves here in case someone doesn't use autotools to
39  * compile this code. GST_PLUGIN_DEFINE needs PACKAGE to be defined.
40  */
41 #ifndef PACKAGE
42 #  define PACKAGE "dsp66"
43 #endif
45 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, dsp66 ,
46     "DSP66 accelerated filters",
47     plugin_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")