From 414d0548e2fa024834ec63001f57fb65f6cc693f Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Tue, 16 Jun 2009 20:13:35 +0200 Subject: effectv: Move type definitions into separate headers This is needed for the docs later. --- gst/effectv/gstwarp.c | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'gst/effectv/gstwarp.c') diff --git a/gst/effectv/gstwarp.c b/gst/effectv/gstwarp.c index b8735371..3d694c46 100644 --- a/gst/effectv/gstwarp.c +++ b/gst/effectv/gstwarp.c @@ -40,46 +40,14 @@ #include #include -#include +#include "gstwarp.h" #include -#include #ifndef M_PI #define M_PI 3.14159265358979323846 #endif -#define GST_TYPE_WARPTV \ - (gst_warptv_get_type()) -#define GST_WARPTV(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_WARPTV,GstWarpTV)) -#define GST_WARPTV_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_WARPTV,GstWarpTVClass)) -#define GST_IS_WARPTV(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_WARPTV)) -#define GST_IS_WARPTV_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_WARPTV)) - -typedef struct _GstWarpTV GstWarpTV; -typedef struct _GstWarpTVClass GstWarpTVClass; - -struct _GstWarpTV -{ - GstVideoFilter videofilter; - - gint width, height; - gint *offstable; - gint32 *disttable; - gint32 ctable[1024]; - gint32 sintable[1024 + 256]; - gint tval; -}; - -struct _GstWarpTVClass -{ - GstVideoFilterClass parent_class; -}; - GST_BOILERPLATE (GstWarpTV, gst_warptv, GstVideoFilter, GST_TYPE_VIDEO_FILTER); static void initSinTable (GstWarpTV * filter); -- cgit