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/gstquark.c | |
parent | 44a822b29f1d901110f383eccd293a1eb9e6dd41 (diff) |
effectv: Move type definitions into separate headers
This is needed for the docs later.
Diffstat (limited to 'gst/effectv/gstquark.c')
-rw-r--r-- | gst/effectv/gstquark.c | 34 |
1 files changed, 2 insertions, 32 deletions
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 <gst/video/gstvideofilter.h> - #include <math.h> #include <string.h> -#include <gst/video/video.h> +#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 <gst/video/video.h> /* 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, |