mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
videoconvert: Use G_DECLARE_FINAL_TYPE
This commit is contained in:
parent
7a36730fb4
commit
f57be9dcc3
2 changed files with 4 additions and 16 deletions
|
@ -52,8 +52,6 @@ GST_DEBUG_CATEGORY (videoconvert_debug);
|
|||
#define GST_CAT_DEFAULT videoconvert_debug
|
||||
GST_DEBUG_CATEGORY_STATIC (CAT_PERFORMANCE);
|
||||
|
||||
GType gst_video_convert_get_type (void);
|
||||
|
||||
static GQuark _colorspace_quark;
|
||||
|
||||
#define gst_video_convert_parent_class parent_class
|
||||
|
|
|
@ -28,15 +28,10 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_TYPE_VIDEO_CONVERT (gst_video_convert_get_type())
|
||||
#define GST_VIDEO_CONVERT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_CONVERT,GstVideoConvert))
|
||||
#define GST_VIDEO_CONVERT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEO_CONVERT,GstVideoConvertClass))
|
||||
#define GST_IS_VIDEO_CONVERT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_CONVERT))
|
||||
#define GST_IS_VIDEO_CONVERT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_CONVERT))
|
||||
#define GST_VIDEO_CONVERT_CAST(obj) ((GstVideoConvert *)(obj))
|
||||
|
||||
typedef struct _GstVideoConvert GstVideoConvert;
|
||||
typedef struct _GstVideoConvertClass GstVideoConvertClass;
|
||||
#define GST_TYPE_VIDEO_CONVERT (gst_video_convert_get_type())
|
||||
#define GST_VIDEO_CONVERT_CAST(obj) ((GstVideoConvert *)(obj))
|
||||
G_DECLARE_FINAL_TYPE (GstVideoConvert, gst_video_convert, GST, VIDEO_CONVERT,
|
||||
GstVideoFilter)
|
||||
|
||||
/**
|
||||
* GstVideoConvert:
|
||||
|
@ -59,11 +54,6 @@ struct _GstVideoConvert {
|
|||
gint n_threads;
|
||||
};
|
||||
|
||||
struct _GstVideoConvertClass
|
||||
{
|
||||
GstVideoFilterClass parent_class;
|
||||
};
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_VIDEOCONVERT_H__ */
|
||||
|
|
Loading…
Reference in a new issue