aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDjordje Senicic2016-02-26 19:19:28 -0600
committerDjordje Senicic2016-02-26 19:19:28 -0600
commit7808287706054e287a113fe3291741758454fabd (patch)
treec9fb1fd6602eda0d223d4de7206b2f8da19282a7 /src/gstdsp66.c
parent248b53bb1314128c62859375bf7fbda678bf7c85 (diff)
downloadgst-plugin-dsp66-7808287706054e287a113fe3291741758454fabd.tar.gz
gst-plugin-dsp66-7808287706054e287a113fe3291741758454fabd.tar.xz
gst-plugin-dsp66-7808287706054e287a113fe3291741758454fabd.zip
GST plugin skeleton files added. Actual OpenCL kernel implementation still missing
Diffstat (limited to 'src/gstdsp66.c')
-rw-r--r--src/gstdsp66.c47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/gstdsp66.c b/src/gstdsp66.c
new file mode 100644
index 0000000..0048fe2
--- /dev/null
+++ b/src/gstdsp66.c
@@ -0,0 +1,47 @@
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 */
19
20#ifdef HAVE_CONFIG_H
21# include <config.h>
22#endif
23
24#include "gstdsp66.h"
25#include "gstdsp66videokernel.h"
26
27GST_DEBUG_CATEGORY (gst_dsp66_debug);
28
29static gboolean
30plugin_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}
35
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
44
45GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, dsp66 ,
46 "DSP66 accelerated filters",
47 plugin_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")