|
Packit |
1f69a5 |
/* GStreamer
|
|
Packit |
1f69a5 |
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
|
Packit |
1f69a5 |
* Copyright (C) <2009> Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
|
Packit |
1f69a5 |
*
|
|
Packit |
1f69a5 |
* EffecTV:
|
|
Packit |
1f69a5 |
* Copyright (C) 2001-2002 FUKUCHI Kentarou
|
|
Packit |
1f69a5 |
*
|
|
Packit |
1f69a5 |
* EdgeTV - detects edge and display it in good old computer way
|
|
Packit |
1f69a5 |
*
|
|
Packit |
1f69a5 |
* EffecTV is free software. This library is free software;
|
|
Packit |
1f69a5 |
* you can redistribute it and/or
|
|
Packit |
1f69a5 |
* modify it under the terms of the GNU Library General Public
|
|
Packit |
1f69a5 |
* License as published by the Free Software Foundation; either
|
|
Packit |
1f69a5 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
1f69a5 |
*
|
|
Packit |
1f69a5 |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
1f69a5 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
1f69a5 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
1f69a5 |
* Library General Public License for more details.
|
|
Packit |
1f69a5 |
*
|
|
Packit |
1f69a5 |
* You should have received a copy of the GNU Library General Public
|
|
Packit |
1f69a5 |
* License along with this library; if not, write to the
|
|
Packit |
1f69a5 |
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
Packit |
1f69a5 |
* Boston, MA 02110-1301, USA.
|
|
Packit |
1f69a5 |
*/
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
#ifndef __GST_EDGE_H__
|
|
Packit |
1f69a5 |
#define __GST_EDGE_H__
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
#include <gst/gst.h>
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
#include <gst/video/video.h>
|
|
Packit |
1f69a5 |
#include <gst/video/gstvideofilter.h>
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
G_BEGIN_DECLS
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
#define GST_TYPE_EDGETV \
|
|
Packit |
1f69a5 |
(gst_edgetv_get_type())
|
|
Packit |
1f69a5 |
#define GST_EDGETV(obj) \
|
|
Packit |
1f69a5 |
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EDGETV,GstEdgeTV))
|
|
Packit |
1f69a5 |
#define GST_EDGETV_CLASS(klass) \
|
|
Packit |
1f69a5 |
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EDGETV,GstEdgeTVClass))
|
|
Packit |
1f69a5 |
#define GST_IS_EDGETV(obj) \
|
|
Packit |
1f69a5 |
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EDGETV))
|
|
Packit |
1f69a5 |
#define GST_IS_EDGETV_CLASS(klass) \
|
|
Packit |
1f69a5 |
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EDGETV))
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
typedef struct _GstEdgeTV GstEdgeTV;
|
|
Packit |
1f69a5 |
typedef struct _GstEdgeTVClass GstEdgeTVClass;
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
struct _GstEdgeTV
|
|
Packit |
1f69a5 |
{
|
|
Packit |
1f69a5 |
GstVideoFilter videofilter;
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
/* < private > */
|
|
Packit |
1f69a5 |
gint map_width, map_height;
|
|
Packit |
1f69a5 |
guint32 *map;
|
|
Packit |
1f69a5 |
gint video_width_margin;
|
|
Packit |
1f69a5 |
};
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
struct _GstEdgeTVClass
|
|
Packit |
1f69a5 |
{
|
|
Packit |
1f69a5 |
GstVideoFilterClass parent_class;
|
|
Packit |
1f69a5 |
};
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
GType gst_edgetv_get_type (void);
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
G_END_DECLS
|
|
Packit |
1f69a5 |
|
|
Packit |
1f69a5 |
#endif /* __GST_EDGE_H__ */
|