2009-04-15 13:51:24 +00:00
|
|
|
/*
|
2003-06-22 03:58:04 +00:00
|
|
|
* efence.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GST_EFENCE_H__
|
|
|
|
#define __GST_EFENCE_H__
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
2009-04-15 13:51:24 +00:00
|
|
|
G_BEGIN_DECLS
|
2003-06-22 03:58:04 +00:00
|
|
|
/* #define's don't like whitespacey bits */
|
|
|
|
#define GST_TYPE_EFENCE \
|
|
|
|
(gst_gst_efence_get_type())
|
|
|
|
#define GST_EFENCE(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_EFENCE,GstEFence))
|
|
|
|
#define GST_EFENCE_CLASS(klass) \
|
2006-06-01 21:07:26 +00:00
|
|
|
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_EFENCE,GstEFenceClass))
|
2003-06-22 03:58:04 +00:00
|
|
|
#define GST_IS_EFENCE(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_EFENCE))
|
2006-06-01 21:07:26 +00:00
|
|
|
#define GST_IS_EFENCE_CLASS(klass) \
|
2003-06-22 03:58:04 +00:00
|
|
|
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_EFENCE))
|
2009-04-15 13:51:24 +00:00
|
|
|
typedef struct _GstEFence GstEFence;
|
|
|
|
typedef struct _GstEFenceClass GstEFenceClass;
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2009-04-15 13:51:24 +00:00
|
|
|
struct _GstEFence
|
|
|
|
{
|
|
|
|
GstElement element;
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2009-04-15 13:51:24 +00:00
|
|
|
GstPad *sinkpad, *srcpad;
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2009-04-15 13:51:24 +00:00
|
|
|
gboolean fence_top;
|
|
|
|
};
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2009-04-15 13:51:24 +00:00
|
|
|
struct _GstEFenceClass
|
|
|
|
{
|
|
|
|
GstElementClass parent_class;
|
|
|
|
};
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2009-04-15 13:51:24 +00:00
|
|
|
GType gst_gst_efence_get_type (void);
|
2003-06-22 03:58:04 +00:00
|
|
|
|
2009-04-15 13:51:24 +00:00
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GST_EFENCE_H__ */
|