mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
videoscale: Use G_DECLARE_FINAL_TYPE
This commit is contained in:
parent
761bb9b9ff
commit
1dd63e44b9
1 changed files with 4 additions and 20 deletions
|
@ -26,17 +26,10 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_TYPE_VIDEO_SCALE \
|
||||
(gst_video_scale_get_type())
|
||||
#define GST_VIDEO_SCALE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_SCALE,GstVideoScale))
|
||||
#define GST_VIDEO_SCALE_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEO_SCALE,GstVideoScaleClass))
|
||||
#define GST_IS_VIDEO_SCALE(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_SCALE))
|
||||
#define GST_IS_VIDEO_SCALE_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_SCALE))
|
||||
#define GST_TYPE_VIDEO_SCALE (gst_video_scale_get_type())
|
||||
#define GST_VIDEO_SCALE_CAST(obj) ((GstVideoScale *)(obj))
|
||||
G_DECLARE_FINAL_TYPE (GstVideoScale, gst_video_scale, GST, VIDEO_SCALE,
|
||||
GstVideoFilter)
|
||||
|
||||
|
||||
/**
|
||||
|
@ -68,9 +61,6 @@ typedef enum {
|
|||
GST_VIDEO_SCALE_MITCHELL
|
||||
} GstVideoScaleMethod;
|
||||
|
||||
typedef struct _GstVideoScale GstVideoScale;
|
||||
typedef struct _GstVideoScaleClass GstVideoScaleClass;
|
||||
|
||||
/**
|
||||
* GstVideoScale:
|
||||
*
|
||||
|
@ -96,12 +86,6 @@ struct _GstVideoScale {
|
|||
gint borders_w;
|
||||
};
|
||||
|
||||
struct _GstVideoScaleClass {
|
||||
GstVideoFilterClass parent_class;
|
||||
};
|
||||
|
||||
G_GNUC_INTERNAL GType gst_video_scale_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_VIDEO_SCALE_H__ */
|
||||
|
|
Loading…
Reference in a new issue