diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-16 20:13:35 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-16 20:13:35 +0200 |
commit | 414d0548e2fa024834ec63001f57fb65f6cc693f (patch) | |
tree | 2d256dbc46bc668b9097d8ad39a0ab59cab31181 /gst/effectv/gstwarp.c | |
parent | 44a822b29f1d901110f383eccd293a1eb9e6dd41 (diff) |
effectv: Move type definitions into separate headers
This is needed for the docs later.
Diffstat (limited to 'gst/effectv/gstwarp.c')
-rw-r--r-- | gst/effectv/gstwarp.c | 34 |
1 files changed, 1 insertions, 33 deletions
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 <string.h> #include <math.h> -#include <gst/gst.h> +#include "gstwarp.h" #include <gst/video/video.h> -#include <gst/video/gstvideofilter.h> #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); |