mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 13:32:29 +00:00
gst-libs/gst/video/gstvideofilter.*: borgify name to bring in line with other classes
Original commit message from CVS: * gst-libs/gst/video/gstvideofilter.c: (gst_video_filter_get_type), (gst_video_filter_class_init), (gst_video_filter_init): * gst-libs/gst/video/gstvideofilter.h: borgify name to bring in line with other classes
This commit is contained in:
parent
8be52e0b73
commit
d50aed7960
4 changed files with 53 additions and 40 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst-libs/gst/video/gstvideofilter.c: (gst_video_filter_get_type),
|
||||
(gst_video_filter_class_init), (gst_video_filter_init):
|
||||
* gst-libs/gst/video/gstvideofilter.h:
|
||||
borgify name to bring in line with other classes
|
||||
|
||||
2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/audioscale/.cvsignore:
|
||||
|
|
|
@ -47,12 +47,18 @@ interface for elements that provide mixer operations
|
|||
|
||||
</para>
|
||||
|
||||
@parent:
|
||||
@values:
|
||||
@_gst_reserved:
|
||||
|
||||
<!-- ##### STRUCT GstMixerTrack ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@parent:
|
||||
@label:
|
||||
@flags:
|
||||
|
||||
<!-- ##### FUNCTION gst_mixer_list_tracks ##### -->
|
||||
<para>
|
||||
|
|
|
@ -24,63 +24,63 @@
|
|||
|
||||
#include "gstvideofilter.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_videofilter_debug);
|
||||
#define GST_CAT_DEFAULT gst_videofilter_debug
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_video_filter_debug);
|
||||
#define GST_CAT_DEFAULT gst_video_filter_debug
|
||||
|
||||
static void gst_videofilter_class_init (gpointer g_class, gpointer class_data);
|
||||
static void gst_videofilter_init (GTypeInstance * instance, gpointer g_class);
|
||||
static void gst_video_filter_class_init (gpointer g_class, gpointer class_data);
|
||||
static void gst_video_filter_init (GTypeInstance * instance, gpointer g_class);
|
||||
|
||||
static GstBaseTransformClass *parent_class = NULL;
|
||||
|
||||
GType
|
||||
gst_videofilter_get_type (void)
|
||||
gst_video_filter_get_type (void)
|
||||
{
|
||||
static GType videofilter_type = 0;
|
||||
static GType video_filter_type = 0;
|
||||
|
||||
if (!videofilter_type) {
|
||||
static const GTypeInfo videofilter_info = {
|
||||
sizeof (GstVideofilterClass),
|
||||
if (!video_filter_type) {
|
||||
static const GTypeInfo video_filter_info = {
|
||||
sizeof (GstVideoFilterClass),
|
||||
NULL,
|
||||
NULL,
|
||||
gst_videofilter_class_init,
|
||||
gst_video_filter_class_init,
|
||||
NULL,
|
||||
NULL,
|
||||
sizeof (GstVideofilter),
|
||||
sizeof (GstVideoFilter),
|
||||
0,
|
||||
gst_videofilter_init,
|
||||
gst_video_filter_init,
|
||||
};
|
||||
|
||||
videofilter_type = g_type_register_static (GST_TYPE_BASE_TRANSFORM,
|
||||
"GstVideofilter", &videofilter_info, G_TYPE_FLAG_ABSTRACT);
|
||||
video_filter_type = g_type_register_static (GST_TYPE_BASE_TRANSFORM,
|
||||
"GstVideoFilter", &video_filter_info, G_TYPE_FLAG_ABSTRACT);
|
||||
}
|
||||
return videofilter_type;
|
||||
return video_filter_type;
|
||||
}
|
||||
|
||||
static void
|
||||
gst_videofilter_class_init (gpointer g_class, gpointer class_data)
|
||||
gst_video_filter_class_init (gpointer g_class, gpointer class_data)
|
||||
{
|
||||
GObjectClass *gobject_class;
|
||||
GstElementClass *gstelement_class;
|
||||
GstBaseTransformClass *trans_class;
|
||||
GstVideofilterClass *klass;
|
||||
GstVideoFilterClass *klass;
|
||||
|
||||
klass = (GstVideofilterClass *) g_class;
|
||||
klass = (GstVideoFilterClass *) g_class;
|
||||
gobject_class = (GObjectClass *) klass;
|
||||
gstelement_class = (GstElementClass *) klass;
|
||||
trans_class = (GstBaseTransformClass *) klass;
|
||||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (gst_videofilter_debug, "videofilter", 0,
|
||||
GST_DEBUG_CATEGORY_INIT (gst_video_filter_debug, "videofilter", 0,
|
||||
"videofilter");
|
||||
}
|
||||
|
||||
static void
|
||||
gst_videofilter_init (GTypeInstance * instance, gpointer g_class)
|
||||
gst_video_filter_init (GTypeInstance * instance, gpointer g_class)
|
||||
{
|
||||
GstVideofilter *videofilter = GST_VIDEOFILTER (instance);
|
||||
GstVideoFilter *videofilter = GST_VIDEO_FILTER (instance);
|
||||
|
||||
GST_DEBUG_OBJECT (videofilter, "gst_videofilter_init");
|
||||
GST_DEBUG_OBJECT (videofilter, "gst_video_filter_init");
|
||||
|
||||
videofilter->inited = FALSE;
|
||||
}
|
||||
|
|
|
@ -18,39 +18,39 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifndef __GST_VIDEOFILTER_H__
|
||||
#define __GST_VIDEOFILTER_H__
|
||||
#ifndef __GST_VIDEO_FILTER_H__
|
||||
#define __GST_VIDEO_FILTER_H__
|
||||
|
||||
#include <gst/base/gstbasetransform.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstVideofilter GstVideofilter;
|
||||
typedef struct _GstVideofilterClass GstVideofilterClass;
|
||||
typedef struct _GstVideoFilter GstVideoFilter;
|
||||
typedef struct _GstVideoFilterClass GstVideoFilterClass;
|
||||
|
||||
#define GST_TYPE_VIDEOFILTER \
|
||||
(gst_videofilter_get_type())
|
||||
#define GST_VIDEOFILTER(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEOFILTER,GstVideofilter))
|
||||
#define GST_VIDEOFILTER_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEOFILTER,GstVideofilterClass))
|
||||
#define GST_IS_VIDEOFILTER(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEOFILTER))
|
||||
#define GST_IS_VIDEOFILTER_CLASS(obj) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEOFILTER))
|
||||
#define GST_TYPE_VIDEO_FILTER \
|
||||
(gst_video_filter_get_type())
|
||||
#define GST_VIDEO_FILTER(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_FILTER,GstVideoFilter))
|
||||
#define GST_VIDEO_FILTER_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEO_FILTER,GstVideoFilterClass))
|
||||
#define GST_IS_VIDEO_FILTER(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_FILTER))
|
||||
#define GST_IS_VIDEO_FILTER_CLASS(obj) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_FILTER))
|
||||
|
||||
struct _GstVideofilter {
|
||||
struct _GstVideoFilter {
|
||||
GstBaseTransform element;
|
||||
|
||||
gboolean inited;
|
||||
};
|
||||
|
||||
struct _GstVideofilterClass {
|
||||
struct _GstVideoFilterClass {
|
||||
GstBaseTransformClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_videofilter_get_type(void);
|
||||
GType gst_video_filter_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_VIDEOFILTER_H__ */
|
||||
#endif /* __GST_VIDEO_FILTER_H__ */
|
||||
|
|
Loading…
Reference in a new issue