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/gstquark.c | 34 ++-------------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) (limited to 'gst/effectv/gstquark.c') diff --git a/gst/effectv/gstquark.c b/gst/effectv/gstquark.c index 0f145d86..afd629bd 100644 --- a/gst/effectv/gstquark.c +++ b/gst/effectv/gstquark.c @@ -28,47 +28,17 @@ #include "config.h" #endif -#include - #include #include -#include +#include "gstquark.h" -#define GST_TYPE_QUARKTV \ - (gst_quarktv_get_type()) -#define GST_QUARKTV(obj) \ - (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_QUARKTV,GstQuarkTV)) -#define GST_QUARKTV_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_QUARKTV,GstQuarkTVClass)) -#define GST_IS_QUARKTV(obj) \ - (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_QUARKTV)) -#define GST_IS_QUARKTV_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_QUARKTV)) +#include /* number of frames of time-buffer. It should be as a configurable paramater */ /* This number also must be 2^n just for the speed. */ #define PLANES 16 -typedef struct _GstQuarkTV GstQuarkTV; -typedef struct _GstQuarkTVClass GstQuarkTVClass; - -struct _GstQuarkTV -{ - GstVideoFilter element; - - gint width, height; - gint area; - gint planes; - gint current_plane; - GstBuffer **planetable; -}; - -struct _GstQuarkTVClass -{ - GstVideoFilterClass parent_class; -}; - enum { PROP_0, -- cgit