From b8218226914cbbd4e5c66187ffc0bbb305e92dc5 Mon Sep 17 00:00:00 2001 From: Jeremy Simon Date: Tue, 9 Jul 2002 19:21:29 +0000 Subject: xsharpen video filter from Virtualdub Original commit message from CVS: xsharpen video filter from Virtualdub --- gst/virtualdub/gstvirtualdub.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 gst/virtualdub/gstvirtualdub.h (limited to 'gst/virtualdub/gstvirtualdub.h') diff --git a/gst/virtualdub/gstvirtualdub.h b/gst/virtualdub/gstvirtualdub.h new file mode 100644 index 00000000..e441e1b4 --- /dev/null +++ b/gst/virtualdub/gstvirtualdub.h @@ -0,0 +1,38 @@ +/* GStreamer + * Copyright (C) <1999> Erik Walthinsen + * + * Filter: + * Copyright (C) 2000 Donald A. Graft + * + * EffecTV is free software. We release this product under the terms of the + * GNU General Public License version 2. The license is included in the file + * COPYING. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + */ + +#include + +typedef unsigned int Pixel; +typedef unsigned int Pixel32; +typedef unsigned char Pixel8; +typedef int PixCoord; +typedef int PixDim; +typedef int PixOffset; + + +#define R_MASK (0x00ff0000) +#define G_MASK (0x0000ff00) +#define B_MASK (0x000000ff) +#define R_SHIFT (16) +#define G_SHIFT (8) +#define B_SHIFT (0) + + +GType gst_xsharpen_get_type (void); +extern GstElementDetails gst_xsharpen_details; + +extern GstPadTemplate *gst_virtualdub_sink_factory (); +extern GstPadTemplate *gst_virtualdub_src_factory (); -- cgit v1.2.1