2
* Copyright (C) 2008 Mark Nauwelaerts <mnauw@users.sourceforge.net>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program 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
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1307, USA.
23
#include "plugin-ad.h"
25
guint8 distMatrix[256][256];
33
for (x = 0; x < 256; x++)
34
for (y = 0; y < 256; y++)
35
distMatrix[x][y] = ABS (x - y);
37
for (x = 1; x < 16; x++) {
38
fixMul[x] = (1 << 16) / x;
42
struct _elements_entry
48
static struct _elements_entry _elements[] = {
49
{"soften", gst_soften_get_type},
50
{"stabilize", gst_stabilize_get_type},
55
plugin_init (GstPlugin * plugin)
62
while (_elements[i].name) {
63
if (!gst_element_register (plugin, _elements[i].name,
64
GST_RANK_NONE, (_elements[i].type) ()))
72
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
75
"filters from avidemux",
76
plugin_init, VERSION, "GPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);